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

Solutions on the web

via Stack Overflow by Mauro Telese
, 1 year ago
Unable to start activity ComponentInfo{com.example.mauro.navigatore/com.example.mauro.navigatore.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TabHost.setup()' on a null object reference
via Stack Overflow by sam88
, 1 year ago
Unable to start activity ComponentInfo{com.demosquareout.compaq.Pingapp/com.demosquareout.compaq.Pingapp.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void PingApp.fragments.PersonDetails.loadAllData()' on a null object reference
via Stack Overflow by Maruf Heavyman
, 1 year ago
Unable to start activity ComponentInfo{com.deneme.deneme/com.deneme.deneme.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.Button.setOnClickListener(android.view.View$OnClickListener)' on a null object reference
via Stack Overflow by Gurjeet Singh
, 5 months ago
Unable to start activity ComponentInfo{com.example.gurjeet.application/com.example.gurjeet.application.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.google.android.gms.ads.AdView.loadAd(com.google.android.gms.ads.AdRequest)' on a null object reference
via Stack Overflow by adem mehdioui
, 2 months ago
Unable to start activity ComponentInfo{info.adem.tplogin/info.adem.tplogin.FriendActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.Button.setOnClickListener(android.view.View$OnClickListener)' on a null object reference
via GitHub by mariannegru
, 1 year ago
Unable to start activity ComponentInfo{com.paypal.heresdk.sampleapp/com.paypal.merchant.sdk.internal.ui.emv.EMVPaymentActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.math.BigDecimal.signum()' on a null object reference
java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TabHost.setup()' on a null object reference	at com.example.mauro.navigatore.MainActivity.onCreate(MainActivity.java:44)	at android.app.Activity.performCreate(Activity.java:6876)	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1135)	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3206)