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.

  • Failed to load ApplicationContext
    via by Unknown author,
  • Failed to load ApplicationContext
    via by Unknown author,
  • 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:570) at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:282) at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:85) at android.app.Dialog.show(Dialog.java:306) at com.srids.tagit.TagHandler.getTagSelectionFromDialogBox(HelperClass.java:75) at com.srids.tagit.SMSActivity$2.onClick(SMSActivity.java:140) at android.view.View.performClick(View.java:4856) at android.view.View$PerformClick.run(View.java:19956) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95)

    Users with the same issue

    filpgame
    2 times, last one,
    Unknown visitor1 times, last one,
    dontdropmybass
    2 times, last one,
    bayukresno
    14 times, last one,
    joni1408
    5 times, last one,
    52 more bugmates