堆栈信息
Caused by: java.lang.IllegalArgumentException: Comparison method violates its general contract!
at java.util.TimSort.mergeHi(TimSort.java:899) ~[na:1.8.0_291]
at java.util.TimSort.mergeAt(TimSort.java:516) ~[na:1.8.0_291]
at java.util.TimSort.mergeForceCollapse(TimSort.java:457) ~[na:1.8.0_291]
at java.util.TimSort.sort(TimSort.java:254) ~[na:1.8.0_291]
at java.util.Arrays.sort(Arrays.java:1438) ~[na:1.8.0_291]
at com.alibaba.fastjson.util.TypeUtils.computeGetters(TypeUtils.java:1880) ~[fastjson-1.2.78.jar:na]
at com.alibaba.fastjson.util.TypeUtils.buildBeanInfo(TypeUtils.java:1820) ~[fastjson-1.2.78.jar:na]
at com.alibaba.fastjson.serializer.SerializeConfig.createJavaBeanSerializer(SerializeConfig.java:113) ~[fastjson-1.2.78.jar:na]
at com.alibaba.fastjson.serializer.SerializeConfig.getObjectWriter(SerializeConfig.java:821) ~[fastjson-1.2.78.jar:na]
at com.alibaba.fastjson.serializer.SerializeConfig.getObjectWriter(SerializeConfig.java:440) ~[fastjson-1.2.78.jar:na]
at com.alibaba.fastjson.serializer.JSONSerializer.getObjectWriter(JSONSerializer.java:448) ~[fastjson-1.2.78.jar:na]
at com.alibaba.fastjson.serializer.ListSerializer.write(ListSerializer.java:76) ~[fastjson-1.2.78.jar:na]
at com.alibaba.fastjson.serializer.FieldSerializer.writeValue(FieldSerializer.java:318) ~[fastjson-1.2.78.jar:na]
at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:472) ~[fastjson-1.2.78.jar:na]
... 97 common frames omitted
堆栈信息 Caused by: java.lang.IllegalArgumentException: Comparison method violates its general contract! at java.util.TimSort.mergeHi(TimSort.java:899) ~[na:1.8.0_291] at java.util.TimSort.mergeAt(TimSort.java:516) ~[na:1.8.0_291] at java.util.TimSort.mergeForceCollapse(TimSort.java:457) ~[na:1.8.0_291] at java.util.TimSort.sort(TimSort.java:254) ~[na:1.8.0_291] at java.util.Arrays.sort(Arrays.java:1438) ~[na:1.8.0_291] at com.alibaba.fastjson.util.TypeUtils.computeGetters(TypeUtils.java:1880) ~[fastjson-1.2.78.jar:na] at com.alibaba.fastjson.util.TypeUtils.buildBeanInfo(TypeUtils.java:1820) ~[fastjson-1.2.78.jar:na] at com.alibaba.fastjson.serializer.SerializeConfig.createJavaBeanSerializer(SerializeConfig.java:113) ~[fastjson-1.2.78.jar:na] at com.alibaba.fastjson.serializer.SerializeConfig.getObjectWriter(SerializeConfig.java:821) ~[fastjson-1.2.78.jar:na] at com.alibaba.fastjson.serializer.SerializeConfig.getObjectWriter(SerializeConfig.java:440) ~[fastjson-1.2.78.jar:na] at com.alibaba.fastjson.serializer.JSONSerializer.getObjectWriter(JSONSerializer.java:448) ~[fastjson-1.2.78.jar:na] at com.alibaba.fastjson.serializer.ListSerializer.write(ListSerializer.java:76) ~[fastjson-1.2.78.jar:na] at com.alibaba.fastjson.serializer.FieldSerializer.writeValue(FieldSerializer.java:318) ~[fastjson-1.2.78.jar:na] at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:472) ~[fastjson-1.2.78.jar:na] ... 97 common frames omitted