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

NPE in "FastDoubleParser", method "JavaBigDecimalParser.parseBigDecimal()" #1161

Closed
cowtowncoder opened this issue Dec 10, 2023 · 3 comments
Closed
Labels
2.15 Issue planned (at earliest) for 2.15 2.16 Issue planned (at earliest) for 2.16
Milestone

Comments

@cowtowncoder
Copy link
Member

(note: regression due to #1157)

Looks like there is an NPE in FDP, method JavaBigDecimalParser#parseBigDecimal for Strings of length 1000 (and seemingly even less).
I will do a PR with reproduction.

@wrandelshofer
Copy link

I made a fix and have released it as version 1.0.0 of fastdoubleparser.
https://github.com/wrandelshofer/FastDoubleParser/releases/tag/v1.0.0

Please let me know, if the fix works for you.

@pjfanning
Copy link
Member

Thanks @wrandelshofer for the prompt fix - I'll try out the 1.0.0 release when it hits https://repo1.maven.org/maven2/ch/randelshofer/fastdoubleparser/ (maven central).

cowtowncoder added a commit that referenced this issue Dec 11, 2023
@cowtowncoder cowtowncoder added 2.15 Issue planned (at earliest) for 2.15 2.16 Issue planned (at earliest) for 2.16 labels Dec 11, 2023
@cowtowncoder cowtowncoder added this to the 2.16.1 milestone Dec 11, 2023
cowtowncoder added a commit that referenced this issue Dec 11, 2023
@cowtowncoder
Copy link
Member Author

Fixed in 2.16 for 2.16.1 (and 2.17); may be backported to 2.15 depending.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.15 Issue planned (at earliest) for 2.15 2.16 Issue planned (at earliest) for 2.16
Projects
None yet
Development

No branches or pull requests

3 participants