File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
I agree. Here's the link:
subject: URGENT: MIDlet Not Running, NullPointerException!!
It's not a secret anymore!