elasticsearch-java icon indicating copy to clipboard operation
elasticsearch-java copied to clipboard

Handle null values in serialization when the missing properties workaround is enabled

Open swallez opened this issue 2 years ago • 0 comments

The workaround for missing property exceptions only works for deserialization. On serialization, passing a null value to e.g. JsonGenerator.write(String) can cause an NPE.

swallez avatar Apr 20 '23 15:04 swallez