Skip to content
This repository has been archived by the owner on May 9, 2022. It is now read-only.

Attempt to write to field 'java.util.ArrayList im-shimo.react.webview.AdvancedWebViewManager $AdvancedWebViewCLient.mPendingMessages' on null object reference #3

Open
FerHernandezT opened this issue Sep 24, 2018 · 2 comments

Comments

@FerHernandezT
Copy link

<View style={{flex:1}}> <OfflineCacheWebView style={{width:window.width, height:window.height - 70}} source={{uri: 'http://facebook.github.io/react-native/blog/2018/06/14/state-of-react-native-2018'}} javaScriptEnabled={true} injectedJavaScript={injectScript} onMessage={this.onMessage} startInLoadingState={true} renderLoading={()=>this.indicador()} /> </View>

The webview charges me very well. Only when I turn back the scene does this message appear to me.

@halk
Copy link

halk commented Nov 20, 2018

Did you find a workaround for this?

@rsanath
Copy link

rsanath commented Nov 21, 2018

I put the java code inside a try catch block as a temporary workaround. It didn't affect the performance as far as I saw.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants