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.
java.lang.NullPointerException
at com.sun.midp.lcdui.DefaultEventHandler.commandEvent(+68)
The instruction at offset 68 in the method com.sun.midp.lcdui.DefaultEventHandler.commandEvent
is causing the actual exception by accessing a null reference.
at com.sun.midp.lcdui.AutomatedEventHandler.commandEvent(+47)
The instruction at offset 47 in the method com.sun.midp.lcdui.AutomatedEventHandler.commandEvent
is a call instruction that runs the com.sun.midp.lcdui.DefaultEventHandler.commandEvent
method.
at com.sun.midp.lcdui.DefaultEventHandler$QueuedEventHandler.handleVmEvent(+186)
The instruction at offset 186 in the method com.sun.midp.lcdui.DefaultEventHandler$QueuedEventHandler.handleVmEvent
is a call instruction that runs the com.sun.midp.lcdui.AutomatedEventHandler.commandEvent
method.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With