com.alibaba.fastjson.JSONException: create asm serializer error, class class cn.dceast.community.archives.characteristic.vo.Test

GitHub | chutian52 | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Use @JSONField(format="yyyy年MM月dd日") cause com.alibaba.fastjson.JSONException: create asm serializer error

    GitHub | 9 months ago | chutian52
    com.alibaba.fastjson.JSONException: create asm serializer error, class class cn.dceast.community.archives.characteristic.vo.Test
  2. 0

    特殊字符<br/>导致 at com.alibaba.fastjson.JSON.toJSONString(JSON.java:402)失败

    GitHub | 2 years ago | wangliangliang
    com.alibaba.fastjson.JSONException: write javaBean error
  3. 0

    Json转换出错

    GitHub | 2 months ago | shenan4321
    com.alibaba.fastjson.JSONException: write javaBean error, class org.eclipse.emf.ecore.impl.EClassImpl, fieldName : 0, org.eclipse.emf.ecore.impl.EStringToStringMapEntryImpl cannot be cast to java.lang.String
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      No message provided

      at com.alibaba.fastjson.asm.ByteVector.putUTF8()
    2. fastjson
      JSON.toJSONString
      1. com.alibaba.fastjson.asm.ByteVector.putUTF8(ByteVector.java:185)
      2. com.alibaba.fastjson.asm.ClassWriter.newUTF8(ClassWriter.java:272)
      3. com.alibaba.fastjson.asm.ClassWriter.newString(ClassWriter.java:347)
      4. com.alibaba.fastjson.asm.ClassWriter.newConstItem(ClassWriter.java:259)
      5. com.alibaba.fastjson.asm.MethodWriter.visitLdcInsn(MethodWriter.java:217)
      6. com.alibaba.fastjson.serializer.ASMSerializerFactory._writeObject(ASMSerializerFactory.java:1321)
      7. com.alibaba.fastjson.serializer.ASMSerializerFactory._object(ASMSerializerFactory.java:697)
      8. com.alibaba.fastjson.serializer.ASMSerializerFactory.generateWriteMethod(ASMSerializerFactory.java:653)
      9. com.alibaba.fastjson.serializer.ASMSerializerFactory.createJavaBeanSerializer(ASMSerializerFactory.java:281)
      10. com.alibaba.fastjson.serializer.SerializeConfig.createASMSerializer(SerializeConfig.java:97)
      11. com.alibaba.fastjson.serializer.SerializeConfig.createJavaBeanSerializer(SerializeConfig.java:135)
      12. com.alibaba.fastjson.serializer.SerializeConfig.getObjectWriter(SerializeConfig.java:393)
      13. com.alibaba.fastjson.serializer.JSONSerializer.getObjectWriter(JSONSerializer.java:392)
      14. com.alibaba.fastjson.serializer.JSONSerializer.write(JSONSerializer.java:335)
      15. com.alibaba.fastjson.JSON.toJSONString(JSON.java:488)
      16. com.alibaba.fastjson.JSON.toJSONString(JSON.java:421)
      17. com.alibaba.fastjson.JSON.toJSONString(JSON.java:391)
      17 frames
    3. cn.dceast.community
      Test.main
      1. cn.dceast.community.archives.characteristic.vo.Test.main(Test.java:25)
      1 frame