-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug initialising realm #7
Comments
weird, I've looked into the issue and it seems that switching off InstantRun seems to be the only way to solve the issue. So it shouldn't appear in production at least. When did this error occur? |
It is quite interesting, I haven't been able to reproduce the error, now is working perfectly, after reinstalling the app |
I haven't been able to reproduce it either, but the one link suggests that at least its not an error that would occur when using the app from the play store ... |
Yes, I maybe it was something related to installing the app without certificate (from Android Studio) when the app was previouly install with a certificate (from Google Play). Usually it asks to uninstall first, maybe this time it did not. I will close the issue. |
9-14 15:07:42.533 2907-2907/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: aalto.comnet.thepreciousproject, PID: 2907
java.lang.NoClassDefFoundError: precious_rule_system.rules.db.lookup.table.TableLookupData
at io.realm.DefaultRealmModuleMediator.(DefaultRealmModuleMediator.java:29)
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:309)
at java.lang.Class.forName(Class.java:273)
at io.realm.RealmConfiguration.getModuleMediator(RealmConfiguration.java:288)
at io.realm.RealmConfiguration.(RealmConfiguration.java:75)
at io.realm.RealmConfiguration$Builder.initializeBuilder(RealmConfiguration.java:428)
at io.realm.RealmConfiguration$Builder.(RealmConfiguration.java:391)
at ui.precious.comnet.aalto.precious.PRECIOUS_APP.initSingletons(PRECIOUS_APP.java:57)
at ui.precious.comnet.aalto.precious.PRECIOUS_APP.onCreate(PRECIOUS_APP.java:32)
at com.android.tools.fd.runtime.BootstrapApplication.onCreate(BootstrapApplication.java:369)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java)
at android.app.ActivityThread.access$1500(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java)
at android.os.Handler.dispatchMessage(Handler.java)
at android.os.Looper.loop(Looper.java)
at android.app.ActivityThread.main(ActivityThread.java)
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)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
The text was updated successfully, but these errors were encountered: