java.lang.RuntimeException: Unable to resume activity {com.myapp.android/com.myapp.android.MainActivity}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=0, result=0, data=null} to activity {com.myapp.android/com.myapp.android.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void org.apache.cordova.CallbackContext.success(org.json.JSONArray)' on a null object reference

GitHub | Ronnnn | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Android crash: CallbackContext is null

    GitHub | 6 months ago | Ronnnn
    java.lang.RuntimeException: Unable to resume activity {com.myapp.android/com.myapp.android.MainActivity}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=0, result=0, data=null} to activity {com.myapp.android/com.myapp.android.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void org.apache.cordova.CallbackContext.success(org.json.JSONArray)' on a null object reference
  2. 0

    App crashes on Android 5.0.1

    GitHub | 6 months ago | kristiyandobrev
    java.lang.RuntimeException: Unable to resume activity {com.test.timereg/com.test.timereg.MainActivity}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=0, result=-1, data=Intent { (has extras) }} to activity {com.test.timereg/com.test.timereg.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void org.apache.cordova.CallbackContext.success(org.json.JSONArray)' on a null object reference
  3. 0

    GitHub comment 156#227296691

    GitHub | 8 months ago | Fogrunner
    java.lang.RuntimeException: Unable to resume activity {kr.co.paransoft.edit/kr.co.paransoft.edit.MainActivity}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=0, result=0, data=null} to activity {kr.co.paransoft.edit/kr.co.paransoft.edit.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'void org.apache.cordova.CallbackContext.success(org.json.JSONArray)' on a null object reference

      at com.synconset.ImagePicker.onActivityResult()
    2. com.synconset
      ImagePicker.onActivityResult
      1. com.synconset.ImagePicker.onActivityResult(ImagePicker.java:135)
      1 frame
    3. org.apache.cordova
      CordovaActivity.onActivityResult
      1. org.apache.cordova.CordovaInterfaceImpl.onActivityResult(CordovaInterfaceImpl.java:151)
      2. org.apache.cordova.CordovaActivity.onActivityResult(CordovaActivity.java:348)
      2 frames
    4. Android Platform
      ActivityThread.main
      1. android.app.Activity.dispatchActivityResult(Activity.java:6632)
      2. android.app.ActivityThread.deliverResults(ActivityThread.java:4192)
      3. android.app.ActivityThread.performResumeActivity(ActivityThread.java:3513)
      4. android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3558)
      5. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2878)
      6. android.app.ActivityThread.access$900(ActivityThread.java:181)
      7. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1482)
      8. android.os.Handler.dispatchMessage(Handler.java:102)
      9. android.os.Looper.loop(Looper.java:145)
      10. android.app.ActivityThread.main(ActivityThread.java:6145)
      10 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)
      2 frames