java.lang.RuntimeException: Unable to resume activity {<app>}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=34, result=-1, data=null} to activity {<app>}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.net.Uri.toString()' 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 cordova-dev by Dan Polivy, 1 year ago
Unable to resume activity {<app>}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=34, result=-1, data=null} to activity {<app>}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.net.Uri.toString()' on a null object reference
via Apache's JIRA Issue Tracker by Victor Ros, 1 year ago
Unable to resume activity {my.application.appXXX.bip.mobileClient/my.application.appXXX.bip.mobileClient.MainActivity}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=34, result=-1, data=null} to activity
via GitHub by marc0s
, 2 years ago
Unable to resume activity {eu.siacs.conversations/eu.siacs.conversations.ui.ConversationActivity}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=258, result=-1, data=Intent { (has extras) }} to activity
via GitHub by tjwoon
, 1 day ago
Unable to resume activity {my.com.tgv.app/my.com.tgv.app.MainActivity}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=321, result=1, data=Intent { (has extras) }} to activity {my.com.tgv.app
via GitHub by BishopGIS
, 1 year ago
Unable to resume activity {com.nextgis.forestinspector/com.nextgis.forestinspector.activity.SheetCreatorActivity}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1102, result=0, data=null} to activity
via GitHub by BishopGIS
, 1 year ago
Unable to resume activity {com.nextgis.forestinspector/com.nextgis.forestinspector.activity.SheetCreatorActivity}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1102, result=0, data=null} to activity
java.lang.RuntimeException: Unable to resume activity {<app>}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=34, result=-1, data=null} to activity {<app>}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.net.Uri.toString()' on a null object reference
at org.apache.cordova.camera.CameraLauncher.processResultFromCamera(CameraLauncher.java:445)
at org.apache.cordova.camera.CameraLauncher.onActivityResult(CameraLauncher.java:674)
at org.apache.cordova.CordovaInterfaceImpl.onActivityResult(CordovaInterfaceImpl.java:120)
at org.apache.cordova.CordovaActivity.onActivityResult(CordovaActivity.java:321)
at android.app.Activity.dispatchActivityResult(Activity.java:6475)
at android.app.ActivityThread.deliverResults(ActivityThread.java:3973)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3335)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3380)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2731)
at android.app.ActivityThread.access$900(ActivityThread.java:172)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1421)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:145)
at android.app.ActivityThread.main(ActivityThread.java:5835)
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:1388)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1183)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

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