com.alibaba.fastjson.JSONException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • com.alibaba.fastjson.JSONException: create asm serializer error, class class cn.dceast.community.archives.characteristic.vo.Test at com.alibaba.fastjson.serializer.SerializeConfig.createJavaBeanSerializer(SerializeConfig.java:142) at com.alibaba.fastjson.serializer.SerializeConfig.getObjectWriter(SerializeConfig.java:393) at com.alibaba.fastjson.serializer.JSONSerializer.getObjectWriter(JSONSerializer.java:392) at com.alibaba.fastjson.serializer.JSONSerializer.write(JSONSerializer.java:335) at com.alibaba.fastjson.JSON.toJSONString(JSON.java:488) at com.alibaba.fastjson.JSON.toJSONString(JSON.java:421) at com.alibaba.fastjson.JSON.toJSONString(JSON.java:391) at cn.dceast.community.archives.characteristic.vo.Test.main(Test.java:25) Caused by: java.lang.UnsupportedOperationException at com.alibaba.fastjson.asm.ByteVector.putUTF8(ByteVector.java:185) at com.alibaba.fastjson.asm.ClassWriter.newUTF8(ClassWriter.java:272) at com.alibaba.fastjson.asm.ClassWriter.newString(ClassWriter.java:347) at com.alibaba.fastjson.asm.ClassWriter.newConstItem(ClassWriter.java:259) at com.alibaba.fastjson.asm.MethodWriter.visitLdcInsn(MethodWriter.java:217) at com.alibaba.fastjson.serializer.ASMSerializerFactory._writeObject(ASMSerializerFactory.java:1321) at com.alibaba.fastjson.serializer.ASMSerializerFactory._object(ASMSerializerFactory.java:697) at com.alibaba.fastjson.serializer.ASMSerializerFactory.generateWriteMethod(ASMSerializerFactory.java:653) at com.alibaba.fastjson.serializer.ASMSerializerFactory.createJavaBeanSerializer(ASMSerializerFactory.java:281) at com.alibaba.fastjson.serializer.SerializeConfig.createASMSerializer(SerializeConfig.java:97) at com.alibaba.fastjson.serializer.SerializeConfig.createJavaBeanSerializer(SerializeConfig.java:135) ... 7 more
No Bugmate found.