You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception in thread "main" com.alibaba.fastjson2.JSONException: set whiteListIds error
at com.alibaba.fastjson2.reader.FieldReaderObject.accept(FieldReaderObject.java:268)
at com.alibaba.fastjson2.reader.ObjectReader.createInstance(ObjectReader.java:126)
at com.alibaba.fastjson2.JSONObject.to(JSONObject.java:1210)
at com.alibaba.fastjson2.JSONObject.toJavaObject(JSONObject.java:1220)
at com.x.x.x.x.x.Test.main(Test.java:23)
Caused by: java.lang.IllegalArgumentException: argument type mismatch
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.alibaba.fastjson2.reader.FieldReaderObject.accept(FieldReaderObject.java:264)
... 4 more
附加信息
如果你还有其他需要提供的信息,可以在这里填写(可以提供截图、视频等)。
The text was updated successfully, but these errors were encountered:
问题描述
简要描述您碰到的问题。
反序列化对象失败 试了3种api 2种报错 1种正常 见下面代码
环境信息
请填写以下信息:
重现步骤
`
期待的正确结果
对您期望发生的结果进行清晰简洁的描述。
相关日志输出
Exception in thread "main" com.alibaba.fastjson2.JSONException: set whiteListIds error
at com.alibaba.fastjson2.reader.FieldReaderObject.accept(FieldReaderObject.java:268)
at com.alibaba.fastjson2.reader.ObjectReader.createInstance(ObjectReader.java:126)
at com.alibaba.fastjson2.JSONObject.to(JSONObject.java:1210)
at com.alibaba.fastjson2.JSONObject.toJavaObject(JSONObject.java:1220)
at com.x.x.x.x.x.Test.main(Test.java:23)
Caused by: java.lang.IllegalArgumentException: argument type mismatch
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.alibaba.fastjson2.reader.FieldReaderObject.accept(FieldReaderObject.java:264)
... 4 more
附加信息
如果你还有其他需要提供的信息,可以在这里填写(可以提供截图、视频等)。
The text was updated successfully, but these errors were encountered: