-
-
Notifications
You must be signed in to change notification settings - Fork 214
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
Exception in HostObject::get: <unknown> #48
Comments
@donovanhiland Do you have a more complete Stacktrace? |
Might be related facebook/react-native#24607 |
@DimitryDushkin So it seems that getting a constant on this devices results sometimes in a crash. We have to find which one. |
Yeah, in our case some of constants turned out to return |
Are there some workaround for this issue? I'm still experiencing it and I honestly don't know how to fix it |
This comment has been minimized.
This comment has been minimized.
@gbalduzzi Please provides some details (OS version, RN version, simulator / phone), etc. As I don't even know how to reproduce the error, it's very hard to find the cause 😞 I will add some guards on every functions, but it would be better to identify where the problem is. |
I managed to reproduce the error by adding in my phone languages the |
@gbalduzzi On which Android version / phone / simulator? |
I tested on a Huawei P20 Lite with android 8.0.0, but it also occurred in a OnePlus 3T with Android 9. I got the feeling that it's more about some locales than about some specifics phone/android versions |
@gbalduzzi Thanks! It can be enough to reproduce the error and investigate 🙂 |
Sharing some more info I collected while testing:
|
@gbalduzzi Which version of the library are you using? A fix for this issue has been released in version |
@gbalduzzi I made a new release ( |
Describe your environment
• Manufacturer: Tecno, OS: 7.0
• Manufacturer: Infinix, OS: 7.0 or 8.1.0
• Manufacturer: OnePlus, OS: 9.0
• Manufacturer: Pixel, OS: 9.0
How to repeat issue and example
expected it not to crash but it crashes on the above devices with:
Some context around this error: This does not happen very often. Probably something like 1% of the time but it does result in an unrecoverable crash we think. We're seeing this reported through bugsnag and we don't have a device to reproduce this on. Thought it would be worth a report anyway. Maybe you all have some context on this error.
The text was updated successfully, but these errors were encountered: