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

GitHub | negue | 1 year 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

    GitHub comment 254#164544783

    GitHub | 1 year ago | negue
    android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@78c3c53 is not valid; is your activity running?
  2. 0

    Crashes when app is in background an network activity finishes

    GitHub | 1 year ago | vIiRuS
    android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@d12cc87 is not valid; is your activity running?
  3. 0

    App has stopped after a few seconds

    Stack Overflow | 2 years ago | Vagelis Agelousis
    android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@3befaab0 is not valid; is your activity running?
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    AlertDialog leaks despite using a WeakReference

    Stack Overflow | 2 years ago | Derek K
    android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@427329e0 is not valid; is your activity running?
  6. 0

    WindowManager$BadTokenException: Unable to add window token android.app.is not valid; is your activity running?

    Stack Overflow | 1 year ago | muhammed riyas
    android.view.WindowManager$BadTokenException: Unable to add window -- token android.app.LocalActivityManager$LocalActivityRecord@64456ac 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@78c3c53 is not valid; is your activity running?

    at android.view.ViewRootImpl.setView()
  2. Android Platform
    Dialog.show
    1. android.view.ViewRootImpl.setView(ViewRootImpl.java:567)
    2. android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:310)
    3. android.view.WindowManagerImpl.addView(WindowManagerImpl.java:85)
    4. android.app.Dialog.show(Dialog.java:319)
    4 frames
  3. Android v7
    AlertDialog$Builder.show
    1. android.support.v7.app.AlertDialog$Builder.show(AlertDialog.java:902)
    1 frame
  4. com.habitrpg.android
    PartyFragment$1.success
    1. com.habitrpg.android.habitica.ui.fragments.PartyFragment$1.success(PartyFragment.java:61)
    2. com.habitrpg.android.habitica.ui.fragments.PartyFragment$1.success(PartyFragment.java:51)
    2 frames
  5. Retrofit
    CallbackRunnable$1.run
    1. retrofit.CallbackRunnable$1.run(CallbackRunnable.java:45)
    1 frame
  6. Android Platform
    ActivityThread.main
    1. android.os.Handler.handleCallback(Handler.java:739)
    2. android.os.Handler.dispatchMessage(Handler.java:95)
    3. android.os.Looper.loop(Looper.java:148)
    4. android.app.ActivityThread.main(ActivityThread.java:5417)
    4 frames
  7. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Method.java)
    1 frame
  8. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
    2 frames