public class A<T> { private List<List<T>> values; } public class B extends A<Float>{ @BsonId private Integer id; }
The type for values is not correctly captured and results in the codec registry looking for a handler for List<List<Object>> and not List<List<Float>>.