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

Solutions on the web48104

  • 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
  • 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 GitHub by atouchsimo
    , 3 months ago
    Unable to instantiate activity ComponentInfo{/....EventActivity}: io.realm.exceptions.RealmFileException: Unable to open a realm at path '/data/data/[package]/files/58e6a92df29a410011f3fc97.realm': Bad Realm file header (#3). (Bad Realm file header
  • Stack trace

    • 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 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2460) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2522) at android.app.ActivityThread.access$800(ActivityThread.java:169) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1421) at android.os.Handler.dispatchMessage(Handler.java:111) at android.os.Looper.loop(Looper.java:194) at android.app.ActivityThread.main(ActivityThread.java:5546) 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:967) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:762) Caused by: 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) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2413)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.