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

GitHub | obilodeau | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Tomdroid crashes when pressing cancel on UbuntuOne page during Authentification

    GitHub | 8 months ago | obilodeau
    android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@40704650 is not valid; is your activity running?
  2. 0

    crash on exit

    GitHub | 8 months ago | obilodeau
    android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@43cccb20 is not valid; is your activity running?
  3. 0

    Dialogbox on List onListItemClick() method .. It give BadTokenException

    Stack Overflow | 6 years ago | Piraba
    android.view.WindowManager$BadTokenException: Unable to add window -- token android.app.LocalActivityManager$LocalActivityRecord@4056e178 is not valid; is your activity running?
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    WindowManagerBadTokenException unable to add window

    Stack Overflow | 4 years ago | neknek mouh
    android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@40515dc0 is not valid; is your activity running?
  6. 0

    FATAL EXCEPTION: main

    Stack Overflow | 6 years ago | ram
    android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@4073ef78 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@40704650 is not valid; is your activity running?

    at android.view.ViewRoot.setView()
  2. Android Platform
    AlertDialog$Builder.show
    1. android.view.ViewRoot.setView(ViewRoot.java:527)
    2. android.view.WindowManagerImpl.addView(WindowManagerImpl.java:177)
    3. android.view.WindowManagerImpl.addView(WindowManagerImpl.java:91)
    4. android.view.Window$LocalWindowManager.addView(Window.java:424)
    5. android.app.Dialog.show(Dialog.java:241)
    6. android.app.AlertDialog$Builder.show(AlertDialog.java:802)
    6 frames
  3. org.tomdroid.ui
    SyncMessageHandler.handleMessage
    1. org.tomdroid.ui.SyncMessageHandler.handleMessage(SyncMessageHandler.java:112)
    1 frame
  4. Android Platform
    ActivityThread.main
    1. android.os.Handler.dispatchMessage(Handler.java:99)
    2. android.os.Looper.loop(Looper.java:130)
    3. android.app.ActivityThread.main(ActivityThread.java:3683)
    3 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:507)
    2 frames
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
    2 frames
  7. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame