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 Stack Overflow by 3lolo
, 1 year ago
Unable to add window -- token null is not valid; is your activity running?
via Stack Overflow by Kristof Hermans
, 1 year ago
Unable to add window android.view.ViewRootImpl$W@aa77a28 -- permission denied for this window type
via Stack Overflow by Peter Shaw
, 1 year ago
Unable to add window android.view.ViewRootImpl$W@65e68b3 -- permission denied for window type 2003
via GitHub by texas697
, 1 year ago
Unable to add window android.view.ViewRootImplAO$WEx@27727a7 -- permission denied for this window type
via GitHub by rgoldiez
, 6 months ago
Unable to add window android.view.ViewRootImpl$W@e08b7a0 -- permission denied for this window type
via GitHub by NikoSoftware
, 6 months ago
Unable to add window -- token null is not valid; is your activity running?
android.view.WindowManager$BadTokenException: Unable to add window -- token null is not valid; is your activity running?	at android.view.ViewRootImpl.setView(ViewRootImpl.java:696)	at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:289)	at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:85)	at android.widget.PopupWindow.invokePopup(PopupWindow.java:1153)	at android.widget.PopupWindow.showAtLocation(PopupWindow.java:978)	at android.widget.PopupWindow.showAtLocation(PopupWindow.java:942)	at com.meizu.widget.MagnifierPopupWindow.showMagnifier(MagnifierPopupWindow.java:106)	at android.widget.Editor$MzInsertionPointCursorController.update(Editor.java:5567)	at android.widget.Editor$MzInsertionPointCursorController.show(Editor.java:5571)	at android.widget.Editor.performLongClickMz(Editor.java:5290)	at android.widget.TextView.performLongClick(TextView.java:9126)	at android.view.View$CheckForLongPress.run(View.java:20357)	at android.os.Handler.handleCallback(Handler.java:815)	at android.os.Handler.dispatchMessage(Handler.java:104)	at android.os.Looper.loop(Looper.java:194)	at android.app.ActivityThread.main(ActivityThread.java:5824)	at java.lang.reflect.Method.invoke(Native Method)	at java.lang.reflect.Method.invoke(Method.java:372)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1010)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805)