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(null) 从1.2.x升级到2.0.7后报错 #482

Closed
914313670 opened this issue Jun 17, 2022 · 2 comments
Closed

[BUG]JSON.parseObject(null) 从1.2.x升级到2.0.7后报错 #482

914313670 opened this issue Jun 17, 2022 · 2 comments
Labels
bug Something isn't working
Milestone

Comments

@914313670
Copy link

问题描述

JSON.parseObject(null) 从1.2.83升级到2.0.7后报错

环境信息

请填写以下信息:

  • OS信息: Windows 10
  • JDK信息: Openjdk 1.8.0_312
  • 版本信息:Fastjson 2.0.7

重现步骤

在1.2.83版本时候是正常的
image
升级至2.0.7后同样的代码报错
image

期待的正确结果

JSON.parseObject(null) 同样和1.2.83版本响应为空

@914313670 914313670 added the bug Something isn't working label Jun 17, 2022
@wenshao
Copy link
Member

wenshao commented Jun 17, 2022

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

@wenshao wenshao added this to the 2.0.8 milestone Jun 17, 2022
wenshao added a commit that referenced this issue Jun 17, 2022
@wenshao
Copy link
Member

wenshao commented Jun 25, 2022

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

@wenshao wenshao closed this as completed Jun 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants