-
Type: Task
-
Resolution: Done
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
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:
this._realm.beginTransaction(); this._realm.create(schema, obj, Realm.UpdateMode.All) this._realm.commitTransaction();
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