java.lang.ClassCastException

android.os.BinderProxy cannot be cast to com.android.server.am.ActivityRecord$Token

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Stack trace

  • 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)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

bayukresnobayukresno
14 times, last one
Hiren AmaliyarHiren Amaliyar
4 times, last one
SacchiSacchi
Once,
winer222winer222
53 times, last one
justCodeitjustCodeit
4 times, last one
15 more bugmates