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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by PongPloy2016
, 1 year ago
android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@42134a48 is not valid; is your activity running?
via Stack Overflow by viratpuar
, 2 years ago
java.lang.ClassCastException: com.vap.gsonexample.Response$DataEntity cannot be cast to java.util.List
via GitHub by hunain-liaquat
, 1 year ago
io.realm.exceptions.RealmIOException: File not found: .
, 5 months ago
java.lang.OutOfMemoryError: Could not allocate JNI Env
, 2 months ago
java.lang.OutOfMemoryError: Could not allocate JNI Env
via Stack Overflow by Vineeth S Thadathil
, 1 year ago
java.lang.OutOfMemoryError: Failed to allocate a 13398966 byte allocation with 4194304 free bytes and 11MB until OOM
java.lang.RuntimeException: android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@42134a48 is not valid; is your activity running?
at com.loopj.android.http.AsyncHttpResponseHandler.onUserException(AsyncHttpResponseHandler.java:304)
at com.loopj.android.http.AsyncHttpResponseHandler.handleMessage(AsyncHttpResponseHandler.java:395)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5017)
at java.lang.reflect.Method.invokeNative(Method.java)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
at dalvik.system.NativeStart.main(NativeStart.java)

Users with the same issue

2 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.