-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[$1000] Android crash: Unexpected end of input #14878
Comments
Triggered auto assignment to @kevinksullivan ( |
Bug0 Triage Checklist (Main S/O)
|
## Summary This PR should fix "JSON Parse error: Unexpected end of input" error from Hermes VM happening when `JSON.parse` invoked by `jsi::Value::createFromJsonUtf8` (see [here](https://github.com/facebook/react-native/blob/62fa6d9dac185add0b8998fe1a443beaef3a49bc/ReactCommon/jsi/jsi/jsi.cpp#L139-L144)) fails due to malformed payload. Related issues: * Expensify/App#14878 * wordpress-mobile/WordPress-Android#16842 * #2823 ## Test plan Run Example and FabricExample app on Android.
This PR should fix "JSON Parse error: Unexpected end of input" error from Hermes VM happening when `JSON.parse` invoked by `jsi::Value::createFromJsonUtf8` (see [here](https://github.com/facebook/react-native/blob/62fa6d9dac185add0b8998fe1a443beaef3a49bc/ReactCommon/jsi/jsi/jsi.cpp#L139-L144)) fails due to malformed payload. Related issues: * Expensify/App#14878 * wordpress-mobile/WordPress-Android#16842 * #2823 Run Example and FabricExample app on Android.
@kevinksullivan Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Job added to Upwork: https://www.upwork.com/jobs/~018f1d8df9cb5c4cda |
Current assignee @kevinksullivan is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel ( |
Triggered auto assignment to @nkuoch ( |
@mountiny are we looking for someone proposing the solution to reproduce here? I don't have permission in firebase, so let me know what you're thinking for reproduction. |
@mountiny is that all log? |
I guess we can get more stack traces from the play console. |
It aslo hasnt happened since and seems to occur only on OnePlus device Android 10 so I think we can close this now |
## Summary This PR should fix "JSON Parse error: Unexpected end of input" error from Hermes VM happening when `JSON.parse` invoked by `jsi::Value::createFromJsonUtf8` (see [here](https://github.com/facebook/react-native/blob/62fa6d9dac185add0b8998fe1a443beaef3a49bc/ReactCommon/jsi/jsi/jsi.cpp#L139-L144)) fails due to malformed payload. Related issues: * Expensify/App#14878 * wordpress-mobile/WordPress-Android#16842 * software-mansion#2823 ## Test plan Run Example and FabricExample app on Android.
Problem
Coming from this Crashlytics record, we are seeing a new Android crash related to Reanimated it seems like.
Wasnt able to reproduce
Why is it important
Prevents the app from crashing
Solution
Investigate where the crash is happening and fix it
Logs:
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: