Why does this error occur?
Error in this line:
Error in this line:
Error:
Drawer.CenterPanel.AddView(Content11,0,0,100%x,100%y) 'Dim Drawer As B4XDrawer
Error:
Exception java.lang.NullPointerException: Attempt to invoke virtual method 'void anywheresoftware.b4a.objects.PanelWrapper.AddView(android.view.View, int, int, int, int)' on a null object reference
at com.tos.ssite.menu._activity_create (menu.java:547)
at java.lang.reflect.Method.invoke
at anywheresoftware.b4a.BA.raiseEvent2 (BA.java:221)
at com.tos.ssite.menu.afterFirstLayout (menu.java:105)
at com.tos.ssite.menu.access$000 (menu.java:17)
at com.tos.ssite.menu$WaitForLayout.run (menu.java:83)
at android.os.Handler.handleCallback (Handler.java:938)
at android.os.Handler.dispatchMessage (Handler.java:99)
at android.os.Looper.loopOnce (Looper.java:201)
at android.os.Looper.loop (Looper.java:288)
at android.app.ActivityThread.main (ActivityThread.java:7880)
at java.lang.reflect.Method.invoke
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1009)