my dog learned polymorphism*
The moose likes Java Micro Edition and the fly likes URGENT: MIDlet Not Running, NullPointerException!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "URGENT: MIDlet Not Running, NullPointerException!!" Watch "URGENT: MIDlet Not Running, NullPointerException!!" New topic

URGENT: MIDlet Not Running, NullPointerException!!

Andrio Nickolson

Joined: Jun 10, 2002
Posts: 5
I am using J2MEWDK from Sun and using default MIDP1.0 specification. I have build and executed most examples, and also designed the basic MIDP for displaying text on to it.
But right now when i designed a MIDlet that has a Main List Menu containing two Items that are also List Menu, lastly project builded, but giving exception while running!
Could not create icon Info:[ MyMIDlet, class = MyMIDlet, icon = MyMIDlet.pngUnable to create MIDlet MyMIDlet
at MyMIDlet.<init>(+287)
at com.sun.midp.midlet.Selector.commandAction(+42)
at javax.microedition.lcdui.List.keyPressed(+39)
at javax.microedition.lcdui.Display$DisplayAccessor.keyEvent(+68)
at com.sun.kvem.midp.lcdui.EmulEventHandler$
There are only 183 lines in my file!
Can any one help me why this NullPointerException raises when there is all right, and also what can go wrong in this case!!
Thanks in advance!

Andrio Nickolson
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: URGENT: MIDlet Not Running, NullPointerException!!
Similar Threads
Not able to Receive sms messages in my emulator over port 50000 but able to send
Puzzled by the behaviour
Icon Problem
Problems using bouncycastle and proguard
Command is not showing in to the list on pressing menu button on the device