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

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

    Fatal Exception: java.lang.RuntimeException: android.view.WindowManager$BadTokenException

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

    How to add a Google Map in a dialog. Both dialog and map doesn't show up

    Stack Overflow | 3 years ago | user3649608
    android.view.WindowManager$BadTokenException: Unable to add window -- token android.app.LocalActivityManager$LocalActivityRecord@52d5318c is not valid; is your activity running?
  3. 0

    Unable to add Window - token null is not for an Application (Async Task )

    Stack Overflow | 2 years ago | user2068694
    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

    Xamarin forms exception: windowmanagerbadtokenexception

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

    Data from database not loading on my android activity

    Stack Overflow | 3 years ago | Ang
    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@42134a48 is not valid; is your activity running?

    at android.view.ViewRootImpl.setView()
  2. Android Platform
    Dialog.show
    1. android.view.ViewRootImpl.setView(ViewRootImpl.java:536)
    2. android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:259)
    3. android.view.WindowManagerImpl.addView(WindowManagerImpl.java:69)
    4. android.app.Dialog.show(Dialog.java:286)
    4 frames
  3. com.luminos.sso
    RegisterActivity$4.onFailure
    1. com.luminos.sso.activity.RegisterActivity.sweetAlertDialogCheck(RegisterActivity.java:586)
    2. com.luminos.sso.activity.RegisterActivity.access$900(RegisterActivity.java:65)
    3. com.luminos.sso.activity.RegisterActivity$4.onFailure(RegisterActivity.java:518)
    3 frames
  4. android-async-http Library
    AsyncHttpResponseHandler$ResponderHandler.handleMessage
    1. com.loopj.android.http.JsonHttpResponseHandler.onFailure(JsonHttpResponseHandler.java:233)
    2. com.loopj.android.http.AsyncHttpResponseHandler.handleMessage(AsyncHttpResponseHandler.java:359)
    3. com.loopj.android.http.AsyncHttpResponseHandler$ResponderHandler.handleMessage(AsyncHttpResponseHandler.java:510)
    3 frames
  5. Android Platform
    ActivityThread.main
    1. android.os.Handler.dispatchMessage(Handler.java:102)
    2. android.os.Looper.loop(Looper.java:136)
    3. android.app.ActivityThread.main(ActivityThread.java:5017)
    3 frames
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Method.java)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  7. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
    2 frames
  8. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(NativeStart.java)
    1 frame