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 GitHub by samueltardieu
, 1 year ago
Unable to start activity ComponentInfo{cgeo.geocaching/cgeo.geocaching.CompassActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'cgeo.geocaching.location.Geopoint cgeo.geocaching.models.Geocache.getCoords()' on a null object reference
via GitHub by ethan92429
, 1 year ago
Unable to start activity ComponentInfo{org.post.aguaclara.postdose/org.post.aguaclara.postdose.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.Object.toString()' on a null object reference
via GitHub by Lenndev
, 7 months ago
Unable to start activity ComponentInfo{net.myapp.app/net.myapp.app.MyAppActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.view.ViewGroup.getPaddingLeft()' on a null object reference
via GitHub by micrologic
, 10 months ago
Unable to start activity ComponentInfo{com.lzy.imagepicker.ui.ImagePreviewActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.ViewGroup$LayoutParams android.view.View.getLayoutParams()' on a null object reference
via GitHub by ecgreb
, 1 year ago
Unable to start activity ComponentInfo{com.mapzen.erasermap/com.mapzen.erasermap.controller.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.mapzen.erasermap.model.ApiKeys.getRoutingKey()' on a null object reference
via GitHub by navneetboghani
, 7 months ago
Unable to start activity ComponentInfo{com.developer.odoc/com.developer.odoc.register.SignUpPhase3Activity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.text.Editable android.widget.EditText.getText()' on a null object reference
java.lang.NullPointerException: Attempt to invoke virtual method 'cgeo.geocaching.location.Geopoint cgeo.geocaching.models.Geocache.getCoords()' on a null object reference	at cgeo.geocaching.CompassActivity.setTarget(CompassActivity.java:261)	at cgeo.geocaching.CompassActivity.onCreate(CompassActivity.java:103)	at android.app.Activity.performCreate(Activity.java:6876)	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1135)	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3207)	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3350)	at android.app.ActivityThread.access$1100(ActivityThread.java:222)	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1795)	at android.os.Handler.dispatchMessage(Handler.java:102)	at android.os.Looper.loop(Looper.java:158)	at android.app.ActivityThread.main(ActivityThread.java:7229)	at java.lang.reflect.Method.invoke(Native Method)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)