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 Stack Overflow by priyank brahmbhatt
, 1 year 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.forTokenLocked(ActivityRecord.java:424)	at com.android.server.am.ActivityStack.isInStackLocked(ActivityStack.java:467)	at com.android.server.am.ActivityStackSupervisor.isInAnyStackLocked(ActivityStackSupervisor.java:592)	at com.android.server.am.ActivityStackSupervisor.startActivityLocked(ActivityStackSupervisor.java:1484)	at com.android.server.am.ActivityStackSupervisor.startActivityMayWait(ActivityStackSupervisor.java:1090)	at com.android.server.am.ActivityManagerService.startActivityAsUser(ActivityManagerService.java:4077)	at com.android.server.am.ActivityManagerService.startActivity(ActivityManagerService.java:4064)	at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:162)	at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2670)	at android.os.Binder.execTransact(Binder.java:453)