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] JSON.parseObject("8924992445", AtomicLong.class) 报错 #2615

Closed
156370005 opened this issue May 22, 2024 · 2 comments
Closed

[BUG] JSON.parseObject("8924992445", AtomicLong.class) 报错 #2615

156370005 opened this issue May 22, 2024 · 2 comments
Assignees
Labels
bug Something isn't working fixed
Milestone

Comments

@156370005
Copy link

报警信息:
Exception in thread "main" com.alibaba.fastjson2.JSONException: integer overflow 8924992445, offset 11, character �, line 1, column 10, fastjson-version 2.0.50 8924992445
at com.alibaba.fastjson2.JSONReader.getInt32Value(JSONReader.java:807)
at com.alibaba.fastjson2.JSONReaderUTF8.readInt32Value(JSONReaderUTF8.java:3531)
at com.alibaba.fastjson2.reader.ObjectReaderImplFromLong.readObject(ObjectReaderImplFromLong.java:35)
at com.alibaba.fastjson2.JSON.parseObject(JSON.java:786)

@156370005 156370005 added the bug Something isn't working label May 22, 2024
@yanxutao89 yanxutao89 self-assigned this May 22, 2024
@wenshao wenshao added this to the 2.0.51 milestone May 22, 2024
@wenshao wenshao added the fixed label May 22, 2024
@wenshao
Copy link
Member

wenshao commented May 22, 2024

https://oss.sonatype.org/content/repositories/snapshots/com/alibaba/fastjson2/fastjson2/2.0.51-SNAPSHOT/
问题已修复,请帮忙用2.0.51-SNAPSHOT版本验证

@wenshao
Copy link
Member

wenshao commented Jun 1, 2024

https://github.com/alibaba/fastjson2/releases/tag/2.0.51
问题已修复,请用新版本

@wenshao wenshao closed this as completed Jun 1, 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 fixed
Projects
None yet
Development

No branches or pull requests

3 participants