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

Stack Overflow | Rikhil Shah | 3 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

    Android Studio Image Capture And Firebase Upload + Retrieving

    Stack Overflow | 3 months ago | Rikhil Shah
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { act=inline-data (has extras) }} to activity {com.example.rikhi.chores/com.example.rikhi.chores.LoginRegister.InsideMainActivity.LeaderboardActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.net.Uri.getLastPathSegment()' on a null object reference
  2. 0

    Capture Image, Upload To Firebase And Retrieve Java Android Studio

    Stack Overflow | 3 months ago | Rikhil Shah
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { act=inline-data (has extras) }} to activity {com.example.rikhi.chores/com.example.rikhi.chores.LoginRegister.InsideMainActivity.LeaderboardActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.net.Uri.getLastPathSegment()' on a null object reference
  3. 0

    getPhotoUrl NullPointerException in Android for Hosted Domain Accounts

    GitHub | 1 year ago | daphil19
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=9001, result=-1, data=Intent { (has extras) }} to activity {com.example.app/com.example.app.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.net.Uri.toString()' on a null object reference
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ‘Failure delivering result ResultInfo’ once then works normally after crash

    Stack Overflow | 2 weeks ago | Lord_Gama
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=74538, result=-1, data=Intent { act=inline-data (has extras) }} to activity {com.mydomain/com.mydomain.CaptureWizard}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.io.File.getAbsolutePath()' on a null object reference
  6. 0

    Android app is crashing soon after the app starts

    Stack Overflow | 7 months ago | Swastik Udupa
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=64206, result=-1, data=Intent { (has extras) }} to activity {com.example.android.arogyam/com.example.android.arogyam.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.Throwable.toString()' on a null object reference

  1. Adrien 6 times, last 3 months ago
  2. gamebusterz 81 times, last 4 months ago
  3. malhobayyeb 2 times, last 5 months ago
  4. emmanuelstroem 2 times, last 9 months ago
  5. Ranjana Dangol 4 times, last 10 months ago
8 more registered users
1 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.RuntimeException

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

    at android.app.ActivityThread.deliverResults()
  2. Android Platform
    ActivityThread.handleSendResult
    1. android.app.ActivityThread.deliverResults(ActivityThread.java:4089)
    2. android.app.ActivityThread.handleSendResult(ActivityThread.java:4132)
    2 frames