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. ,
    via Stack Overflow by CommonsWare

    Try loading the text file into a WebView, then printing the contents of the WebView.

Solutions on the web

via Stack Overflow by Thin Lai Wai Oo
, 1 year ago
Unable to start activity ComponentInfo{sg.gov.mfa/sg.gov.mfa.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
via Stack Overflow by Raunak
, 2 years ago
Unable to start activity ComponentInfo{com.example.goon/com.example.goon.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.text.Editable android.widget.EditText.getText()' on a null object reference
via GitHub by gerroon
, 1 year ago
Unable to start activity ComponentInfo{com.nutomic.syncthingandroid/com.nutomic.syncthingandroid.activities.SettingsActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.hashCode()' on a null object reference
via Stack Overflow by Neelay Srivastava
, 7 months ago
Unable to start activity ComponentInfo{unnion.neelay.beatbox/unnion.neelay.beatbox.ringdroid.RingdroidSelectActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
via Stack Overflow by Amie Greenfaery
, 3 months ago
Unable to start activity ComponentInfo{com.example.android.courtcounter/com.example.android.courtcounter.MainActivity}: android.view.InflateException: Binary XML file line #0: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
via Stack Overflow by Rajat Raturi
, 2 months ago
Unable to start activity ComponentInfo{com.example.rajatraturi.myrestaur/com.example.rajatraturi.myrestaur.FoodDetail}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.isEmpty()' on a null object reference
java.lang.RuntimeException: Unable to start activity ComponentInfo{sg.gov.mfa/sg.gov.mfa.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)	at android.app.ActivityThread.access$900(ActivityThread.java:150)	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)	at android.os.Handler.dispatchMessage(Handler.java:102)	at android.os.Looper.loop(Looper.java:148)	at android.app.ActivityThread.main(ActivityThread.java:5417)	at java.lang.reflect.Method.invoke(Native Method)