We get the data from server , We intend to save the data in RealmDataBase - when we try to store the value in copytoRealm function - the application crashes and throws below error.
string: 'Failure when converting long string to UTF-16 error_code = 1; retcode = 0; StringData.size = 138; StringData.data = DB: 64104 Thread 468619435184: Set 'jsonData' to "{"author":"Mary Elizabeth Dallas","htmlBody":"\u003cp\u003eBlood pressure that? ...”;
Data coming from server : {"author":"Mary Elizabeth Dallas","htmlBody":"\u003cp\u003eBlood pressure that’s
It get's crashes in aphastrophe.
In another instance - These character crashes.
I don't see , any solution on this so far.
I refrered #7101 looks like its still in progress.
And also if i change to another language for example HINDI - Its get crashes.
Facing multiple crashes with same error in log. But for different character.
please let me know , if anyone has any solution for it.
How frequently does the bug occur?
Always
Description
We get the data from server , We intend to save the data in RealmDataBase - when we try to store the value in copytoRealm function - the application crashes and throws below error.
string: 'Failure when converting long string to UTF-16 error_code = 1; retcode = 0; StringData.size = 138; StringData.data = DB: 64104 Thread 468619435184: Set 'jsonData' to "{"author":"Mary Elizabeth Dallas","htmlBody":"\u003cp\u003eBlood pressure that? ...”;
Data coming from server : {"author":"Mary Elizabeth Dallas","htmlBody":"\u003cp\u003eBlood pressure that’s It get's crashes in aphastrophe.
In another instance - These character crashes.
I don't see , any solution on this so far. I refrered #7101 looks like its still in progress.
And also if i change to another language for example HINDI - Its get crashes.
Facing multiple crashes with same error in log. But for different character.
please let me know , if anyone has any solution for it.
Stacktrace & log output
Can you reproduce the bug?
Always
Reproduction Steps
When we try to store the data into database via copyToRealm()
Version
Android 14 ( English language)
What Atlas App Services are you using?
Local Database only
Are you using encryption?
Yes
Platform OS and version(s)
Samsung Galaxy A54 - 5G device , Android version 14 , One UI version 6.0
Build environment
Android Studio version: ... Android Build Tools version: ... Gradle version: ...