This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
I agree. Here's the link:
subject: URGENT: MIDlet Not Running, NullPointerException!!
Similar Threads
Icon Problem
Command is not showing in to the list on pressing menu button on the device
Not able to Receive sms messages in my emulator over port 50000 but able to send
Problems using bouncycastle and proguard
Puzzled by the behaviour