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

GitHub | obilodeau | 3 months ago
  1. 0

    Tomdroid 0.7.1 Crash on Revert

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

    WindowManager$BadTokenException in ExchangeActivity

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

    Crash when starting and then navigating away from HomeActivity

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

    Automated exception search integrated into your IDE

  5. 0

    BadTokenException even after referring to Activity and not the application context

    Stack Overflow | 3 years ago | Salman Siddiqui
    android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@406a6678 is not valid; is your activity running?
  6. 0

    Exception when creating DatePickerDialog in android

    Stack Overflow | 5 years ago | Adham
    android.view.WindowManager$BadTokenException: Unable to add window -- token android.app.LocalActivityManager$LocalActivityRecord@405727b0 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@405148b0 is not valid; is your activity running?

      at android.view.ViewRoot.setView()
    2. Android Platform
      Activity.showDialog
      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.Activity.showDialog(Activity.java:2566)
      7. android.app.Activity.showDialog(Activity.java:2524)
      7 frames
    3. org.tomdroid.ui
      Tomdroid$SyncMessageHandler.handleMessage
      1. org.tomdroid.ui.Tomdroid$SyncMessageHandler.handleMessage(Tomdroid.java:922)
      1 frame
    4. Android Platform
      ActivityThread.main
      1. android.os.Handler.dispatchMessage(Handler.java:99)
      2. android.os.Looper.loop(Looper.java:123)
      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