java.lang.ClassCastException: android.os.BinderProxy cannot be cast to com.android.server.am.ActivityRecord$Token

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

Solutions on the web

via unity3d.com by Unknown author, 1 year ago
android.os.BinderProxy cannot be cast to com.android.server.am.ActivityRecord$Token
via rssing.com by Unknown author, 2 years ago
android.os.BinderProxy cannot be cast to com.android.server.am.ActivityRecord$Token
via Oracle Community by SayantanSinha, 1 year ago
android.os.BinderProxy cannot be cast to com.android.server.am.ActivityRecord$Token W/ActivityManager( 1240):
via evervolv.com by Unknown author, 2 years ago
android.os.BinderProxy cannot be cast to com.android.server.am.ActivityRecord$Token
via gmane.org by Unknown author, 2 years ago
android.os.BinderProxy cannot be cast to com.android.server.am.ActivityRecord$Token
java.lang.ClassCastException: android.os.BinderProxy cannot be cast to com.android.server.am.ActivityRecord$Token
at com.android.server.am.ActivityRecord.forToken(ActivityRecord.java:436)
at com.android.server.am.ActivityStack.indexOfTokenLocked(ActivityStack.java:834)
at com.android.server.am.ActivityStack.getWindowMode(ActivityStack.java:5303)
at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:1946)
at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2125)
at android.os.Binder.execTransact(Binder.java:388)

Users with the same issue

Once, 2 months ago
758 times, 7 months ago
5 times, 7 months ago
42 times, 10 months ago
3 times, 1 year ago

Write tip

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