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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by chutian52
, 1 year ago
create asm serializer error, class class cn.dceast.community.archives.characteristic.vo.Test
via GitHub by qifanyang
, 2 years ago
create asm serializer error, class class fastjson.test.Beanb
via GitHub by xysoko
, 1 year ago
create asm serializer error, class class com.game.player.structs.Player
com.alibaba.fastjson.JSONException: create asm serializer error, class class cn.dceast.community.archives.characteristic.vo.Test
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)
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 cn.dceast.community.archives.characteristic.vo.Test.main(Test.java:25)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.