Android Question Error When Closing B4xMainpage

4rdn1_s

Member
Hi Friends,

does anyone know what this error mean and what should I do to fix it?
this error happen after I execute : B4Xpages.Closepage("B4xMainPage")

b4xpagesmanager_closepage (java line: 364)
java.lang.NullPointerException: Attempt to read from field 'java.lang.String b4a.example.b4xpagesmanager$_b4xpageinfo.Id' on a null object reference
at b4a.example.b4xpagesmanager._closepage(b4xpagesmanager.java:364)
at b4a.example.b4xpages._closepage(b4xpages.java:51)
at b4a.example.home$ResumableSub_Button1_Click.resume(home.java:462)
at anywheresoftware.b4a.BA.checkAndRunWaitForEvent(BA.java:267)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:207)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
at anywheresoftware.b4a.keywords.Common$1.onClick(Common.java:490)
at com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertController.java:167)
at android.os.Handler.dispatchMessage(Handler.java:111)
at android.os.Looper.loop(Looper.java:218)
at android.app.ActivityThread.main(ActivityThread.java:5657)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:990)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:785)

Thank You
 
Top