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

ShadowApplication receiverInfo未判空 #755

Closed
gb18030 opened this issue Jan 6, 2022 · 1 comment · Fixed by #758
Closed

ShadowApplication receiverInfo未判空 #755

gb18030 opened this issue Jan 6, 2022 · 1 comment · Fixed by #758

Comments

@gb18030
Copy link

gb18030 commented Jan 6, 2022

image
报错:
`2022-01-06 15:50:01.525 9111-9136/? E/JavaBinder: *** Uncaught remote exception! (Exceptions are not yet supported across processes.)

java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: com.tencent.shadow.core.loader.exceptions.CreateApplicationException: java.lang.NullPointerException: storage == null
    at java.util.concurrent.FutureTask.report(FutureTask.java:93)
    at java.util.concurrent.FutureTask.get(FutureTask.java:163)
    at com.tencent.shadow.dynamic.loader.impl.DynamicPluginLoader.loadPlugin(DynamicPluginLoader.kt:82)
    at com.tencent.shadow.dynamic.loader.impl.PluginLoaderBinder.onTransact(PluginLoaderBinder.kt:43)
    at android.os.Binder.execTransact(Binder.java:446)
 Caused by: java.util.concurrent.ExecutionException: com.tencent.shadow.core.loader.exceptions.CreateApplicationException: java.lang.NullPointerException: storage == null
    at java.util.concurrent.FutureTask.report(FutureTask.java:93)
    at java.util.concurrent.FutureTask.get(FutureTask.java:163)
    at com.tencent.shadow.core.loader.blocs.LoadPluginBloc$loadPlugin$buildRunningPlugin$1.run(LoadPluginBloc.kt:127)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
    at java.util.concurrent.FutureTask.run(FutureTask.java:237)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
    at java.lang.Thread.run(Thread.java:818)
 Caused by: com.tencent.shadow.core.loader.exceptions.CreateApplicationException: java.lang.NullPointerException: storage == null
    at com.tencent.shadow.core.loader.blocs.CreateApplicationBloc.createShadowApplication(CreateApplicationBloc.kt:69)
    at com.tencent.shadow.core.loader.blocs.LoadPluginBloc$loadPlugin$buildApplication$1.call(LoadPluginBloc.kt:108)
    at com.tencent.shadow.core.loader.blocs.LoadPluginBloc$loadPlugin$buildApplication$1.call(LoadPluginBloc.kt:101)
    at java.util.concurrent.FutureTask.run(FutureTask.java:237) 
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) 
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) 
    at java.lang.Thread.run(Thread.java:818) 
 Caused by: java.lang.NullPointerException: storage == null
    at java.util.Arrays$ArrayList.<init>(Arrays.java:38)
    at java.util.Arrays.asList(Arrays.java:155)
    at com.tencent.shadow.core.runtime.ShadowApplication.setBroadcasts(ShadowApplication.java:157) <----看这里!!!
    at com.tencent.shadow.core.loader.blocs.CreateApplicationBloc.createShadowApplication(CreateApplicationBloc.kt:58)
    at com.tencent.shadow.core.loader.blocs.LoadPluginBloc$loadPlugin$buildApplication$1.call(LoadPluginBloc.kt:108) 
    at com.tencent.shadow.core.loader.blocs.LoadPluginBloc$loadPlugin$buildApplication$1.call(LoadPluginBloc.kt:101) 
    at java.util.concurrent.FutureTask.run(FutureTask.java:237) 
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) 
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) 
    at java.lang.Thread.run(Thread.java:818) `
@shifujun
Copy link
Collaborator

shifujun commented Jan 7, 2022

感谢反馈🌹

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

Successfully merging a pull request may close this issue.

2 participants