Re: I found a bad error: queue overflow, no 281 lenth = 2b8c, can you help me?
- From: Philipp Leitner <philipp.leitner@xxxxxx>
- Date: Sat, 27 May 2006 11:30:21 +0200
Since StreamQueue does not seem to be part of the standard Java libs you should tell us what library this class refers to.
But if I was you I would look at what the maximum size of this queue is, and how you could increase it, since it definitely looks like your queue is simply overflowing :-)
/philipp
greatwall schrieb:
Develop envioronment: jbuilder 2006.
recently I did a producor and cosumer program, the producor produce
msgItem and the consumer consume the msgItem. But when I run the
program, I found the following error, can somebody help me?
code segments:
public void run() {
Timer timer = new Timer();
timer.schedule(new TimerTask() {
public void run() {
if (getReadyFlag()) {
//can read data
StreamQueue.AppendMessage(new
ByteQueueItem(getStreamBytes()));
setReadyFlag();
}
}
}, 10, 1);
// throw new java.lang.UnsupportedOperationException(
// "Method run() not yet implemented.");
}
error when running:
queue overflow, no 281 lenth = 2b8c
queue overflow, no 284 lenth = 26fc
queue overflow, no 291 lenth = 2e24
queue overflow, no 294 lenth = 2d48
queue overflow, no 297 lenth = 2b38
queue overflow, no 300 lenth = 2690
queue overflow, no 303 lenth = 26a4
queue overflow, no 306 lenth = 28a4
queue overflow, no 316 lenth = 2570
queue overflow, no 319 lenth = 147c
queue overflow, no 325 lenth = 2544
queue overflow, no 328 lenth = 27a4
queue overflow, no 331 lenth = 1548
Do somebody know how this error happen???
- Follow-Ups:
- References:
- Prev by Date: Re: Asking Windows Specific Questions
- Next by Date: Exception in thread "main"
- Previous by thread: I found a bad error: queue overflow, no 281 lenth = 2b8c, can you help me?
- Next by thread: Re: I found a bad error: queue overflow, no 281 lenth = 2b8c, can you help me?
- Index(es):