1

I have developed app using codename one.It was working fine initially.but since 3-4 days getting issues.When I clicked on Menu Item it giving below error

an internal application error occurred:java.lang.NullPointerException:Attempt to invoke virtual method'void com.codename1.o.al.bj() on null object refference

Iniially every thing was working fine but since 3-4 days it giving issues like that. Please help me to solve this issue? Thanks in advance.

AskNilesh
  • 67,701
  • 16
  • 123
  • 163
Shekhar Jadhav
  • 1,035
  • 9
  • 20
  • Possible duplicate of [What is a NullPointerException, and how do I fix it?](https://stackoverflow.com/questions/218384/what-is-a-nullpointerexception-and-how-do-i-fix-it) – AskNilesh Oct 30 '17 at 07:12
  • 1
    @Jonas's answer is correct this should work in the next update and his workaround should work too – Shai Almog Oct 31 '17 at 04:51

2 Answers2

2

I have submited an issue last Friday. This is due to the last update and will be fixed on the next update (next Friday). You can workaround it by disabling the on top side menu for now with: yourForm.getToolbar().setOnTopSideMenu(false);

John
  • 189
  • 9
1

We can not analyse what went wrong, because error is a generic "Null Pointer Exception". We need to know complete functionality and what different behaviour happened. Please provide us with some more details if possible.

Jatin
  • 491
  • 2
  • 12