java.lang.IllegalStateException: AnnotationIntrospector returned Class httpremoting.shaded.com.fasterxml.jackson.databind.JsonSerializer$None; expected Class<JsonSerializer>

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

Solutions on the web

via GitHub by uschi2000
, 1 year ago
AnnotationIntrospector returned Class httpremoting.shaded.com.fasterxml.jackson.databind.JsonSerializer$None; expected Class<JsonSerializer>
java.lang.IllegalStateException: AnnotationIntrospector returned Class httpremoting.shaded.com.fasterxml.jackson.databind.JsonSerializer$None; expected Class<JsonSerializer>
at com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializerInstance(DefaultSerializerProvider.java:526)
at com.fasterxml.jackson.databind.ser.BasicSerializerFactory.findSerializerFromAnnotation(BasicSerializerFactory.java:492)
at com.fasterxml.jackson.databind.ser.BeanSerializerFactory.createSerializer(BeanSerializerFactory.java:134)
at com.fasterxml.jackson.databind.SerializerProvider._createUntypedSerializer(SerializerProvider.java:1166)
at com.fasterxml.jackson.databind.SerializerProvider._createAndCacheUntypedSerializer(SerializerProvider.java:1120)
at com.fasterxml.jackson.databind.SerializerProvider.findValueSerializer(SerializerProvider.java:471)
at com.fasterxml.jackson.databind.SerializerProvider.findTypedValueSerializer(SerializerProvider.java:669)
at com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:107)
at com.fasterxml.jackson.databind.ObjectMapper._configAndWriteValue(ObjectMapper.java:3385)
at com.palantir.atlasdb.persister.JacksonPersister.persistToBytes(JacksonPersister.java:51)

Users with the same issue

You are the first who have seen this exception.

Write tip

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