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.

  • Send capture image as a uri?
    via Stack Overflow by Filipe Costa
    ,
    • 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 at android.app.ActivityThread.deliverResults(ActivityThread.java:3790) at android.app.ActivityThread.handleSendResult(ActivityThread.java:3833) at android.app.ActivityThread.access$1700(ActivityThread.java:152) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1390) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5538) 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:960) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755) Caused by: 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(ContentResolver.java:641) at android.provider.MediaStore$Images$Media.getBitmap(MediaStore.java:849) at com.hey.heypickup.Activities.MainActivity.onActivityResult(MainActivity.java:128) at android.app.Activity.dispatchActivityResult(Activity.java:6238) at android.app.ActivityThread.deliverResults(ActivityThread.java:3786) ... 10 more

    Users with the same issue

    Akshay
    3 times, last one,
    bayukresno
    4 times, last one,
    Unknown visitor1 times, last one,
    balajivaishnav
    4 times, last one,
    Unknown visitor1 times, last one,