-
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] android kotlin反序列化出现ArrayIndexOutOfBoundsException #370
Comments
3 tasks
wenshao
added a commit
that referenced
this issue
May 28, 2022
kotlin constructor parameter supports default value #370
你好, kotlin构造参数已支持默认值了,可使用2.0.6-SNAPSHOT快照 |
D/NET_LOG: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题描述
Android Kotlin 反序列化时出现
java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
at com.alibaba.fastjson2.reader.ObjectReaderCreator.createObjectReaderWithCreator(ObjectReaderCreator.java:314)
at com.alibaba.fastjson2.reader.ObjectReaderCreator.createObjectReader(ObjectReaderCreator.java:570)
at com.alibaba.fastjson2.reader.ObjectReaderProvider.getObjectReader(ObjectReaderProvider.java:693)
环境信息
重现步骤
1.只要调用to或者parseObject方法反序列化就会出现,
The text was updated successfully, but these errors were encountered: