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

CordovaWebView crashes on handlePause

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.7.1
    • Fix Version/s: None
    • Component/s: cordova-lib
    • Labels:
      None
    • Environment:

      Android

      Description

      We use the Cordova framework in our company and our Android app, and with the recent upgrade to version 3.7.1 of the framework we've seen that sometimes when our app calls the handlePause() method on the WebView, a NullPointerException is thrown in it due to the pluginManager object being null. This only seems to happen sometimes when onSaveInstanceState() is called in our app (which then calls handlePause() in the CordovaWebView).

      Here's a link to the stack trace and error message that we get: http://pastebin.com/ceDSmeJm

        Attachments

          Activity

            People

            • Assignee:
              agrieve Andrew Grieve
              Reporter:
              simba909 Simon Jarbrant
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: