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

  1. 0

    How to add data to remote DB?

    Stack Overflow | 3 months ago | Burak Akyalçın
    android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@12b6e281 is not valid; is your activity running?
  2. 0

    Notification "click" event crashes the app if app is closed via navigator.app.exitApp()

    GitHub | 2 years ago | gkamenov
    android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@b1ff40d8 is not valid; is your activity running?
  3. 0

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

    GitHub | 3 years ago | IstiN
    android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@41323030 is not valid; is your activity running?
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

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

    GitHub | 3 years ago | Amab
    android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@4066e568 is not valid; is your activity running?
  6. 0

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

    GitHub | 4 years ago | Amab
    android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@406e21a0 is not valid; is your activity running?
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. android.view.WindowManager$BadTokenException

    Unable to add window -- token android.os.BinderProxy@12b6e281 is not valid; is your activity running?

    at android.view.ViewRootImpl.setView()
  2. Android Platform
    AlertDialog$Builder.show
    1. android.view.ViewRootImpl.setView(ViewRootImpl.java:576)
    2. android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:272)
    3. android.view.WindowManagerImpl.addView(WindowManagerImpl.java:69)
    4. android.app.Dialog.show(Dialog.java:306)
    5. android.app.AlertDialog$Builder.show(AlertDialog.java:987)
    5 frames
  3. applications.loginandregister
    BackgroundTask.onPostExecute
    1. applications.loginandregister.BackgroundTask.display(BackgroundTask.java:183)
    2. applications.loginandregister.BackgroundTask.onPostExecute(BackgroundTask.java:169)
    3. applications.loginandregister.BackgroundTask.onPostExecute(BackgroundTask.java:29)
    3 frames
  4. Android Platform
    ActivityThread.main
    1. android.os.AsyncTask.finish(AsyncTask.java:632)
    2. android.os.AsyncTask.access$600(AsyncTask.java:177)
    3. android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:645)
    4. android.os.Handler.dispatchMessage(Handler.java:102)
    5. android.os.Looper.loop(Looper.java:135)
    6. android.app.ActivityThread.main(ActivityThread.java:5349)
    6 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:908)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:703)
    2 frames