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

miui 14,切换节点时经常性发生空指针闪退 #404

Open
jaberale opened this issue Aug 28, 2023 · 0 comments
Open

miui 14,切换节点时经常性发生空指针闪退 #404

jaberale opened this issue Aug 28, 2023 · 0 comments

Comments

@jaberale
Copy link

在切换节点时会经常出现空指针闪退,报错
java.lang.RuntimeException: Unable to resume activity {com.xxf098.ssrray/com.github.shadowsocks.Shadowsocks}: java.lang.NullPointerException: Attempt to invoke interface method 'void com.github.shadowsocks.aidl.IShadowsocksService.use(int)' on a null object reference
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4975)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:5008)
at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:54)
at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:45)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:176)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2386)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:210)
at android.os.Looper.loop(Looper.java:299)
at android.app.ActivityThread.main(ActivityThread.java:8252)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:559)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:954)
Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'void com.github.shadowsocks.aidl.IShadowsocksService.use(int)' on a null object reference
at com.github.shadowsocks.Shadowsocks.serviceLoad(Shadowsocks.scala:612)
at com.github.shadowsocks.Shadowsocks.updateCurrentProfile(Shadowsocks.scala:481)
at com.github.shadowsocks.Shadowsocks.onResume(Shadowsocks.scala:498)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1565)
at android.app.Activity.performResume(Activity.java:8668)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4965)
... 13 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