java.lang.RuntimeException: Unable to start activity ComponentInfo{com.etobee.driver/com.etobee.driver.activity.HomeActivity}: java.lang.IllegalStateException: Cannot migrate a Realm file that is already open: /data/data/com.etobee.driver/files/default6

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 Stack Overflow by Syarif Ibnu Miftahudin Al-Dami
, 1 year ago
Unable to start activity ComponentInfo{com.etobee.driver/com.etobee.driver.activity.HomeActivity}: java.lang.IllegalStateException: Cannot migrate a Realm file that is already open: /data/data/com.etobee.driver/files/default6
via GitHub by carlbenson
, 1 year ago
Unable to start activity ComponentInfo{com.getdreams/com.dreams.LauncherActivity}: io.realm.exceptions.RealmFileException: Unable to open a realm at path '/data/data/com.getdreams/files/default.realm': Realm file decryption failed. in /Users/cm/Realm/realm-java/realm/realm-library/src/main/cpp/io_realm_internal_SharedRealm.cpp line 92 Kind: ACCESS_ERROR.
via Stack Overflow by nurul
, 3 months ago
Unable to start activity ComponentInfo{dev.edmt.todolist/dev.edmt.todolist.MainActivity}: java.lang.IllegalStateException: attempt to re-open an already-closed object: SQLiteDatabase: /data/data/dev.edmt.todolist/databases/EDMTDev
via GitHub by lscown
, 1 year ago
Unable to start activity ComponentInfo{com.app.mobile/com.tns.NativeScriptActivity}: com.tns.NativeScriptException: NativeScript application not initialized correctly. getActivity method returned invalid value. Error: A Frame must be used to
via Stack Overflow by Theophilus Ogundipe
, 2 years ago
Unable to start activity ComponentInfo{glmdnigltd.globaldigitalmagazine/glmdnigltd.globaldigitalmagazine.Login}: java.lang.IllegalStateException: Already attached
via Stack Overflow by AlanRubinoff
, 2 years ago
Unable to start activity ComponentInfo{org.cade.codigos/org.cade.codigos.ui.activities.MainActivity}: java.lang.IllegalStateException: ParsePlugins is already initialized
java.lang.IllegalStateException: Cannot migrate a Realm file that is already open: /data/data/com.etobee.driver/files/default6
at io.realm.BaseRealm$3.onResult(BaseRealm.java:740)
at io.realm.RealmCache.invokeWithGlobalRefCount(RealmCache.java:274)
at io.realm.BaseRealm.migrateRealm(BaseRealm.java:735)
at io.realm.Realm.migrateRealm(Realm.java:1361)
at com.etobee.driver.util.RealMHelper.init(RealMHelper.java:35)
at com.etobee.driver.activity.DefaultActivity.onCreate(DefaultActivity.java:138)
at com.etobee.driver.activity.HomeActivity.onCreate(HomeActivity.java:91)
at android.app.Activity.performCreate(Activity.java:5975)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1111)

Users with the same issue

You are the first who have seen this exception.

Write tip

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