-
Type: Bug
-
Resolution: Fixed
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
Goal
> Registering a changeListener on RealmResults
Expected Results
> No crash.
Actual Results
A BadVersionException happens. Here is the log:
Unable to start activity ComponentInfo{com.example.app/com.example.app.activity.ExampleActivity}: io.realm.internal.async.BadVersionException: std::exception in /home/cc/repo/realm/release/realm/realm-library/src/main/cpp/io_realm_internal_OsResults.cpp line 274
Steps & Code to Reproduce
> Unfortunately I obtained this log from Crashlytics. I don't have the required steps to reproduce this crash.
Version of Realm and tooling
Realm version(s): 4.2.0
Realm sync feature enabled: No
Android Studio version: 3.0.0
Which Android version and device:
This issue appears to be happening on BlackBerry devices (100% on Crashlytics console by the time I post this issue). Here's a list of devices:
RIM Passport, Z10, Z30, and RIM Leap
Android versions: 4.2.2 and 4.3
More info:
This crash started to happen when I updated Realm from 3.1.4 to 4.2.0. There was no such error before the update. Here is my realm configuration:
RealmConfiguration.Builder()
.schemaVersion(4)
.migration(new RealmMigrate())
.build();
Let me know if you require any more data.