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 teamtreehouse.com by Unknown author, 1 year ago
Unable to start activity ComponentInfo{com.raghavsingh.stormy/com.raghavsingh.stormy.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ImageView.setOnClickListener(android.view.View$OnClickListener)' on a null object reference
via Stack Overflow by Shibin Kalliatt
, 5 months ago
Unable to start activity ComponentInfo{net.donateclub.codend.donateclub/net.donateclub.codend.donateclub.ResetPasswordOTP}: 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 Tarik Hodzic
, 1 year ago
Unable to start activity ComponentInfo{com.example.android.musicplayer/com.example.android.musicplayer.ArtistLibrary}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setOnClickListener(android.view.View$OnClickListener)' on a null object reference
via Stack Overflow by Amit Kishor
, 1 year ago
Unable to start activity ComponentInfo{com.example.atry.atry/com.example.atry.atry.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 Dennis Bölling
, 1 year ago
Unable to start activity ComponentInfo{com.example.dennis.afbstellplatzbuchung/com.example.dennis.afbstellplatzbuchung.Settings}: 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 GiBong Lim
, 11 months ago
Unable to start activity ComponentInfo{com.example.gibong.capstone/com.example.gibong.capstone.LoginActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setOnClickListener(android.view.View$OnClickListener)' on a null object reference
java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ImageView.setOnClickListener(android.view.View$OnClickListener)' on a null object reference	at com.raghavsingh.stormy.MainActivity.onCreate(MainActivity.java:59)	at android.app.Activity.performCreate(Activity.java:6876)	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1135)	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3207)