java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { dat=content://com.google.android.apps.photos.contentprovider/-1/1/content://media/external/file/3508/ORIGINAL/NONE/605209574 flg=0x1 clip={text/uri-list U:content://com.google.android.apps.photos.contentprovider/-1/1/content%3A%2F%2Fmedia%2Fexternal%2Ffile%2F3508/ORIGINAL/NONE/605209574} }} to activity {in.mydiscover.discover_branding/in.mydiscover.discover_branding.ProfilePage}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.graphics.Bitmap.compress(android.graphics.Bitmap$CompressFormat, int, java.io.OutputStream)' 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

Samebug tips

,

IllegalArgumentException in Java. This exception is thrown in order to indicate that a method has been passed an illegal or inappropriate argument.

Solutions on the web

via Stack Overflow by Rajpal Singh
, 1 year ago
Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { dat=content://com.google.android.apps.photos.contentprovider/-1/1/content://media/external/file/3508/ORIGINAL/NONE/605209574 flg=0x1 clip={text/uri-list U:content
via Stack Overflow by Himanshu Agnihotri
, 1 year ago
Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { dat=content://com.google.android.apps.photos.contentprovider/-1/1/content://media/external/file/107745/ORIGINAL/NONE/2008282015 flg=0x1 clip={text/uri-list U:content
via Stack Overflow by Sathya Baman
, 1 year ago
Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { dat=content://com.google.android.apps.photos.contentprovider/-1/1/content://media/external/file/213/ORIGINAL/NONE/1958544359 flg=0x1 clip={text/uri-list U:content
via GitHub by shasderias
, 3 months ago
Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { dat=content://com.google.android.apps.photos.contentprovider/-1/1/content://media/external/file/116/ORIGINAL/NONE/1993790720 flg=0x1 clip={text/uri-list U:content
via Stack Overflow by santafebound
, 9 months ago
Failure delivering result ResultInfo{who=null, request=2, result=-1, data=Intent { dat=content://com.google.android.apps.photos.contentprovider/-1/1/content://media/external/images/media/197149/ORIGINAL/NONE/724456777 flg=0x1 clip={text/uri-list
via GitHub by derekcsm
, 1 year ago
/uri-list U:content://com.google.android.apps.photos.contentprovider/1/1/mediakey%3A%2FAF1QipOAj-CrbFeuqSDgkDhrqOb3dFKLzyNuQbr8afof/ORIGINAL/NONE/412820524} }} to activity {com.airy.messenger/com.airy.messenger.channel.ChannelActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'char[] java.lang.String.toCharArray()' on a null object reference
java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { dat=content://com.google.android.apps.photos.contentprovider/-1/1/content://media/external/file/3508/ORIGINAL/NONE/605209574 flg=0x1 clip={text/uri-list U:content://com.google.android.apps.photos.contentprovider/-1/1/content%3A%2F%2Fmedia%2Fexternal%2Ffile%2F3508/ORIGINAL/NONE/605209574} }} to activity {in.mydiscover.discover_branding/in.mydiscover.discover_branding.ProfilePage}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.graphics.Bitmap.compress(android.graphics.Bitmap$CompressFormat, int, java.io.OutputStream)' on a null object reference
at android.app.ActivityThread.deliverResults(ActivityThread.java:3699)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:3742)

Users with the same issue

Once, 3 weeks ago
2 times, 5 months ago
6 times, 10 months ago
81 times, 11 months ago
2 times, 1 year ago

Write tip

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