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. ,

    Create an empty public constructor in your code.

Solutions on the web

via GitHub by pedroliman
, 1 year ago
Unable to start activity ComponentInfo{org.avaliabrasil.avaliabrasil2/org.avaliabrasil.avaliabrasil2.avb.activity.EvaluationActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.os.Bundle.getString(java.lang.String, java.lang.String)' on a null object reference
via Stack Overflow by ahmed jallad
, 3 months ago
Unable to start activity ComponentInfo{com.example.junaida.project1/com.example.junaida.project1.Year}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.os.Bundle.getString(java.lang.String)' on a null object reference
via Stack Overflow by Abhi
, 1 year ago
Unable to start activity ComponentInfo{com.example.abhishek.httpclient/com.example.abhishek.httpclient.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.database.Cursor
via Stack Overflow by Pavithran
, 1 year ago
Unable to start activity ComponentInfo{com.test.tax/com.test.tax.displayProfit}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.os.Bundle.getString(java.lang.String)' on a null object reference
via inducesmile.com by Unknown author, 1 year ago
Unable to start activity ComponentInfo{inducesmile.com.androidloginandregistration/inducesmile.com.androidloginandregistration.LoginActivity}: java.lang.NullPointerException: Attempt to invoke virtual methodjava.lang.String android.os.Bundle.getString(java.lang.String)’ on a null object reference
via Stack Overflow by Mirza Hamza
, 1 year ago
Unable to start activity ComponentInfo{com.employee.administrator.app/com.employee.administrator.app.MasterInformationActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.os.Bundle.getString(java.lang.String)' on a null object reference
java.lang.RuntimeException: Unable to start activity ComponentInfo{org.avaliabrasil.avaliabrasil2/org.avaliabrasil.avaliabrasil2.avb.activity.EvaluationActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.os.Bundle.getString(java.lang.String, java.lang.String)' on a null object reference	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2646)	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2707)