You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/06/27 01:06:22 UTC

[GitHub] [cordova-android] breautek commented on issue #1002: NullPointerException: 'void android.app.Activity.runOnUiThread(java.lang.Runnable)' on a null object reference

breautek commented on issue #1002:
URL: https://github.com/apache/cordova-android/issues/1002#issuecomment-650467372


   When doing that on the android simulator, I run into a different crash stacktrace
   
   ```
   D/CordovaActivity: Paused the activity.
   D/CordovaActivity: Stopped the activity.
   D/CordovaActivity: CordovaActivity.onDestroy()
   D/CordovaWebViewImpl: >>> loadUrl(about:blank)
   W/cr_AwContents: WebView.destroy() called while WebView is still attached to window.
   W/cr_AwContents: Application attempted to call on a destroyed WebView
       java.lang.Throwable
           at org.chromium.android_webview.AwContents.t(chromium-TrichromeWebViewGoogle.apk-stable-410404481:2)
           at Mt.loadingStateChanged(chromium-TrichromeWebViewGoogle.apk-stable-410404481:2)
           at android.os.MessageQueue.nativePollOnce(Native Method)
           at android.os.MessageQueue.next(MessageQueue.java:335)
           at android.os.Looper.loop(Looper.java:183)
           at android.app.ActivityThread.main(ActivityThread.java:7523)
           at java.lang.reflect.Method.invoke(Native Method)
           at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
           at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941)
   E/chromium: [ERROR:aw_browser_terminator.cc(125)] Renderer process (5916) crash detected (code -1).
   ```
   
   Maybe this depends on the API level of the device and/or the installed chrome version though. It kinda seems related.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org