io.realm.exceptions.RealmError: Could not open the Realm file: Incompatible lock file. Info size doesn't match, 1120 1160.

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 AlexLardschneider
, 1 year ago
Could not open the Realm file: Incompatible lock file. Info size doesn't match, 1120 1160.
via GitHub by chuyeoh
, 1 year ago
Could not open the Realm file: Incompatible lock file. Info size doesn't match, 1112 1160.
via GitHub by yong076
, 1 year ago
Could not open the Realm file: Incompatible lock file. Info size doesn't match, 1112 1160.
via GitHub by jturolla
, 1 year ago
Could not open the Realm file: Incompatible lock file. Shared info version doesn't match, 4 7.
io.realm.exceptions.RealmError: Could not open the Realm file: Incompatible lock file. Info size doesn't match, 1120 1160.
at io.realm.internal.SharedGroup.openSharedGroupOrFail(SourceFile:112)
at io.realm.internal.SharedGroup.(SourceFile:74)
at io.realm.internal.SharedGroupManager.(SourceFile:49)
at io.realm.BaseRealm.(SourceFile:86)
at io.realm.DynamicRealm.(SourceFile:50)
at io.realm.DynamicRealm.createInstance(SourceFile:183)
at io.realm.RealmCache.createRealmOrGetFromCache(SourceFile:128)
at io.realm.DynamicRealm.getInstance(SourceFile:67)
at com.example.realm.RealmHelper.init(SourceFile:62)
at com.example.AppApplication.onCreate(SourceFile:91)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1013)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4609)
at android.app.ActivityThread.access$1600(ActivityThread.java:169)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1337)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5476)
at java.lang.reflect.Method.invokeNative(Method.java)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
at dalvik.system.NativeStart.main(NativeStart.java)

Users with the same issue

Samebug visitor profile picture
Unknown user
2 times, 10 months ago
2 times, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.