NPE when clearing the index in Elasticsearch

Description

Stack trace:

This is the elasticsearch request:

And this is what elasticsearch responded:

Not sure why ES is answering with a version conflict when I send a clear command. In any case, this kind of response is causing the NPE in the line

Environment

None

Assignee

Yoann Rodière

Reporter

Gustavo Fernandes

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Components

Fix versions

Affects versions

Priority

Major
Configure