| Issue 29: | NullPointerException in MicroEmu caused by DB Railnavigator MIDlet | |
| 2 people starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem? 1. Configure MicroEmulator as a "resizeable device". 1. Download DB Railnavigator: http://railnavigator.bahn.de/bin/pf/query-p2w.exe/dn?p2wMode=h2g 2. Run the MIDlet with MicroEmu 2.0.4, select "Einstellungen", optionally select English as the language, select "Fullscreen" Mode / "Vollbild". What is the expected output? What do you see instead? DB Railnavigator should switch to fullscreen mode. It does, but after switching, clicks trigger the wrong main menĂ¼ entries, ie. not the entry one thinks he has clicked at. Additionally, the navigation menu at the bottom of the screen disappears, making navigation impossible. If you quick Railnavigator now and try to restart it, you'll get following exception in MicroEmu: Exception in thread "event-thread" java.lang.NullPointerException at a.az.getHeight(Unknown Source) at javax.microedition.lcdui.Displayable.showNotify(Displayable.java:266) at javax.microedition.lcdui.Display$1.run(Display.java:523) at org.microemu.device.ui.EventDispatcher$ShowNotifyEvent.run(EventDispatcher.jav at org.microemu.device.ui.EventDispatcher.post(EventDispatcher.java:162) at org.microemu.device.ui.EventDispatcher.run(EventDispatcher.java:97) at java.lang.Thread.run(Thread.java:619) What version of the product are you using? On what operating system? * Java SE 1.6.0_17 x86, Debian GNU/Linux x86 * MicroEmu 2.0.4 * DB Railnavigator R6.60.13, Release 5.24.DB.R6.60.m (H6.60.13) Please provide any additional information below.
Feb 11, 2010
Project Member
#1
bar...@gmail.com
Feb 12, 2010
I just tested it. I removed ~/.microemulator/ and started from scrtach using todays
3.0-SNAPSHOT.
I started MicroEmu and the RailNavigator midlet and switched to "resizable device".
Railnavigator seems to work much better now in "normal" mode, in that it does resize to
full MicroEmu window size.
However, switching Railnavigator to "fullscreen" mode still leads to erratic menu
button behaviour, and terminating and restarting Railnavigator in this mode still
causes a NullPointerException:
Exception in thread "event-thread" java.lang.NullPointerException
at a.az.getHeight(Unknown Source)
at javax.microedition.lcdui.Displayable.showNotify(Displayable.java:257)
at javax.microedition.lcdui.Display$1.run(Display.java:563)
at
org.microemu.device.ui.EventDispatcher$RunnableEvent.run(EventDispatcher.java:246)
at org.microemu.device.ui.EventDispatcher.post(EventDispatcher.java:164)
at org.microemu.device.ui.EventDispatcher.run(EventDispatcher.java:99)
at java.lang.Thread.run(Thread.java:619)
Feb 12, 2010
Mh, additionally, entering capital letters in text fields does not seem to work any more, this worked ok in MicroEmu 2.0.4. Should I open a separate defect report for this issue?
Feb 22, 2010
Please open a separate bug report for entering capital letters problem. |