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 derMart
, 1 year ago
Unable to start activity ComponentInfo{com.android.messaging/com.android.messaging.ui.appsettings.PerSubscriptionSettingsActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.preference.Preference.onPrepareForRemoval()' on a null object reference
via Stack Overflow by Gosha98
, 1 year ago
Unable to start activity ComponentInfo{it.brigata.folgore/xyz.klinker.wedding.IntroActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.github.paolorotolo.appintro.PagerAdapter.notifyDataSetChanged()' on a null object reference
via Stack Overflow by Atul mishra
, 7 months ago
Unable to start activity ComponentInfo{com.example.mishr.icycandy/com.example.mishr.icycandy.Menu_activity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void java.lang.Object.notify()' on a null object reference
via Stack Overflow by Hami
, 3 months ago
Unable to start activity ComponentInfo{com.example.name.audioplayer/com.example.name.audioplayer.Player}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.media.MediaPlayer.start()' on a null object reference
via prog.hu by Unknown author, 2 years ago
Unable to start activity ComponentInfo{comevidentia.wix.evidentia.www.krudyapp/comevidentia.wix.evidentia.www.krudyapp.informaciok.informaciokActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TabHost.setup()' on a null object reference
via Stack Overflow by Jdbaba
, 2 years ago
Unable to start activity ComponentInfo{jdexamples.app13_exploringtabs/jdexamples.app13_exploringtabs.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TabHost.setup()' on a null object reference
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.messaging/com.android.messaging.ui.appsettings.PerSubscriptionSettingsActivity}: java.lang.NullPointerException: Attempt to invoke virtual
method 'void android.preference.Preference.onPrepareForRemoval()' on a null object reference	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2450)	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2510)