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 user6313669
, 1 year ago
Unable to start activity ComponentInfo{neerajshah.locationnearby/neerajshah.locationnearby.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.google.android.gms.maps.GoogleMap.setMyLocationEnabled(boolean)' on a null object reference
via GitHub by RyanElliott94
, 11 months ago
Unable to start activity ComponentInfo{com.skintmedia.voice/com.braunster.chatsdk.activities.ChatSDKLoginActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.braunster.chatsdk.network.AbstractNetworkAdapter.facebookEnabled()' on a null object reference
via Stack Overflow by Rajat Raturi
, 2 months ago
Unable to start activity ComponentInfo{com.example.rajatraturi.myrestaur/com.example.rajatraturi.myrestaur.FoodDetail}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.isEmpty()' on a null object reference
via Stack Overflow by neha
, 9 months ago
Unable to start activity ComponentInfo{com.example.android.bleiqn/com.example.android.bleiqn.PeripheralActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.app.ActionBar.setDisplayHomeAsUpEnabled(boolean)' on a null object reference
via GitHub by BishopGIS
, 1 year ago
Unable to start activity ComponentInfo{com.nextgis.mobile/com.nextgis.mobile.activity.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.nextgis.maplib.map.VectorLayer.setLocked(boolean)' on a null object reference
via GitHub by takiainen
, 1 year ago
Unable to start activity ComponentInfo{dk.jens.backup/dk.jens.backup.Preferences}: java.lang.NullPointerException: Attempt to invoke virtual method 'void dk.jens.backup.AppInfoAdapter.setLocalTimestampFormat(boolean)' on a null object reference
java.lang.NullPointerException: Attempt to invoke virtual method 'void com.google.android.gms.maps.GoogleMap.setMyLocationEnabled(boolean)' on a null object reference	at neerajshah.locationnearby.MainActivity.onCreate(MainActivity.java:111)	at android.app.Activity.performCreate(Activity.java:6259)	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1130)	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2379)