java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=65637, result=-1, data=null} to activity {org.open311.android/org.open311.android.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.net.Uri android.content.Intent.getData()' 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 GitHub by milovanderlinden
, 9 months ago
Failure delivering result ResultInfo{who=null, request=65637, result=-1, data=null} to activity {org.open311.android/org.open311.android.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.net.Uri android.content.Intent.getData()' on a null object reference
via Stack Overflow by Gideon Steven Tobing
, 1 year ago
Failure delivering result ResultInfo{who=null, request=1, result=0, data=null} to activity {com.don.cropping/com.don.cropping.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.net.Uri android.content.Intent.getData()' on a null object reference
via GitHub by rivaldi8
, 1 year ago
Failure delivering result ResultInfo{who=null, request=1, result=0, data=null} to activity {org.gnucash.android.devel/org.gnucash.android.ui.account.AccountsActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.net.Uri android.content.Intent.getData()' on a null object reference
via Stack Overflow by Sathwik Gangisetty
, 4 months ago
Failure delivering result ResultInfo{who=null, request=100, result=-1, data=null} to activity {com.example.sathwik.uploadtrail1/com.example.sathwik.uploadtrail1.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.net.Uri android.content.Intent.getData()' on a null object reference
via GitHub by baoti
, 1 year ago
Failure delivering result ResultInfo{who=android:fragment:0, request=126, result=-1, data=Intent { dat=content://media/external/images/media/27659 }} to activity {com.bluelinelabs.conductor.demo/com.bluelinelabs.conductor.demo.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ImageView.setImageURI(android.net.Uri)' on a null object reference
via Stack Overflow by Neil Rauch
, 1 year ago
Failure delivering result ResultInfo{who=null, request=1, result=0, data=null} to activity {fastner.israel.nir_zabari.onelove/fastner.israel.nir_zabari.onelove.SituationStatusActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.graphics.Bitmap.getWidth()' on a null object reference
java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=65637, result=-1, data=null} to activity {org.open311.android/org.open311.android.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.net.Uri android.content.Intent.getData()' on a null object reference
at org.open311.android.fragments.ReportFragment.onActivityResult(ReportFragment.java:971)
at org.open311.android.MainActivity.onActivityResult(MainActivity.java:232)
at android.app.Activity.dispatchActivityResult(Activity.java:6193)
at android.app.ActivityThread.deliverResults(ActivityThread.java:3570)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:3617)
at android.app.ActivityThread.access$1300(ActivityThread.java:151)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1352)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5254)
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:904)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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