On Tue, Apr 9, 2019 at 12:25 PM Aishwarya Agarwal <[email protected]> wrote:
>
> Fatal Exception: java.lang.NoSuchMethodError: No direct method ()B in class B 
> or its super classes (declaration of 'byte' appears in generated class)
>        at 
> com.fasterxml.jackson.databind.ser.impl.PropertySerializerMap$Empty.<init>(PropertySerializerMap.java:245)
>        at 
> com.fasterxml.jackson.databind.ser.impl.PropertySerializerMap$Empty.<clinit>(PropertySerializerMap.java:239)
>        at 
> com.fasterxml.jackson.databind.ser.impl.PropertySerializerMap.emptyForProperties(PropertySerializerMap.java:179)
>        at 
> com.fasterxml.jackson.databind.ser.std.MapSerializer.<init>(MapSerializer.java:177)
>        at 
> com.fasterxml.jackson.databind.ser.std.MapSerializer.construct(MapSerializer.java:319)
>        at 
> com.fasterxml.jackson.databind.ser.BasicSerializerFactory.buildMapSerializer(BasicSerializerFactory.java:778)
>        at 
> com.fasterxml.jackson.databind.ser.BasicSerializerFactory.buildContainerSerializer(BasicSerializerFactory.java:568)
>        at 
> com.fasterxml.jackson.databind.ser.BeanSerializerFactory._createSerializer2(BeanSerializerFactory.java:196)
>        at 
> com.fasterxml.jackson.databind.ser.BeanSerializerFactory.createSerializer(BeanSerializerFactory.java:165)
>        at 
> com.fasterxml.jackson.databind.SerializerProvider._createUntypedSerializer(SerializerProvider.java:1389)
>        at 
> com.fasterxml.jackson.databind.SerializerProvider._createAndCacheUntypedSerializer(SerializerProvider.java:1336)
>        at 
> com.fasterxml.jackson.databind.SerializerProvider.findValueSerializer(SerializerProvider.java:510)
>        at 
> com.fasterxml.jackson.databind.SerializerProvider.findTypedValueSerializer(SerializerProvider.java:713)
>        at 
> com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:308)
>        at 
> com.fasterxml.jackson.databind.ObjectMapper._configAndWriteValue(ObjectMapper.java:3905)
>        at 
> com.fasterxml.jackson.databind.ObjectMapper.writeValueAsBytes(ObjectMapper.java:3243)
>
> --
> You received this message because you are subscribed to the Google Groups 
> "jackson-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

Do you have code to reproduce this problem? How about Jackson and JDK
versions used?

-+ Tatu +-

-- 
You received this message because you are subscribed to the Google Groups 
"jackson-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to