You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the Bug
We detected numbers based on certain characters but we don't validate that they actually match the syntax of a number. Instead of throwing a proper exception we hand the value to parseLong/parseDouble resulting in a NumberFormatException being thrown
To Reproduce
Steps to reproduce the behavior:
AbstractElement.fromJson("--")
Expected behavior
It should fail fast and throw a proper exception
Screenshots / Logs
If applicable, add screenshots and/or logs to help explain your problem. You can use pastefy.ga to upload large text snippets.
Environment Information:
Java Language Level 8
Version 1.0.6
The text was updated successfully, but these errors were encountered:
Describe the Bug
We detected numbers based on certain characters but we don't validate that they actually match the syntax of a number. Instead of throwing a proper exception we hand the value to parseLong/parseDouble resulting in a NumberFormatException being thrown
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should fail fast and throw a proper exception
Screenshots / Logs
If applicable, add screenshots and/or logs to help explain your problem. You can use pastefy.ga to upload large text snippets.
Environment Information:
The text was updated successfully, but these errors were encountered: