Skip to main content

Android LWUIT - isSameBackDestination()

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
2 replies [Last post]
68060
Offline
Joined: 2011-08-29
Points: 0

E/LWUIT (12392): java.lang.NullPointerException
E/LWUIT (12392): at com.sun.lwuit.util.UIBuilder.isSameBackDestination(UIBuilder.java:2047)
E/LWUIT (12392): at com.sun.lwuit.util.UIBuilder.showForm(UIBuilder.java:1983)
E/LWUIT (12392): at com.sun.lwuit.util.UIBuilder.showForm(UIBuilder.java:2063)
E/LWUIT (12392): at userclasses.StateMachine.actionPerformed(StateMachine.java:5601)
E/LWUIT (12392): at com.sun.lwuit.util.EventDispatcher.fireActionSync(EventDispatcher.java:312)
E/LWUIT (12392): at com.sun.lwuit.util.EventDispatcher.fireActionEvent(EventDispatcher.java:257)
E/LWUIT (12392): at com.sun.lwuit.Form.actionCommandImpl(Form.java:1138)
E/LWUIT (12392): at com.sun.lwuit.Form.actionCommandImpl(Form.java:1113)
E/LWUIT (12392): at com.sun.lwuit.MenuBar.showMenu(MenuBar.java:715)
E/LWUIT (12392): at com.sun.lwuit.MenuBar.keyReleased(MenuBar.java:1209)
E/LWUIT (12392): at com.sun.lwuit.Form.keyReleased(Form.java:1633)
E/LWUIT (12392): at com.sun.lwuit.Display.handleEvent(Display.java:1533)
E/LWUIT (12392): at com.sun.lwuit.Display.edtLoopImpl(Display.java:826)
E/LWUIT (12392): at com.sun.lwuit.Display.mainEDTLoop(Display.java:776)
E/LWUIT (12392): at com.sun.lwuit.RunnableWrapper.run(RunnableWrapper.java:119)

I keep getting this error on lwuit Android, any idea?

Gaz.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
gt8887b
Offline
Joined: 2010-03-15
Points: 0

Do you have a small example that can reproduce the problem?

68060
Offline
Joined: 2011-08-29
Points: 0

the lwuit port from the website is littered with errors, if you have a more fixed on vprise Id love to get it, email is gareth.murfin@gmail.com