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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via codegur.net by Unknown author, 1 year ago
Unable to add window -- token null is not for an application
via Stack Overflow by Sudarshan sridhar
, 1 year ago
Unable to add window -- token null is not for an application
via codegur.online by Unknown author, 1 year ago
Unable to add window -- token null is not for an application
via Stack Overflow by Unknown author, 2 years ago
Unable to add window -- token null is not for an application
via Stack Overflow by U Khan
, 2 years ago
Unable to add window -- token null is not for an application
via Stack Overflow by Albert
, 1 year ago
Unable to add window -- token null is not for an application
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)

Users with the same issue

10 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 1 year ago
5 times, 1 year ago
2 times, 9 months ago
55 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.