Android Question Google Crash Report

Robert Valentino

Well-Known Member
Licensed User
Longtime User
I got this google crash report and am not sure how to locate where in my program it is:

android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application
at android.view.ViewRootImpl.setView(ViewRootImpl.java:857)
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:337)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:91)
at android.app.Dialog.show(Dialog.java:350)
at anywheresoftware.b4a.Msgbox.msgbox(Msgbox.java:136)
at anywheresoftware.b4a.keywords.Common.Msgbox2(Common.java:440)
at anywheresoftware.b4a.keywords.Common.Msgbox(Common.java:406)
at com.BOBs.BBS.cdatabase._opendb(cdatabase.java:376)
at com.BOBs.BBS.starter._service_create(starter.java:767)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:169)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:153)
at com.BOBs.BBS.starter.onCreate(starter.java:57)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3808)
at android.app.ActivityThread.access$2100(ActivityThread.java:222)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1883)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:158)
at android.app.ActivityThread.main(ActivityThread.java:7237)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)


Seems to be happening on Android 6
 
Last edited:
Top