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 Kolyall
, 1 year ago
Unable to start activity ComponentInfo{com.github.pires.obd.reader/com.auth0.lock.LockActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'com.auth0.core.Connection com.auth0.lock.Configuration.getDefaultDatabaseConnection()' on a null object reference
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 object reference
via Stack Overflow by 张林周
, 9 months 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 xluat.com by Unknown author, 2 years ago
Unable to start activity ComponentInfo{ASD.Dashboard2}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object reference
via teamtreehouse.com by Unknown author, 2 years ago
Unable to start activity ComponentInfo{com.falldetection.android.falldetection/com.falldetection.android.falldetection.Setting}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.parse.ParseUser.getUsername()' on a null object reference
via GitHub by Lineflyer
, 1 year ago
Unable to start activity ComponentInfo{cgeo.geocaching/cgeo.geocaching.settings.SettingsActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.io.File java.io.File.getCanonicalFile()' on a null object reference
java.lang.NullPointerException: Attempt to invoke virtual method 'com.auth0.core.Connection com.auth0.lock.Configuration.getDefaultDatabaseConnection()' on a null object reference	at com.auth0.lock.fragment.DatabaseLoginFragment.onCreate(DatabaseLoginFragment.java:102)	at com.auth0.lock.fragment.SocialDBFragment.onCreate(SocialDBFragment.java:42)	at android.support.v4.app.Fragment.performCreate(Fragment.java:1939)	at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1029)	at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1248)	at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1230)	at android.support.v4.app.FragmentManagerImpl.dispatchCreate(FragmentManager.java:2037)	at android.support.v4.app.FragmentController.dispatchCreate(FragmentController.java:154)	at android.support.v4.app.FragmentActivity.onCreate(FragmentActivity.java:289)	at com.auth0.lock.LockActivity.onCreate(LockActivity.java:89)	at android.app.Activity.performCreate(Activity.java:6550)	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1120)	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3077)	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3233)	at android.app.ActivityThread.access$1000(ActivityThread.java:197)	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1656)	at android.os.Handler.dispatchMessage(Handler.java:102)	at android.os.Looper.loop(Looper.java:145)	at android.app.ActivityThread.main(ActivityThread.java:6856)	at java.lang.reflect.Method.invoke(Native Method)	at java.lang.reflect.Method.invoke(Method.java:372)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1404)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)