java.lang.NullPointerException: No default RealmConfiguration was found. Call setDefaultConfiguration() first

GitHub | donnguyen | 3 months ago
  1. 0

    No default RealmConfiguration was found. Call setDefaultConfiguration() first

    GitHub | 3 months ago | donnguyen
    java.lang.NullPointerException: No default RealmConfiguration was found. Call setDefaultConfiguration() first
  2. 0

    Realm.getDefaultInstance() NullPointerException error occurs only in Android 6.0 and 6.0.1

    Stack Overflow | 1 month ago | ruitercomp
    java.lang.NullPointerException: No default RealmConfiguration was found. Call setDefaultConfiguration() first
  3. 0

    No default RealmConfiguration was found. Call setDefaultConfiguration() first

    GitHub | 10 months ago | McManusds
    java.lang.NullPointerException: No default RealmConfiguration was found. Call setDefaultConfiguration() first
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    TURBINE_2_3

    turbine-user | 1 decade ago | Diogo Saad
    java.lang.NullPointerException: There was no DataSourceFactory configured for the connection default
  6. 0

    TURBINE_2_3

    turbine-user | 1 decade ago | Diogo Saad
    org.apache.torque.TorqueException: There was no DataSourceFactory configured for the connection default

  1. bayukresno 2 times, last 6 months ago
  2. jk 14 times, last 7 months ago
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NullPointerException

    No default RealmConfiguration was found. Call setDefaultConfiguration() first

    at io.realm.Realm.getDefaultInstance()
  2. io.realm
    Realm.getDefaultInstance
    1. io.realm.Realm.getDefaultInstance(Realm.java:158)
    1 frame
  3. removed
    MainActivity.onCreate
    1. removed.MainActivity.onCreate(MainActivity.java:73)
    1 frame
  4. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:6876)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1135)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3207)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3350)
    5. android.app.ActivityThread.access$1100(ActivityThread.java:222)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1795)
    7. android.os.Handler.dispatchMessage(Handler.java:102)
    8. android.os.Looper.loop(Looper.java:158)
    9. android.app.ActivityThread.main(ActivityThread.java:7229)
    9 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Method.java)
    1 frame
  6. Android
    ZygoteInit$MethodAndArgsCaller.run
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
    1 frame