android.view.WindowManager$BadTokenException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • NPE in Custom DialogBox
    via Stack Overflow by nafi
    ,
    • 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 com.bluefirelabs.apptiva.UserInfoActivity$7.onClick(UserInfoActivity.java:125) at android.view.View.performClick(View.java:5702) at android.widget.TextView.performClick(TextView.java:10885) at android.view.View$PerformClick.run(View.java:22533) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:158) at android.app.ActivityThread.main(ActivityThread.java:7229) 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)

    Users with the same issue

    dontdropmybassdontdropmybass
    2 times, last one,
    filpgamefilpgame
    2 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    bayukresnobayukresno
    14 times, last one,
    joni1408joni1408
    5 times, last one,
    52 more bugmates