java.lang.RuntimeException: 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

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 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 Vadim L.
, 1 year ago
Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { dat=content://media/external/images/media/20 flg=0x1 }} to activity {com.vadimsleonovs.horoscope/com.vadimsleonovs.horoscope.activities.SettingsActivity
via Stack Overflow by Rahul Solanki
, 1 year ago
Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { dat=content://media/external/images/media/14963 flg=0x1 }} to activity {net.viralpatel.android.imagegalleray
via textsave.org by Unknown author, 1 year ago
Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { dat=content://com.android.contacts/contacts/lookup/3789r3128-272B4D294943272D2927412D/2428 flg=0x1 }} to activity {fake.call.sms.fakecallandsmspro
via Stack Overflow by Darshan Gowda
, 2 years ago
Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { dat=content://com.android.contacts/contacts/lookup/3789r3128-272B4D294943272D2927412D/2428 flg=0x1 }} to activity {fake.call.sms.fakecallandsmspro
via Stack Overflow by August
, 2 years ago
Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { dat=content://com.android.externalstorage.documents/document/1504-0F18:8MSFDPo.jpg flg=0x1 }} to activity {com.example.habibah.uploadtoserverv4
java.lang.RuntimeException: 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
at com.bluelinelabs.conductor.demo.controllers.TargetDisplayController.setImageView(TargetDisplayController.java:98)
at com.bluelinelabs.conductor.demo.controllers.TargetDisplayController.onActivityResult(TargetDisplayController.java:68)
at com.bluelinelabs.conductor.Router.onActivityResult(Router.java:52)
at com.bluelinelabs.conductor.internal.LifecycleHandler.onActivityResult(LifecycleHandler.java:130)
at android.app.Activity.dispatchActivityResult(Activity.java:6145)
at android.app.ActivityThread.deliverResults(ActivityThread.java:3538)

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.