java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 156#227296691
    via GitHub by Fogrunner
    ,
    • 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 at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3527) at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3558) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2878) at android.app.ActivityThread.access$900(ActivityThread.java:181) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1482) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:145) at android.app.ActivityThread.main(ActivityThread.java:6145) 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) Caused by: 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 at android.app.ActivityThread.deliverResults(ActivityThread.java:4196) at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3513) ... 11 more Caused by: 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(ImagePicker.java:135) at org.apache.cordova.CordovaInterfaceImpl.onActivityResult(CordovaInterfaceImpl.java:151) at org.apache.cordova.CordovaActivity.onActivityResult(CordovaActivity.java:348) at android.app.Activity.dispatchActivityResult(Activity.java:6632) at android.app.ActivityThread.deliverResults(ActivityThread.java:4192) ... 12 more
    No Bugmate found.