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

GitHub | negue | 12 months ago
  1. 0

    GitHub comment 254#164544783

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

  1. zildjiandm 2 times, last 8 months ago
  2. filpgame 1 times, last 2 weeks ago
  3. franky li 2 times, last 1 month ago
  4. dontdropmybass 2 times, last 4 months ago
  5. ank_07 4 times, last 4 months ago
8 more registered users
5 unregistered visitors
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