java.lang.RuntimeException: Unable to resume activity {com.teamnova.gunter.glidetest/com.sangcomz.fishbun.ui.picker.PickerActivity}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=128, result=-1, data=null} to activity {com.teamnova.gunter.glidetest/com.sangcomz.fishbun.ui.picker.PickerActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.sangcomz.fishbun.adapter.PickerGridAdapter.addImage(java.lang.String)' on a null object reference

GitHub | kwontaewan | 8 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

    카메라촬영시 에러

    GitHub | 8 months ago | kwontaewan
    java.lang.RuntimeException: Unable to resume activity {com.teamnova.gunter.glidetest/com.sangcomz.fishbun.ui.picker.PickerActivity}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=128, result=-1, data=null} to activity {com.teamnova.gunter.glidetest/com.sangcomz.fishbun.ui.picker.PickerActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.sangcomz.fishbun.adapter.PickerGridAdapter.addImage(java.lang.String)' on a null object reference
  2. 0

    GitHub comment 17#202910397

    GitHub | 11 months ago | amarantedaniel
    java.lang.RuntimeException: Unable to resume activity {com.myapp.local.debug/com.sangcomz.fishbun.ui.picker.PickerActivity}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=128, result=-1, data=null} to activity {com.myapp.local.debug/com.sangcomz.fishbun.ui.picker.PickerActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.sangcomz.fishbun.adapter.PickerGridAdapter.addImage(java.lang.String)' on a null object reference

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'void com.sangcomz.fishbun.adapter.PickerGridAdapter.addImage(java.lang.String)' on a null object reference

      at com.sangcomz.fishbun.ui.picker.PickerActivity.onActivityResult()
    2. com.sangcomz.fishbun
      PickerActivity.onActivityResult
      1. com.sangcomz.fishbun.ui.picker.PickerActivity.onActivityResult(PickerActivity.java:75)
      1 frame
    3. Android Platform
      ActivityThread.main
      1. android.app.Activity.dispatchActivityResult(Activity.java:6549)
      2. android.app.ActivityThread.deliverResults(ActivityThread.java:4063)
      3. android.app.ActivityThread.performResumeActivity(ActivityThread.java:3389)
      4. android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3434)
      5. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2772)
      6. android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:4471)
      7. android.app.ActivityThread.access$1000(ActivityThread.java:177)
      8. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1455)
      9. android.os.Handler.dispatchMessage(Handler.java:102)
      10. android.os.Looper.loop(Looper.java:145)
      11. android.app.ActivityThread.main(ActivityThread.java:5951)
      11 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    5. Android
      ZygoteInit$MethodAndArgsCaller.run
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)
      1 frame