-
Notifications
You must be signed in to change notification settings - Fork 479
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] java.lang.ArrayIndexOutOfBoundsException: 1 #1860
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题描述
简要描述您碰到的问题。
特殊字符转对象报下标越界 ArrayIndexOutOfBoundsException: 1
环境信息
重现步骤
// 其他特殊字符也可以
期待的正确结果
代码执行正常通过
相关日志输出
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1
at com.alibaba.fastjson2.JSONReaderUTF16.readNumber0(JSONReaderUTF16.java:4591)
at com.alibaba.fastjson2.JSONReader.readNumber(JSONReader.java:1057)
at com.alibaba.fastjson2.reader.ObjectReaderImplObject.readObject(ObjectReaderImplObject.java:277)
at com.alibaba.fastjson2.JSON.parse(JSON.java:79)
at com.test.soft.warn.service.JsonArrayIndexOutDemo.main(JsonArrayIndexOutDemo.java:19)
The text was updated successfully, but these errors were encountered: