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 2022/06/17 14:23:02 UTC

[GitHub] [cordova-android] breautek commented on issue #1442: cordova.plugins.diagnostic causes ionic app to crash

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

   >  [FATAL:jni_android.cc(249)] Please include Java exception stack in crash report
   
   Giving the provided stracktrace, the null pointer crash appears to be coming from the android webview. So there isn't anything Cordova can do about this null pointer exception. I'd suggest ensuring you have the latest webview version available installed. For android emulators, this will involve using a newer android version with Google Play Store enabled. Sign into your google account and log into the Play Store to find updates to the webview. If the issue still persists with the latest version, the crash report should be provided to [Chromium](https://www.chromium.org/for-testers/bug-reporting-guidelines/).
   
   Presumably the null pointer exception is a side effect of another hidden issue, but if it only occurs with the `cordova.plugins.diagnostic` plugin, then it's reasonable to believe that the issue is with this third-party plugin, or at the very least a combination of this plugin and another plugin.
   
   > cordova.plugins.diagnostic: 6.0.2
   
   For what it's worth, I am using this plugin successfully in my own apps, but I'm also running the latest version, which is `6.1.1`. I'd recommend upgrading the plugin to the latest and see if this solves the issue.
   
   If the issue does still occur, then the next best course of action is to prepare a sample reproduction app using the **minimal code** necessary to reproduce the issue which can be shared and will assist in isolating the issue down. If you find that the issue still only occurs with the diagnostic plugin, then an issue should be raised against the [plugin maintainer's repository](https://github.com/dpa99c/cordova-diagnostic-plugin/issues).
   
   Closing this issue because it does not appear to be a bug against cordova-android.


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

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