posted 21 years ago
Hi All,
I'm learning J2ME, and am absolutely loving it!!
I ran into a problem with a sample application I'm working on... I cannot seem to get the MIDlet to run. I keep receiving a NullPointerException. This is the code I'm using:
And the error I receive is this:
startApp threw an Exception
java.lang.NullPointerException
java.lang.NullPointerException
at InteractiveGauge.NonInteractiveGauge.startApp(+8)
at javax.microedition.midlet.MIDletProxy.startApp(+7)
at com.sun.midp.midlet.Scheduler.schedule(+225)
at com.sun.midp.dev.DevMIDletSuiteImpl.schedule(+7)
at com.sun.midp.Main.runLocalClass(+20)
at com.sun.midp.Main.main(+68)
Any help would be greatly appreciated... The book's code is IDENTICAL, so I can't figure out what it is that I'm missing...
I'm running it using WTK2.0...
Thanks!
Frank