Unknown Bytecode Error
Istha Powron
Posts: 74
I posted this in the error codes topic, but I think no one noticed.
I have the error;
[noparse][[/noparse]Error IDE-0024] Unknown bytecode in the JEM file{wide}.
I have looked at the error code table which says that I should try not to do anything dodgy......which I try not to do anyway.
This occurs about half an hour after the software has been running happily. I have isolated the problem to this loop (i.e. if I remove everything else, the problem persists with the code below);
·// START - Main Program Loop
···· while (true)
········· {
//Clear string buffers
·····InBuffer.clear();
···· gpsBuffer.clear();
···· c = 0xff;
···· while (c != '\r' && rxIn.byteAvailable())
······· {
········· c = (char)rxIn.receiveByte();
········· InBuffer.append(c);
······· }
········· dispOut.sendString(InBuffer.toString());
········· System.out.println(InBuffer.toString());
}// End main loop
Any idea why this would run for about 9000 loops then die?
Any help greatly appreciated.
As well..has anyone written a NMEA parsing library??
Regards,
Istha
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The robot is going to lose. Not by much. But when the final score is tallied, flesh and blood will beat the damn monster.
Adam Smith
I have the error;
[noparse][[/noparse]Error IDE-0024] Unknown bytecode in the JEM file{wide}.
I have looked at the error code table which says that I should try not to do anything dodgy......which I try not to do anyway.
This occurs about half an hour after the software has been running happily. I have isolated the problem to this loop (i.e. if I remove everything else, the problem persists with the code below);
·// START - Main Program Loop
···· while (true)
········· {
//Clear string buffers
·····InBuffer.clear();
···· gpsBuffer.clear();
···· c = 0xff;
···· while (c != '\r' && rxIn.byteAvailable())
······· {
········· c = (char)rxIn.receiveByte();
········· InBuffer.append(c);
······· }
········· dispOut.sendString(InBuffer.toString());
········· System.out.println(InBuffer.toString());
}// End main loop
Any idea why this would run for about 9000 loops then die?
Any help greatly appreciated.
As well..has anyone written a NMEA parsing library??
Regards,
Istha
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The robot is going to lose. Not by much. But when the final score is tallied, flesh and blood will beat the damn monster.
Adam Smith
Comments
certain commands. You need to post the complete program
and the exact error message displayed, inclusive any numbers.
These numbers may reference a jemfile address.
With the complete code I can generate the jemfile and perhaps
find out what is causing the error.
regards peter
I think it had something to do with sending corrupted NMEA sentences to the IDE. I have put some caps accross the receive line and it seams to have fixed the problem for now.
Thanks,
I
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The robot is going to lose. Not by much. But when the final score is tallied, flesh and blood will beat the damn monster.
Adam Smith
__________________
Watch Kick-*** Online Free