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 | 7 months ago
  1. 0

    카메라촬영시 에러

    GitHub | 7 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 | 10 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
  3. 0
    Use 'dialog' to access views from custom_layout layout.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    The resource was accessed after it was dismissed.
  6. 0
    Initialize the variable before calling a method on it.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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