question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Crash Caused by io.realm.exceptions.RealmError: Unrecoverable error. Read-only file system

See original GitHub issue

I have this exception in Fabric Crashlytics:

The crash occurs in this line:

Application
public class MyApplication extends MultiDexApplication {
    @Override
    public void onCreate() {
        super.onCreate();
        Realm.init(this);
    }
}

Caused by io.realm.exceptions.RealmError: Unrecoverable error. Read-only file system in /Users/Nabil/Dev/realm/master/realm-java/realm/realm-library/src/main/cpp/io_realm_SyncManager.cpp line 109 at io.realm.SyncManager.nativeInitializeSyncManager(SyncManager.java) at io.realm.ObjectServer.init(ObjectServer.java:67) at java.lang.reflect.Method.invoke(Method.java) at io.realm.internal.SyncObjectServerFacade.init(SyncObjectServerFacade.java:56) at io.realm.Realm.init(Realm.java:249) at br.tv.horizonte.android.premierefc.PremiereApplication.onCreate(PremiereApplication.java:54) at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1018) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4991) at android.app.ActivityThread.-wrap1(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1555) at android.os.Handler.dispatchMessage(Handler.java:111) at android.os.Looper.loop(Looper.java:207) at android.app.ActivityThread.main(ActivityThread.java:5776) at java.lang.reflect.Method.invoke(Method.java) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:679)

Goal

What do you want to achieve? I don’t know reproduce this exception, I get Exception, on Fabric Crashlytics.

Expected Results

?

Actual Results

E.g. full stack trace with exception

Steps & Code to Reproduce

I don’t know reproduce this exception, I get Exception, on Fabric Crashlytics.

Describe your current debugging efforts. I don’t know reproduce this exception, I get Exception, on Fabric Crashlytics.

Version of Realm and tooling

Realm version(s): ? 4.3.3 Realm sync feature enabled: yes/no yes

Android Studio version: ? 3.0.1

Which Android version and device: ? Android 6 - Lenovo VIBE X3 Lite100% Android 6 - Moto E with 4G LTE (2nd Gen)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Zhuindencommented, Oct 15, 2020

But it’s not closed 😏

0reactions
clementetbcommented, Oct 15, 2020

Closing due to inactivity. Please comment in case you get more information and the issue still persists

Read more comments on GitHub >

github_iconTop Results From Across the Web

Crash Caused by io.realm.exceptions.RealmError: Unrecoverable ...
I have this exception in Fabric Crashlytics: The crash occurs in this line: Application public class MyApplication extends MultiDexApplication { @Override ...
Read more >
io.realm.exceptions.RealmError: Unrecoverable error. mmap ...
Whenever I try to create more than 100k objects(my goal is to create 1 million objects), the application crashes with the following error.Note: ......
Read more >
Realm: Create reactive mobile apps in a fraction of the time
You can do this by bundling a Realm file in assets and using a readOnly ... This can cause ANR errors if you...
Read more >
Fix : io.realm.exceptions.RealmError - CodeRanch
io.realm.exceptions.RealmError: Unrecoverable error. Failure when converting short string to UTF- 16 error_code = 1 ; retcode = 0 ; StringData.size = 15 ...
Read more >
<com.samsung.android.samsungpositioning>.apk
This report is generated from a file or URL submitted to this webservice on ... RealmError: Unrecoverable error. parm1 ... io/realm/exceptions/RealmError.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found