android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@42134a48 is not valid; is your activity running?

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 GitHub by PongPloy2016
, 1 year ago
Unable to add window -- token android.os.BinderProxy@42134a48 is not valid; is your activity running?
via GitHub by zeapo
, 2 years ago
Unable to add window android.view.ViewRootImpl$W@2fcaa65 -- permission denied for this window type
via Stack Overflow by John
, 1 year ago
Unable to add window -- token null is not for an application
via codedmi.com by Unknown author, 2 years ago
Unable to add window -- token android.os.BinderProxy@45b69850 is not valid; is your activity running?
via GitHub by fred-ye
, 10 months ago
Unable to add window -- token android.os.BinderProxy@15b4466a is not valid; is your activity running?
via Stack Overflow by user1063364
, 1 year ago
Unable to add window -- token android.os.BinderProxy@3d2d4e99 is not valid; is your activity running?
android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@42134a48 is not valid; is your activity running?
at android.view.ViewRootImpl.setView(ViewRootImpl.java:536)
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:259)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:69)
at android.app.Dialog.show(Dialog.java:286)
at com.luminos.sso.activity.RegisterActivity.sweetAlertDialogCheck(RegisterActivity.java:586)
at com.luminos.sso.activity.RegisterActivity.access$900(RegisterActivity.java:65)
at com.luminos.sso.activity.RegisterActivity$4.onFailure(RegisterActivity.java:518)
at com.loopj.android.http.JsonHttpResponseHandler.onFailure(JsonHttpResponseHandler.java:233)
at com.loopj.android.http.AsyncHttpResponseHandler.handleMessage(AsyncHttpResponseHandler.java:359)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5017)
at java.lang.reflect.Method.invokeNative(Method.java)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
at dalvik.system.NativeStart.main(NativeStart.java)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
19 times, 2 months ago
Once, 1 year ago
2 times, 1 year ago
10 times, 1 month ago
55 more bugmates

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