You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a crash when I'm doing a creation in the db. Seems like it doesn't happen everytime, maybe around 80%, or maybe has something to do with specific data, i haven't yet concluded where the error begins. This is happening now as I updated realm and react native, didn't use hermes before.
The creation is happening inside a transaction as i have called beginTransaction and then i call:
Will update further while i follow more the crash, as the schema is huge and cant provide as is for now.
Any ideas/hints for now on how to proceed debugging?
Version
12.2.0
What services are you using?
Local Database only
Are you using encryption?
No
Platform OS and version(s)
android (tested on 13 & 10, happens on both)
Build environment
No response
Cocoapods version
No response
The text was updated successfully, but these errors were encountered:
Update1: the value that it tried to convert to Int on last crash: 2707.0110000000004
Update2: the field where i try to save this value is an int field, not a double as the value indicates it should be.
So 2 things may happen. Either on previous RN+realm versions i did give a correct int value instead of a double (weird), or realm was guarding me silently from this error in previous version and saved just the int part? Did you have such a behavior in realm 10.10.1 (that was my prev realm)?
I verify that on previous realm the double was automatically transformed by realm to int and saved successfully to the database. I'm closing this issue as we can fix this on our end, no reason to ask to keep same automatic transformation.
How frequently does the bug occur?
Sometimes
Description
There is a crash when I'm doing a creation in the db. Seems like it doesn't happen everytime, maybe around 80%, or maybe has something to do with specific data, i haven't yet concluded where the error begins.
This is happening now as I updated realm and react native, didn't use hermes before.
The creation is happening inside a transaction as i have called
beginTransaction
and then i call:I get the following error:
RangeError: number is not integral, js engine: hermes
This is happening on android (I haven't yet tested iOS)
with: Realm 12.2.0, hermes and RN 0.72.5
Stacktrace & log output
numToInt bundle.react-native.js:649:18 anonymous bundle.react-native.js:4334:42 anonymous bundle.react-native.js:3749:40 set bundle.react-native.js:4127:24 create bundle.react-native.js:4717:41 create bundle.react-native.js:9653:45
Can you reproduce the bug?
Sometimes
Reproduction Steps
Will update further while i follow more the crash, as the schema is huge and cant provide as is for now.
Any ideas/hints for now on how to proceed debugging?
Version
12.2.0
What services are you using?
Local Database only
Are you using encryption?
No
Platform OS and version(s)
android (tested on 13 & 10, happens on both)
Build environment
No response
Cocoapods version
No response
The text was updated successfully, but these errors were encountered: