java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=203, result=-1, data=Intent { (has extras) }} to activity {com.hey.heypickup/com.hey.heypickup.Activities.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.net.Uri.getScheme()' on a null object reference

Stack Overflow | kamran | 1 month ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    How to upload image taken from camera to server using retrofit

    Stack Overflow | 3 months ago | SudheeshR
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null,request=66546,result=-1,data=Intent{act=inline-data(has extras)}}to activity{package/package.MainActivity}:java.lang.NullPointerException:uri
  2. 0

    null pointer exception on facebook getactivity result

    Stack Overflow | 2 years ago | user1455450
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=64206, result=-1, data=Intent { (has extras) }} to activity {com.splitrides/com.splitrides.MainActivity}: java.lang.NullPointerException
  3. 0

    android softwaredevelopment : null pointer exception on facebook getactivity result

    blogspot.com | 1 year ago
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=64206, result=-1, data=Intent { (has extras) }} to activity {com.splitrides/com.splitrides.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Surprising Exception : Attempt to invoke virtual method 'java.lang.String android.net.Uri.getScheme()' on a null object reference

    Stack Overflow | 1 month ago | kamran
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=203, result=-1, data=Intent { (has extras) }} to activity {com.hey.heypickup/com.hey.heypickup.Activities.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.net.Uri.getScheme()' on a null object reference
  6. 0

    Failure delivering result ResultInfo who=null, request=2, result=-1, data=Intent

    Stack Overflow | 5 years ago | malli
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=2, result=-1, data=Intent { (has extras) }} to activity {com.youtube/com.youtube.YoutubeActivity}: java.lang.NullPointerException
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 'java.lang.String android.net.Uri.getScheme()' on a null object reference

    at android.content.ContentResolver.openInputStream()
  2. Android Platform
    MediaStore$Images$Media.getBitmap
    1. android.content.ContentResolver.openInputStream(ContentResolver.java:641)
    2. android.provider.MediaStore$Images$Media.getBitmap(MediaStore.java:849)
    2 frames
  3. com.hey.heypickup
    MainActivity.onActivityResult
    1. com.hey.heypickup.Activities.MainActivity.onActivityResult(MainActivity.java:128)
    1 frame
  4. Android Platform
    ActivityThread.main
    1. android.app.Activity.dispatchActivityResult(Activity.java:6238)
    2. android.app.ActivityThread.deliverResults(ActivityThread.java:3786)
    3. android.app.ActivityThread.handleSendResult(ActivityThread.java:3833)
    4. android.app.ActivityThread.access$1700(ActivityThread.java:152)
    5. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1390)
    6. android.os.Handler.dispatchMessage(Handler.java:102)
    7. android.os.Looper.loop(Looper.java:135)
    8. android.app.ActivityThread.main(ActivityThread.java:5538)
    8 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:960)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
    2 frames