java.lang.RuntimeException: Unable to resume activity {com.amazon.mysampleapp/com.mysampleapp.RegisterUser}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=null} to activity {com.amazon.mysampleapp/com.mysampleapp.RegisterUser}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.List android.net.Uri.getPathSegments()' on a null object reference

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Jan Michniewicz
, 1 year ago
Unable to resume activity {com.amazon.mysampleapp/com.mysampleapp.RegisterUser}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=null} to activity {com.amazon.mysampleapp
java.lang.RuntimeException: Unable to resume activity {com.amazon.mysampleapp/com.mysampleapp.RegisterUser}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=null} to activity {com.amazon.mysampleapp/com.mysampleapp.RegisterUser}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.List android.net.Uri.getPathSegments()' on a null object reference
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3392)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3423)

Users with the same issue

3 times, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago
Samebug visitor profile picture
Unknown user
2 times, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 10 months ago
78 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.