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

Stack Overflow | G.Al | 3 months ago
  1. 0

    how to load a picture captured from camera in another activity on image view?

    Stack Overflow | 3 months ago | G.Al
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { act=inline-data (has extras) }} to activity {com.example.gentaliu.photoeditor/com.example.gentaliu.photoeditor.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.net.Uri.getScheme()' on a null object reference
  2. 0

    How to select an image from gallery or to capture a photo and then to display it in another activity full quality

    Stack Overflow | 3 months ago | G.Al
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { act=inline-data (has extras) }} to activity {com.example.gentaliu.photoeditor/com.example.gentaliu.photoeditor.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.net.Uri.getScheme()' on a null object reference
  3. 0

    Error while sending picture to webserver in android

    Stack Overflow | 2 years ago
    java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.net.Uri.getScheme()' on a null object reference
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android: Error upload image in different android versions

    Stack Overflow | 2 years ago | Thiago Moraes
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=2, result=-1, data=Intent { act=inline-data (has extras) }} to activity {br.gov.rj.barraemexposicao/br.gov.rj.barraemexposicao.EnviaFoto}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.net.Uri.getScheme()' on a null object reference
  6. 0

    An error occurred while do in background android .working with loaders

    Stack Overflow | 1 year ago | Mohab Mohamed
    java.lang.RuntimeException: An error occured while executing doInBackground()

  1. Stefan Braune 1 times, last 9 months ago
2 unregistered visitors
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.acquireUnstableProvider()
  2. Android Platform
    ContentResolver.query
    1. android.content.ContentResolver.acquireUnstableProvider(ContentResolver.java:1477)
    2. android.content.ContentResolver.query(ContentResolver.java:473)
    3. android.content.ContentResolver.query(ContentResolver.java:426)
    3 frames
  3. com.example.ga
    MainActivity.onActivityResult
    1. com.example.ga.photoeditor.MainActivity.getRealPathFromURI(MainActivity.java:96)
    2. com.example.ga.photoeditor.MainActivity.onActivityResult(MainActivity.java:69)
    2 frames
  4. Android Platform
    ActivityThread.deliverResults
    1. android.app.Activity.dispatchActivityResult(Activity.java:6320)
    2. android.app.ActivityThread.deliverResults(ActivityThread.java:3836)
    2 frames