Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

系统切换亮暗色模式时报错 ClassCastException #1181

Open
chiemy opened this issue Nov 7, 2024 · 0 comments
Open

系统切换亮暗色模式时报错 ClassCastException #1181

chiemy opened this issue Nov 7, 2024 · 0 comments
Assignees

Comments

@chiemy
Copy link

chiemy commented Nov 7, 2024

2024-11-07 11:31:49.361 11555-11555 ActivityImpl E get life cycle exception
java.lang.ClassCastException: android.os.BinderProxy cannot be cast to android.app.servertransaction.ClientTransaction
at android.app.ActivityImpl.checkAccessControl(ActivityImpl.java:68)
at android.app.ActivityImpl.onResume(ActivityImpl.java:163)
at android.app.Activity.onResume(Activity.java:2203)
at com.didichuxing.doraemonkit.aop.mc.DoKitProxyActivity.onResume(DoKitProxyActivity.kt:43)
at androidx.fragment.app.FragmentActivity.onResume(FragmentActivity.java:434)
at cn.ninebot.ninebot.mainshell.MainActivity.onResume(MainActivity.kt:499)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1615)
at android.app.Activity.performResume(Activity.java:9057)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:5202)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:5245)
at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:57)
at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:45)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:190)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:101)
at android.app.ClientTransactionHandler.executeTransaction(ClientTransactionHandler.java:68)
at android.app.ActivityThread.handleRelaunchActivityLocally(ActivityThread.java:6178)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2599)
at com.didichuxing.doraemonkit.kit.timecounter.instrumentation.ProxyHandlerCallback.handleMessage(ProxyHandlerCallback.java:44)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loopOnce(Looper.java:224)
at android.os.Looper.loop(Looper.java:318)
at android.app.ActivityThread.main(ActivityThread.java:8777)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:561)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1013)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants