Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

[Android] Fix potential NPE #2663

Merged
merged 1 commit into from Jul 9, 2019

Conversation

YorkShen
Copy link
Contributor

@YorkShen YorkShen commented Jul 9, 2019

java.lang.RuntimeException: android.os.DeadSystemException
at android.app.ActivityThread.performPauseActivityIfNeeded(ActivityThread.java:4103)
at android.app.ActivityThread.performPauseActivity(ActivityThread.java:4069)
at android.app.ActivityThread.performPauseActivity(ActivityThread.java:4043)
at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:4017)
at android.app.ActivityThread.-wrap18(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1640)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6646)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1468)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1358)
Caused by: java.lang.RuntimeException: android.os.DeadSystemException
at android.app.ContextImpl.sendBroadcast(ContextImpl.java:915)
at android.content.ContextWrapper.sendBroadcast(ContextWrapper.java:452)
at com.taobao.weex.WXSDKInstance.onActivityPause(WXSDKInstance.java:1324)

@lucky-chen lucky-chen merged commit ce01b5b into apache:master Jul 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants