java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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:6068) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1111) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2437) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2564) at android.app.ActivityThread.access$800(ActivityThread.java:170) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1441) at android.os.Handler.dispatchMessage(Handler.java:111) at android.os.Looper.loop(Looper.java:194) at android.app.ActivityThread.main(ActivityThread.java:5576) at java.lang.reflect.Method.invoke(Method.java) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:955) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:750)

Users with the same issue

pranavprakash
1 times, last one,
Andreas Häber
1 times, last one,