Shop OBEX P1 Docs P2 Docs Learn Events
What does Unknown unhandled exception in JVM (%d). mean? — Parallax Forums

What does Unknown unhandled exception in JVM (%d). mean?

atekippeatekippe Posts: 15
edited 2004-11-17 17:20 in General Discussion
Could anyone tell me what the following error is telling me?

Unknown unhandled exception in JVM (%d).

I get this when running a loop for an extended period of time.· (on the order of 5 min)

Thanks

atekippe



!
code
·static void readMessage() {
· index=0; //start new message

· while (true) {
··· while (!rxUart.byteAvailable()) ; //wait for input

····· buffer[noparse][[/noparse]index++] = (char)(c = rxUart.receiveByte());
····· q=buffer[noparse][[/noparse]index];
····· if ((q> 45) && (q<58)){
····· finalbuffer.append(q);
····· }
···· // System.out.println(q);
····· if ((c == '\n') || (index>=100)) return;
····· }
· }

·public static void main(){
· index2=0;
· int e;
· String f;
· while (count < 100)··· {
·· counter=0;
·· txUart.sendString("PH? \r\n");················ // peak thickness
·· readMessage();
···· String s = finalbuffer.toString();
···· System.out.println(s);
···· finalbuffer.clear();


·
Sign In or Register to comment.