How can I use the numbers in the stacktrace? What do these mean?
In eclipse I get often exceptions, for example a NullPointerException:
java.lang.NullPointerException
at com.sun.midp.lcdui.DefaultEventHandler.commandEvent(+68)
at com.sun.midp.lcdui.AutomatedEventHandler.commandEvent(+47)
at com.sun.midp.lcdui.DefaultEventHandler$QueuedEventHandler.handleVmEvent(+186)
Those are the offsets of the instruction that caused the exception from the beginning of the method.
The instruction at offset 68 in the method
com.sun.midp.lcdui.DefaultEventHandler.commandEventis causing the actual exception by accessing a null reference.The instruction at offset 47 in the method
com.sun.midp.lcdui.AutomatedEventHandler.commandEventis a call instruction that runs thecom.sun.midp.lcdui.DefaultEventHandler.commandEventmethod.The instruction at offset 186 in the method
com.sun.midp.lcdui.DefaultEventHandler$QueuedEventHandler.handleVmEventis a call instruction that runs thecom.sun.midp.lcdui.AutomatedEventHandler.commandEventmethod.