java.lang.NullPointerException: Attempt to invoke virtual method 'void org.apache.cordova.CallbackContext.error(org.json.JSONObject)' on a null object reference tat cordova.plugin.RequestLocationAccuracy.handleError(RequestLocationAccuracy.java:216)

GitHub | grassick | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Fails to handle error correctly if Google Play outdated

    GitHub | 8 months ago | grassick
    java.lang.NullPointerException: Attempt to invoke virtual method 'void org.apache.cordova.CallbackContext.error(org.json.JSONObject)' on a null object reference tat cordova.plugin.RequestLocationAccuracy.handleError(RequestLocationAccuracy.java:216)

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'void org.apache.cordova.CallbackContext.error(org.json.JSONObject)' on a null object reference tat cordova.plugin.RequestLocationAccuracy.handleError(RequestLocationAccuracy.java:216)

      at cordova.plugin.RequestLocationAccuracy.onConnectionFailed()
    2. cordova.plugin
      RequestLocationAccuracy.onConnectionFailed
      1. cordova.plugin.RequestLocationAccuracy.onConnectionFailed(RequestLocationAccuracy.java:442)
      1 frame