android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@42b4efa8 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 alexlittle
, 1 year ago
Unable to add window -- token android.os.BinderProxy@42b4efa8 is not valid; is your activity running?
via 2cto.com by Unknown author, 2 years ago
Unable to add window -- token android.os.BinderProxy@427b7270 is not valid; is your activity running?
via Stack Overflow by user1340801
, 2 years ago
Unable to add window -- token </p> <pre><code>android.os.BinderProxy@419743f8 is not valid; is your activity running?
via GitHub by Paku-
, 2 years ago
Unable to add window -- token android.os.BinderProxy@42736c00 is not valid; is your activity running?
via GitHub by lw1a2
, 2 years ago
Unable to add window -- token android.os.BinderProxy@41ab5068 is not valid; is your activity running?
via GitHub by lw1a2
, 2 years ago
Unable to add window -- token android.os.BinderProxy@41c15ab0 is not valid; is your activity running?
android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@42b4efa8 is not valid; is your activity running?
at android.view.ViewRootImpl.setView(ViewRootImpl.java:712)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:356)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:234)
at android.view.WindowManagerImpl$CompatModeWrapper.addView(WindowManagerImpl.java:153)
at android.view.Window$LocalWindowManager.addView(Window.java:559)
at android.app.Dialog.show(Dialog.java:277)
at openwave.nurhi.mobile.learning.utils.UIUtils.showAlert(UIUtils.java:110)
at openwave.nurhi.mobile.learning.adapter.DownloadModuleListAdapter.installComplete(DownloadModuleListAdapter.java:169)
at openwave.nurhi.mobile.learning.task.InstallDownloadedModulesTask.onPostExecute(InstallDownloadedModulesTask.java:180)
at openwave.nurhi.mobile.learning.task.InstallDownloadedModulesTask.onPostExecute(InstallDownloadedModulesTask.java:1)
at android.os.AsyncTask.finish(AsyncTask.java:631)
at android.os.AsyncTask.access$600(AsyncTask.java:177)
at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:644)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4935)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1038)

Users with the same issue

10 times, 3 months ago
19 times, 4 months ago
6 times, 7 months ago
4 times, 9 months ago
2 times, 10 months ago

Write tip

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