android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application

codegur.online | 4 months ago
  1. 0

    Calling a function show alert dialog from two different activities

    Stack Overflow | 1 year ago | Sudarshan sridhar
    android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application
  2. 0

    Failed to load ApplicationContext

    codegur.net | 8 months ago
    android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application
  3. 0

    Failed to load ApplicationContext

    codegur.online | 4 months ago
    android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application

    GitHub | 3 years ago | mntgoat
    android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application
  6. 0

    Unable to add window -- token null is not for an application

    GitHub | 3 years ago | banxi1988
    android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application

  1. filpgame 1 times, last 2 weeks ago
  2. franky li 2 times, last 1 month ago
  3. dontdropmybass 2 times, last 4 months ago
  4. ank_07 4 times, last 4 months ago
  5. bayukresno 1 times, last 5 months ago
8 more registered users
5 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. android.view.WindowManager$BadTokenException

    Unable to add window -- token null is not for an application

    at android.view.ViewRootImpl.setView()
  2. Android Platform
    Dialog.show
    1. android.view.ViewRootImpl.setView(ViewRootImpl.java:570)
    2. android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:282)
    3. android.view.WindowManagerImpl.addView(WindowManagerImpl.java:85)
    4. android.app.Dialog.show(Dialog.java:306)
    4 frames
  3. com.srids.tagit
    SMSActivity$2.onClick
    1. com.srids.tagit.TagHandler.getTagSelectionFromDialogBox(HelperClass.java:75)
    2. com.srids.tagit.SMSActivity$2.onClick(SMSActivity.java:140)
    2 frames
  4. Android Platform
    Handler.dispatchMessage
    1. android.view.View.performClick(View.java:4856)
    2. android.view.View$PerformClick.run(View.java:19956)
    3. android.os.Handler.handleCallback(Handler.java:739)
    4. android.os.Handler.dispatchMessage(Handler.java:95)
    4 frames