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

GitHub | barbeau | 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

    BadTokenException - Unable to add window - when leaving tutorial opt out

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

    Opencv stopped working on Android 6.0

    Stack Overflow | 1 year ago | Pedro
    android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application
  3. 0

    Android Slidingdrawer in custom listview

    Stack Overflow | 1 year ago | 박한빈
    android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Opencv stopped working on Android 6.0 - OpenCV Q&A Forum

    opencv.org | 1 year ago
    android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application
  6. 0

    GitHub comment 2#191117443

    GitHub | 12 months ago | 12343954
    android.view.WindowManager$BadTokenException: **Unable to add window **-- token null is not for an application
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@b1d71da is not valid; is your activity running?

    at android.view.ViewRootImpl.setView()
  2. Android Platform
    Dialog.show
    1. android.view.ViewRootImpl.setView(ViewRootImpl.java:571)
    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. org.onebusaway.android
    HomeActivity$3.onDismiss
    1. org.onebusaway.android.util.ShowcaseViewUtils.showOptOutDialog(ShowcaseViewUtils.java:318)
    2. org.onebusaway.android.ui.HomeActivity$3.onDismiss(HomeActivity.java:688)
    2 frames
  4. Android Platform
    ActivityThread.main
    1. android.app.Dialog$ListenersHandler.handleMessage(Dialog.java:1323)
    2. android.os.Handler.dispatchMessage(Handler.java:102)
    3. android.os.Looper.loop(Looper.java:148)
    4. android.app.ActivityThread.main(ActivityThread.java:5422)
    4 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  6. 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