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 bielas
, 1 year ago
Unable to start activity ComponentInfo{com.example.micha.locationtest/com.example.micha.locationtest.activities.MapsActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'double android.location.Location.getLatitude()' on a null
via Stack Overflow by 张林周
, 1 year ago
Unable to start activity ComponentInfo{。。.HomeActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.util.ArrayList.indexOf(java.lang.Object)' on a null object reference
via GitHub by ccrama
, 2 years ago
Unable to start activity ComponentInfo{me.ccrama.redditslide/me.ccrama.redditslide.Activities.CreateMulti}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.Iterator java.util.ArrayList.iterator()' on a null object referenc
Empty query.