-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failure when converting short string to UTF-16 error_code = 1 #5668
Comments
I'm not sure why this would happen, is the Realm encrypted? |
No, The most of our user are from the middle east and object can contain arabic characters!?! |
@trr-amsiq |
@kneth yes, it's French and should be String data should be |
@trr-amsiq Does it happen when processing a push notification? I wonder if it has something to do with the lifecycle of the service (and a Realm instance). |
@kneth No it does not. But the object being copied from realm can be updated by a push notification. |
@trr-amsiq Do you by any chance have access to the Realm file? If you do, please send it to help@realm.io. |
@kneth Sadly no. It is a production error |
I have the same problem. Lots of crashes on production (app use Realm 5.1.0). new RealmConfiguration
.Builder()
.name(realmName)
.schemaVersion(Constants.DB_VERSION)
.directory(dbDir)
.encryptionKey(key)
.migration(MIGRATION)
.initialData(INIT_REALM_TX)
.build(); Android Studio version: 3.1.2 Stacktrace: |
Look like this issue related to #6152 |
After upgrade to Realm 5.4.1 crash become native and increase frequency: Android Studio: 3.1.4 |
Same for us, we have quiet a bit of crashes like this:
|
Also having this issue happen somewhat frequently in a production app. |
Should be fixed in 6.0.1 (not released yet), but |
Unrecoverable error. Failure when converting short string to UTF-16 error_code = 1; retcode = 0; StringData.size = 15; StringData.data = '� in /Users/cm/Realm/realm-java-release/realm/realm-library/src/main/cpp/io_realm_internal_UncheckedRow.cpp line 161 Got this with Realm 6.0.2 |
@OlegNovosad Can you create a new issue with as much context as possible, e.g. the full stack trace, which device you are seeing it on, is encryption enabled. |
Running:
Realm 4.2.0
Fabric
Line 237 is
The text was updated successfully, but these errors were encountered: