java.lang.RuntimeException

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


Solutions on the web49834

Solution icon of github
via GitHub by Nxt3
, 11 months 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

Solution icon of github
Failure delivering result ResultInfo{who=null, request=3, result=0, data=null} to activity {me.ccrama.redditslide/me.ccrama.redditslide.Activities.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.design.widget.TabLayout.setupWithViewPager(android.support.v4.view.ViewPager)' on a null object reference

Solution icon of stackoverflow
/com.example.infinity.ilfms.views.material_collected.MaterialCollectedActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.EditText.setText(java.lang.CharSequence)' on a null object reference

Solution icon of stackoverflow
via Stack Overflow by August
, 1 year ago
/com.example.habibah.uploadtoserverv4.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object reference

Solution icon of apache
via cordova-dev by Dan Polivy, 1 year ago
Failure delivering result ResultInfo{who=null, request=34, result=-1, data=null} to activity {<app>}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.net.Uri.toString()' on a null object reference

Solution icon of github
/com.esafirm.sample.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.contains(java.lang.CharSequence)' on a null object reference

Solution icon of stackoverflow
/ru.kvartirka.android_new.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.View.setVisibility(int)' on a null object reference

Solution icon of web
via google.com by Unknown author, 1 year ago
{com.bachtrieuphat.hayhaytv/com.bachtrieuphat.hayhaytv.movies.FilmDetailActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.bachtrieuphat.hayhaytv.simple_facebook.SimpleFacebook.onActivityResult(int, int, android.content.Intent)' on a null object reference

Solution icon of github
via GitHub by kwontaewan
, 1 year ago
{com.teamnova.gunter.glidetest/com.sangcomz.fishbun.ui.picker.PickerActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.sangcomz.fishbun.adapter.PickerGridAdapter.addImage(java.lang.String)' on a null object reference

Solution icon of github
/com.sangcomz.fishbun.ui.picker.PickerActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.sangcomz.fishbun.adapter.PickerGridAdapter.addImage(java.lang.String)' on a null object reference

Stack trace

  • java.lang.RuntimeException: 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 at android.app.ActivityThread.deliverResults(ActivityThread.java:3699) at android.app.ActivityThread.handleSendResult(ActivityThread.java:3742)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 8 months ago
15 times, 1 year ago
3 times, 1 year ago
Once, 1 year ago
8 times, 1 year ago
22 more bugmates