Null pointer exception | co.elastic.clients.elasticsearch._types.InlineScript

After migration from Rest High Level Client 7.17.1 to Elastic Java API client 8.6.2, I am getting nullpointer exception in InlineScript creation if any key's value is passed as null. Earlier with HLRC, the null values were accepted and were updated as is in the document on elastic server. But now this doesn't seem to be the case. This breaks the existing behavior. Is there any solution to this?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.