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 Jbb
, 1 year ago
Unable to start activity ComponentInfo{zaaa.trinki/zaaa.trinki.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ProgressBar.setVisibility(int)' on a null object reference
via Stack Overflow by Elem3nt4l Sh0tZ
, 2 years ago
Unable to start activity ComponentInfo{.Categories}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.RelativeLayout.setVisibility(int)' on a null object reference
via com.tr by Unknown author, 2 years ago
Unable to start activity ComponentInfo{com.uygulama/com.uygulama.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ImageView.setPadding(int, int, int, int)' on a null object reference
via Stack Overflow by Volverine
, 11 months ago
Unable to start activity ComponentInfo{com.example.sbi.myapplication1/com.example.sbi.myapplication1.loginhome}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v4.widget.DrawerLayout.setDrawerShadow(int, int)' on a null object reference
via GitHub by wuliou
, 1 year ago
Unable to start activity ComponentInfo{com.amaze.filemanager/com.amaze.filemanager.activities.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.github.clans.fab.FloatingActionButton.setColorNormal(int)' on a null object reference
via GitHub by SlideAutoreport
, 2 years ago
Unable to start activity ComponentInfo{me.ccrama.redditslide/me.ccrama.redditslide.Activities.Profile}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.View.setVisibility(int)' on a null object reference
java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ProgressBar.setVisibility(int)' on a null object reference	at zaaa.trinki.retrievePriceTask.onPreExecute(MainActivity.java:94)	at android.os.AsyncTask.executeOnExecutor(AsyncTask.java:587)	at android.os.AsyncTask.execute(AsyncTask.java:535)	at zaaa.trinki.MainActivity.onCreate(MainActivity.java:55)	at android.app.Activity.performCreate(Activity.java:5933)	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2251)