为什么编译可以通过,但运行出现了异常?
我的一个J2ME 程序,编译可以通过,但是运行出现了异常,
异常显示为:
startApp threw an Exception
java.lang.NullPointerException
java.lang.NullPointerException
at HenWayCanvas.start(+123)
at HenWayMIDlet.startApp(+58)
at javax.microedition.midlet.MIDletProxy.startApp(+7)
at com.sun.midp.midlet.Scheduler.schedule(+270)
at com.sun.midp.main.Main.runLocalClass(+28)
at com.sun.midp.main.Main.main(+116)
请问这是什么问题,我检查了很久,实在查不出错误了,
请各位高手帮帮我吧,
求求各位了,可怜可怜我吧,
异常显示为:
startApp threw an Exception
java.lang.NullPointerException
java.lang.NullPointerException
at HenWayCanvas.start(+123)
at HenWayMIDlet.startApp(+58)
at javax.microedition.midlet.MIDletProxy.startApp(+7)
at com.sun.midp.midlet.Scheduler.schedule(+270)
at com.sun.midp.main.Main.runLocalClass(+28)
at com.sun.midp.main.Main.main(+116)
请问这是什么问题,我检查了很久,实在查不出错误了,
请各位高手帮帮我吧,
求求各位了,可怜可怜我吧,