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

Android11系统运行一段时间后出现异常java.lang.reflect.InvocationTargetException #61

Open
Hanlen520 opened this issue Dec 28, 2021 · 0 comments

Comments

@Hanlen520
Copy link

报错信息如下:
java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invoke(Native Method)
at tv.panda.test.monkey.ape.utils.APIAdapter.i0(APIAdapter.java:113)
at tv.panda.test.monkey.ape.utils.APIAdapter.queryIntentActivities(APIAdapter.java:151)
at tv.panda.test.monkey.Monkey.isAtPhoneLanucher(Monkey.kt:1422)
at tv.panda.test.monkey.Monkey$ActivityController.activityStarting(Monkey.kt:137)
at android.app.IActivityController$Stub.onTransact(IActivityController.java:160)
at android.os.Binder.execTransactInternal(Binder.java:1174)
at android.os.Binder.execTransact(Binder.java:1126)
Caused by: java.lang.IllegalArgumentException: Can't unparcel type android.content.pm.ResolveInfo in list of type null
at android.content.pm.BaseParceledListSlice.verifySameType(BaseParceledListSlice.java:132)
at android.content.pm.BaseParceledListSlice.(BaseParceledListSlice.java:107)
at android.content.pm.ParceledListSlice.(ParceledListSlice.java:42)
at android.content.pm.ParceledListSlice.(ParceledListSlice.java:35)
at android.content.pm.ParceledListSlice$1.createFromParcel(ParceledListSlice.java:80)
at android.content.pm.ParceledListSlice$1.createFromParcel(ParceledListSlice.java:78)
at android.content.pm.IPackageManager$Stub$Proxy.queryIntentActivities(IPackageManager.java:5610)
... 8 more

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

1 participant