Skip to content
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

If an error occurs during Realm.open, the app crashes. #3414

Closed
sync-by-unito bot opened this issue Nov 19, 2020 · 0 comments · Fixed by #3511
Closed

If an error occurs during Realm.open, the app crashes. #3414

sync-by-unito bot opened this issue Nov 19, 2020 · 0 comments · Fixed by #3511

Comments

@sync-by-unito
Copy link

sync-by-unito bot commented Nov 19, 2020

In case of an error during Realm.open, the app crashes instead of rejecting the promise with the error.

Reported issue: #3409

Error caught caught through Flipper:

Ignored the notification for the crash 
{notificationID: "1", callstack: "/Volumes/Android/buildbot/src/android/ndk-release-r21/external/libcxx/../../external/libcxxabi/src/abort_message.cpp:72: abort_message: assertion "terminating with uncaught exception of type realm::InvalidAdditiveSchemaChangeException: The following changes cannot be made in additive-only schema mode:


* Property 'wishlist._id' has been made required.
* Property 'wishlist._partition' has been made required.
* Property 'wishlist.category' has been made required.
* Property 'wishlist.code' has been made required.
* Property 'wishlist.dateCreated' has been made required.
* Property 'wishlist.dateModified' has been made required.
* Property 'wishlist.description' has been made required.
* Property 'wishlist.listItems' has been changed from 'array<wishlist_listItems>' to 'array<items>'.
* Property 'wishlist.name' has been made required.
* Property 'wishlist.owner' has been made required.
* Property 'wishlist.status' has been made required." failed
Fatal signal 6 (SIGABRT), code ~~6 (SI_TKILL) in tid 2162 (mqt_js), pid 2083 (com.lysts)", name: "/Volumes/Android/buildbot/src/android/ndk~~release-r21/external/libcxx/../../external/libcxxabi/src/abort_message.cpp:72: abort_message: assertion "terminating with uncaught exception of type realm::InvalidAdditiveSchemaChangeException: The following changes cannot be made in additive-only schema mode:", reason: "Cannot figure out the cause", date: Thu Nov 19 2020 08:12:29 GMT+0100 (Central European Standard Time)}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

0 participants