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

[BUG] Crash when parsing invalid JSON from Protobuf data #2093

Open
NghiaTranUIT opened this issue Jul 18, 2024 · 1 comment
Open

[BUG] Crash when parsing invalid JSON from Protobuf data #2093

NghiaTranUIT opened this issue Jul 18, 2024 · 1 comment
Assignees
Labels
bug Something isn't working ✅ Done Ticket is addressed and fixed.

Comments

@NghiaTranUIT
Copy link
Member

Description

From AppCenter Report:

Application Specific Information:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'NaN number in JSON write'

It's an objective-c exception from JSONSerialization.data(withJSONObject: final, options: option). Even the try-catch from Swift can't catch it.

Steps to Reproduce

  1. Not sure how to reproduce

Current Behavior

  • App crashed

Expected Behavior

  • Not crashed

Environment

  • App version: Proxyman 5.5.0
@NghiaTranUIT NghiaTranUIT added the bug Something isn't working label Jul 18, 2024
@NghiaTranUIT NghiaTranUIT added this to the Proxyman 5.7.0 milestone Jul 18, 2024
@NghiaTranUIT NghiaTranUIT self-assigned this Jul 18, 2024
@NghiaTranUIT
Copy link
Member Author

@NghiaTranUIT NghiaTranUIT added the ✅ Done Ticket is addressed and fixed. label Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ✅ Done Ticket is addressed and fixed.
Projects
None yet
Development

No branches or pull requests

1 participant