I'm having a problem with the NullPointerException after generating the iOS 
certification for the app I'm developing.

The problem occurs when I click the hamburger menu or in another area in 
the simulator. The problem occurs in the simulator and on iOS (haven't 
tested on Android).

The function which gives the exception is the 
addMaterialCommandToRightSideMenu(String name, char icon, final 
ActionListener ev). Here is the stack trace:
```java.lang.NullPointerException
    at com.codename1.ui.Toolbar$5.actionPerformed(Toolbar.java:1345)
    at 
com.codename1.ui.util.EventDispatcher.fireActionEvent(EventDispatcher.java:349)
    at com.codename1.ui.Form.pointerReleased(Form.java:3313)
    at com.codename1.ui.Component.pointerReleased(Component.java:4419)
    at com.codename1.ui.Display.handleEvent(Display.java:2071)
    at com.codename1.ui.Display.edtLoopImpl(Display.java:1043)
    at com.codename1.ui.Display.mainEDTLoop(Display.java:961)
    at com.codename1.ui.RunnableWrapper.run(RunnableWrapper.java:120)
    at com.codename1.impl.CodenameOneThread.run(CodenameOneThread.java:176)
```

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/aeaf3cba-5779-4be2-85b2-3302aedc4320%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to