java.lang.ExceptionInInitializerError

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.

  • GitHub comment 1800#157998921
    via GitHub by androuis
    ,
  • Realm Unit Test on Android
    via Stack Overflow by Frank
    ,
    • java.lang.ExceptionInInitializerError at io.realm.RealmConfiguration$Builder.initializeBuilder(RealmConfiguration.java:428) at io.realm.RealmConfiguration$Builder.<init>(RealmConfiguration.java:391) at packagename.onCreate(Application.java:85) at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1010) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4391) at android.app.ActivityThread.access$1300(ActivityThread.java:141) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1294) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:5041) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.ExceptionInInitializerError at io.realm.RealmConfiguration.<clinit>(RealmConfiguration.java:73) at io.realm.RealmConfiguration$Builder.initializeBuilder(RealmConfiguration.java:428) at io.realm.RealmConfiguration$Builder.<init>(RealmConfiguration.java:391) at packagename.Application.onCreate(Application.java:85) ... 12 more Caused by: java.lang.NoClassDefFoundError: io.realm.internal.async.RealmThreadPoolExecutor at io.realm.BaseRealm.<clinit>(BaseRealm.java:70) at io.realm.RealmConfiguration.<clinit>(RealmConfiguration.java:73) at io.realm.RealmConfiguration$Builder.initializeBuilder(RealmConfiguration.java:428) at io.realm.RealmConfiguration$Builder.<init>(RealmConfiguration.java:391) at packagename.Application.onCreate(Application.java:85) at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1010) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4391) at android.app.ActivityThread.access$1300(ActivityThread.java:141) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1294) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:5041) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,