This repository was archived by the owner on Nov 11, 2019. It is now read-only.
Description I get this error and it seems to be when the webview is unmounting.
Attempt to write to field 'java.util.ArrayList im.shimo.react.webview.AdvancedWebViewManager$AdvancedWebViewClient.mPendingMessages' on a null object reference
onDropViewInstance
AdvancedWebViewManager.java:463
onDropViewInstance
AdvancedWebViewManager.java:48
dropView
NativeViewHierarchyManager.java:573
dropView
NativeViewHierarchyManager.java:584
dropView
NativeViewHierarchyManager.java:584
dropView
NativeViewHierarchyManager.java:584
dropView
NativeViewHierarchyManager.java:584
dropView
NativeViewHierarchyManager.java:584
manageChildren
NativeViewHierarchyManager.java:470
execute
UIViewOperationQueue.java:227
run
UIViewOperationQueue.java:894
flushPendingBatches
UIViewOperationQueue.java:1001
access$2400
UIViewOperationQueue.java:46
doFrameGuarded
UIViewOperationQueue.java:1061
doFrame
GuardedFrameCallback.java:29
doFrame
ReactChoreographer.java:134
doFrame
ChoreographerCompat.java:105
run
Choreographer.java:947
doCallbacks
Choreographer.java:761
doFrame
Choreographer.java:693
run
Choreographer.java:935
handleCallback
Handler.java:873
dispatchMessage
Handler.java:99
loop
Looper.java:193
main
ActivityThread.java:6669
invoke
Method.java
run
RuntimeInit.java:493
main
ZygoteInit.java:858
The React Native Repo has an issue open here . Any advice would be greatly appreciated, especially if anyone has seen this before.
Using:
React Native: 0.57.7
React: 16.6.3
android {
compileSdkVersion 26
buildToolsVersion '27.0.3'
defaultConfig {
minSdkVersion 21
targetSdkVersion 26
versionCode 1
versionName version
multiDexEnabled true
ndk {
abiFilters "armeabi-v7a", "x86"
}
}
}
Reactions are currently unavailable
I get this error and it seems to be when the
webviewis unmounting.The React Native Repo has an issue open here. Any advice would be greatly appreciated, especially if anyone has seen this before.
Using: