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 | 10 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Fails to handle error correctly if Google Play outdated

    GitHub | 10 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