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 Stack Overflow by Sooraj Sizon
, 1 year ago
Unable to start activity ComponentInfo{online.klok.mobpos/online.klok.mobpos.LoginActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.app.ActionBar.setTitle(java.lang.CharSequence)' on a null object reference
via Stack Overflow by Wolde
, 5 months ago
Unable to start activity ComponentInfo{com.ahmet.apscan/com.ahmet.apscan.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.app.ActionBar.setTitle(java.lang.CharSequence)' on a null object reference
via GitHub by wasdennnoch
, 1 year ago
Unable to start activity ComponentInfo{com.android.settings/com.android.settings.SubSettings}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.app.ActionBar.setTitle(int)' on a null object reference
via Stack Overflow by Restiyana Dwi Astuti
, 10 months ago
Unable to start activity ComponentInfo{com.example.user.tugasss/com.example.user.tugasss.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.app.ActionBar.setTitle(int)' on a null object reference
via Stack Overflow by ama989
, 2 years ago
Unable to start activity ComponentInfo{hadirfinalversion.amjad.hadirfinal/hadirfinalversion.amjad.hadirfinal.Main2Activity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object reference
via Stack Overflow by Lars Dormans
, 10 months ago
Unable to start activity ComponentInfo{me.creepercow.moeder/me.creepercow.moeder.ResultActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object reference
java.lang.RuntimeException: Unable to start activity ComponentInfo{online.klok.mobpos/online.klok.mobpos.LoginActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.app.ActionBar.setTitle(java.lang.CharSequence)' on a null object reference	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2450)	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2510)