You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, when I use my setup from #135 I get this exception:
Caused by: com.fasterxml.jackson.core.JsonGenerationException: No native support for writing Object Ids
at com.fasterxml.jackson.core.JsonGenerator.writeObjectRef(JsonGenerator.java:1393)
at com.fasterxml.jackson.databind.ser.impl.WritableObjectId.writeAsId(WritableObjectId.java:37)
at com.fasterxml.jackson.databind.ser.std.BeanSerializerBase._serializeWithObjectId(BeanSerializerBase.java:615)
at com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:148)
at com.fasterxml.jackson.databind.ser.std.CollectionSerializer.serializeContentsUsing(CollectionSerializer.java:171)
at com.fasterxml.jackson.databind.ser.std.CollectionSerializer.serializeContents(CollectionSerializer.java:116)
at com.fasterxml.jackson.databind.ser.std.CollectionSerializer.serialize(CollectionSerializer.java:107)
at com.fasterxml.jackson.databind.ser.std.CollectionSerializer.serialize(CollectionSerializer.java:25)
at com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:727)
at com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:719)
at com.fasterxml.jackson.databind.ser.std.BeanSerializerBase._serializeWithObjectId(BeanSerializerBase.java:631)
at com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:148)
at com.fasterxml.jackson.databind.ser.DefaultSerializerProvider._serialize(DefaultSerializerProvider.java:480)
at com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:319)
at com.fasterxml.jackson.databind.ObjectMapper._configAndWriteValue(ObjectMapper.java:3905)
at com.fasterxml.jackson.databind.ObjectMapper.writeValueAsBytes(ObjectMapper.java:3243)
at org.litote.kmongo.jackson.JacksonCodec.encode(JacksonCodec.kt:185)
because KMongoBsonGenerator does not implement the method writeObjectRef from JsonGenerator.
The text was updated successfully, but these errors were encountered:
Hi, when I use my setup from #135 I get this exception:
because KMongoBsonGenerator does not implement the method writeObjectRef from JsonGenerator.
The text was updated successfully, but these errors were encountered: