Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-12754

inAppBrowser crashing on Android

    XMLWordPrintableJSON

Details

    Description

      Using cordova-plugin-inappbrowser version 1.7.0

      Getting many crash reports from Google play store with following stack trace:

      java.lang.NullPointerException: Attempt to invoke virtual method 'void org.apache.cordova.inappbrowser.InAppBrowserDialog.show()' on a null object reference
      at org.apache.cordova.inappbrowser.InAppBrowser$2.run(InAppBrowser.java:257)
      at android.os.Handler.handleCallback(Handler.java:739)
      at android.os.Handler.dispatchMessage(Handler.java:95)
      at android.os.Looper.loop(Looper.java:145)
      at android.app.ActivityThread.main(ActivityThread.java:6126)
      at java.lang.reflect.Method.invoke(Native Method)
      at java.lang.reflect.Method.invoke(Method.java:372)
      at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)
      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)

      The issue appears on many versions of Android including 4.4, 5.1, 6.0, & 7.0.

      You can try the app from the Google Play store: "cargurus"

      I am unable to reproduce the error myself, but 25 users/day are reporting it.

      Attachments

        Activity

          People

            Unassigned Unassigned
            olszowka Peter Olszowka
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: