Details
Description
Community member anilb reports on the Couchbase Forums:
Looks starting from version 3.1.5 of the client the , when a customer json serializer is provided, the sdk is wrapping the serializer in JsonValueSerializerWrapper, and this did not have an implementation for the method that take a TypeRef object as input. This causing the above error.
<T> T deserialize(TypeRef<T> target, byte[] input)
the initialization code in ClusterEnvironment
private ClusterEnvironment(ClusterEnvironment.Builder builder) {
super(builder);
*this.jsonSerializer = (JsonSerializer)(builder.jsonSerializer != null ? new JsonValueSerializerWrapper(builder.jsonSerializer) : this.newDefaultSerializer(builder.cryptoManager));*
this.transcoder = (Transcoder)CbObjects.defaultIfNull(builder.transcoder, () ->
);
this.cryptoManager = Optional.ofNullable(builder.cryptoManager);
}
Attachments
Issue Links
- links to