java.lang.RuntimeException: 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.

GitHub | carlbenson | 5 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Realm file decryption fails randomly

    GitHub | 5 months ago | carlbenson
    java.lang.RuntimeException: 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.
  2. 0

    GitHub comment 2984#256619779

    GitHub | 7 months ago | carlbenson
    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 81 Kind: ACCESS_ERROR.
  3. 0

    GitHub comment 2984#270044755

    GitHub | 5 months ago | paisrikanth
    java.lang.RuntimeException: Unable to create application com.clinicloud.app.MainApp: io.realm.exceptions.RealmFileException: Unable to open a realm at path '/data/data/com.clinicloud.app/files/default.realm.enc': 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.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 4237#292537126

    GitHub | 2 months ago | atouchsimo
    java.lang.RuntimeException: 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 (#3)) in /home/cc/repo/realm/realm-java-release/realm/realm-library/src/main/cpp/io_realm_internal_SharedRealm.cpp line 92 Kind: ACCESS_ERROR.
  6. 0

    RealmFileException when call Realm.getDefaultInstance()

    GitHub | 5 months ago | linchaolong
    io.realm.exceptions.RealmFileException: Unable to open a realm at path '/data/data/com.linchaolong.android.app/files/default.realm': Not a Realm file. in /Users/cm/Realm/realm-java/realm/realm-library/src/main/cpp/io_realm_internal_SharedRealm.cpp line 92 Kind: ACCESS_ERROR.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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.

      at io.realm.internal.SharedRealm.nativeGetSharedRealm()
    2. io.realm.internal
      SharedRealm.a
      1. io.realm.internal.SharedRealm.nativeGetSharedRealm(Native Method)
      2. io.realm.internal.SharedRealm.a(SharedRealm.java:205)
      3. io.realm.internal.SharedRealm.a(SharedRealm.java:182)
      3 frames
    3. io.realm
      Realm.n
      1. io.realm.be.a(RealmCache.java:124)
      2. io.realm.Realm.n(Realm.java:209)
      2 frames
    4. com.dreams
      LauncherActivity.onCreate
      1. com.dreams.LauncherActivity.onCreate(LauncherActivity.kt:28)
      1 frame
    5. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:5958)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1129)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2364)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2474)
      5. android.app.ActivityThread.access$800(ActivityThread.java:144)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1359)
      7. android.os.Handler.dispatchMessage(Handler.java:102)
      8. android.os.Looper.loop(Looper.java:155)
      9. android.app.ActivityThread.main(ActivityThread.java:5696)
      9 frames
    6. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    7. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1028)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823)
      2 frames