Issue 4: JAD file parsing problem MIDlet-X: ....
Status:  Duplicate
Merged:  issue 66
Owner:
Closed:  Sep 2010
Project Member Reported by bar...@gmail.com, Nov 18, 2009
Hi,

If you have this in your MIDlet:

MIDlet-1: ContactlessConnectionTestMIDlet,,ds.contactless.javame.tests
.ContactlessConnectionTestMIDlet

(it is wrapped on 72 chars)

this doesn't work if you try to open this JAD file with the emulator
(NullPointerException)


error Message: Error starting MIDlet: Unable to create MIDlet,
java.lang.NullPointerException java.lang.NullPointerException
org.microemu.app.Common.startMidlet(Common.java:417)
java.lang.NullPointerException
at org.microemu.app.Common.startMidlet(Common.java:410)
at org.microemu.app.Common.initMIDlet(Common.java:1039)
at org.microemu.app.Headless.main(Headless.java:120)
at org.microemu.app.Main.main(Main.java:1021)
destroyMIDletContext
org.microemu.app.Common.destroyMIDletContext(Common.java:187)

The problem seems to be located in:
microemu-javase/src/main/java/org/microemu/util/JadProperties.java in the
method "public Vector getMidletEntries()" as it doesn't deal with reading
the Class Name split over multiple lines.
Sep 17, 2010
Project Member #1 bar...@gmail.com
(No comment was entered for this change.)
Status: Duplicate
Mergedinto: 66