-
Notifications
You must be signed in to change notification settings - Fork 24.5k
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
Android: assertion "isHostObject<T>(runtime)" failed on nightly #42244
Comments
cc @cortinico |
|
@tido64 I've looked into this, the issue reproduces but RNTA is really complex and I can't tell you exactly if this is a problem on your end or if this is a problem on React Native's end. As this happens on a nightly, are you able to bisect which nightly made this crash start? |
I tried switching to using
I don't suppose this gives you any better sense of where something might've gone wrong? I've updated the repro in case you have time to take a look. |
I had to build React Native from source in order to debug this. Turns out it's throwing an exception on line 27 Lines 23 to 30 in 258d8e5
Because we never really set Closing this as resolved. I will follow up with a PR here to make it more obvious something is missing. Thanks for all the help 😄 |
…tryPoint` is set (#42312) Summary: Assert `DefaultComponentsRegistry::registerComponentDescriptorsFromEntryPoint` is set. For full context, see #42244. ## Changelog: [ANDROID] [FIXED] - Assert `DefaultComponentsRegistry::registerComponentDescriptorsFromEntryPoint` is set Pull Request resolved: #42312 Test Plan: n/a Reviewed By: javache Differential Revision: D52835542 Pulled By: cortinico fbshipit-source-id: be323953fc47a3a3b746c7abdd614f96d232af34
Description
Nightly build of Android + New Arch fails with
assertion "isHostObject<T>(runtime)" failed
on startup.Steps to reproduce
When the app is launched, tap on "App".
React Native Version
0.74.0-nightly-20240110-822bf52c2
Affected Platforms
Runtime - Android
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://github.com/microsoft/react-native-test-app
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: