java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=null} to activity {com.xxx.xxx/com.xxx.xxx.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.ClipData android.content.Intent.getClipData()' 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 superandrew213
, 1 year ago
Failure delivering result ResultInfo{who=null, request=1, result=-1, data=null} to activity {com.xxx.xxx/com.xxx.xxx.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.ClipData android.content.Intent.getClipData()' on a null object reference
via Stack Overflow by user3357003
, 1 year ago
Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { dat=content://com.android.contacts/contacts/lookup/0r1-3B31315329433D5141294B41/1 flg=0x1 }} to activity {com.example.phone/com.example.phone.PhoneActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void java.io.InputStream.close()' on a null object reference
via Stack Overflow by Rikhil Shah
, 9 months ago
Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { act=inline-data (has extras) }} to activity {com.example.rikhi.chores/com.example.rikhi.chores.LoginRegister.InsideMainActivity.LeaderboardActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.net.Uri.getLastPathSegment()' on a null object reference
via GitHub by Nxt3
, 1 year ago
Failure delivering result ResultInfo{who=null, request=2001, result=-1, data=null} to activity {me.ccrama.redditslide/me.ccrama.redditslide.Activities.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.EditText.setText(java.lang.CharSequence)' on a null object reference
via GitHub by morelazers
, 1 year ago
Failure delivering result ResultInfo{who=null, request=2, result=-1, data=null} to activity {com.challengr/com.challengr.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'char[] java.lang.String.toCharArray()' on a null object reference
via GitHub by 769824456
, 1 year ago
Failure delivering result ResultInfo{who=null, request=1793, result=-1, data=Intent { dat=content://com.google.android.apps.docs.storage/document/acc=1;doc=6 flg=0x1 }} to activity {win.yulongsun.demoimagepicker
java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=null} to activity {com.xxx.xxx/com.xxx.xxx.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.ClipData android.content.Intent.getClipData()' on a null object reference
at android.app.ActivityThread.deliverResults(ActivityThread.java:4053)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:4096)

Users with the same issue

2 times, 4 months ago
4 times, 1 year ago
3 times, 1 year ago
8 times, 1 year ago
15 times, 1 year ago
22 more bugmates

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