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

  1. ,

    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 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 GitHub by Dexus
, 2 weeks ago
Failure delivering result ResultInfo{who=null, request=10001, result=0, data=Intent { (has extras) }} to activity {com.xxx.xxx/com.xxx.xxx.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.smartmobilesoftware.util.IabHelper.handleActivityResult(int, int, android.content.Intent)' on a null object reference
via Stack Overflow by Eric
, 1 month ago
Failure delivering result ResultInfo{who=null, request=1, result=-1, data=null} to activity {com.example.tauheed.cameraapplication/com.example.tauheed.cameraapplication.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.os.Bundle android.content.Intent.getExtras()' on a null object reference
via Stack Overflow by user3357003
, 2 years 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
, 1 year 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
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)