What does Unknown unhandled exception in JVM (%d). mean?
atekippe
Posts: 15
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();
·
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();
·