Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. AlertDialog$Builder.show() has thrown a WindowManager$BadTokenException
    Android
    37
    19
    0
  2. Dialog.show() has thrown a WindowManager$BadTokenException
    Android
    185
    126
    1

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application
3 matching frames hidden
    at android.app.Dialog.show(Dialog.java:281)
    at android.app.AlertDialog$Builder.show(AlertDialog.java:951)

External results for this pattern (10)

  1. Unable to add window -- token null is not for an application
    Show stack trace
  2. Shajeel-Afzalvia GitHub3 months ago
    Unable to add window -- token null is not for an application
    Show stack trace
  3. Shajeel-Afzalvia GitHub3 months ago
    Unable to add window -- token null is not for an application
    Show stack trace
  4. DSlomer64via Stack Overflow3 months ago
    Unable to add window -- token null is not for an application
    Show stack trace
  5. Unable to add window -- window android.view.ViewRootImpl$W@cb70704 has already been added
    Show stack trace
  6. Simouvia Stack Overflow4 months ago
  7. Unable to add window -- token null is not for an application
    Show stack trace
  8. Unknown authorvia umeng.com4 months ago
    Unable to add window -- token null is not for an application
    Show stack trace
  9. Unknown authorvia cnblogs.com4 months ago
    Unable to add window -- token null is not for an application
    Show stack trace
  10. Mark Jamesvia Stack Overflow4 months ago
    Unable to add window -- token android.os.BinderProxy@5aa47b4 is not valid; is your activity running?
    Show stack trace