Getting a stack overlow error with Elasticsearch version[6.6.2]
[2019-09-09T04:01:07,798][ERROR][o.e.b.ElasticsearchUncaughtExceptionHandler] [da-data2] fatal error in thread [elasticsearch[da-data2][flush][T#1]], exiting
java.lang.StackOverflowError: null
at org.elasticsearch.common.io.stream.StreamOutput.writeVInt(StreamOutput.java:255) ~[elasticsearch-6.6.2.jar:6.6.2]
at org.elasticsearch.ElasticsearchException.writeStackTraces(ElasticsearchException.java:733) ~[elasticsearch-6.6.2.jar:6.6.2]
at org.elasticsearch.common.io.stream.StreamOutput.writeException(StreamOutput.java:966) ~[elasticsearch-6.6.2.jar:6.6.2]
at org.elasticsearch.common.io.stream.StreamOutput.writeException(StreamOutput.java:964) ~[elasticsearch-6.6.2.jar:6.6.2]
at org.elasticsearch.ElasticsearchException.writeStackTraces(ElasticsearchException.java:743) ~[elasticsearch-6.6.2.jar:6.6.2]
at org.elasticsearch.common.io.stream.StreamOutput.writeException(StreamOutput.java:966) ~[elasticsearch-6.6.2.jar:6.6.2]
at org.elasticsearch.common.io.stream.StreamOutput.writeException(StreamOutput.java:964) ~[elasticsearch-6.6.2.jar:6.6.2]
at org.elasticsearch.ElasticsearchException.writeStackTraces(ElasticsearchException.java:743) ~[elasticsearch-6.6.2.jar:6.6.2]
at org.elasticsearch.common.io.stream.StreamOutput.writeException(StreamOutput.java:966) ~[elasticsearch-6.6.2.jar:6.6.2]
at org.elasticsearch.common.io.stream.StreamOutput.writeException(StreamOutput.java:964) ~[elasticsearch-6.6.2.jar:6.6.2]
at org.elasticsearch.ElasticsearchException.writeStackTraces(ElasticsearchException.java:743) ~[elasticsearch-6.6.2.jar:6.6.2]
at org.elasticsearch.common.io.stream.StreamOutput.writeException(StreamOutput.java:966) ~[elasticsearch-6.6.2.jar:6.6.2]
at org.elasticsearch.common.io.stream.StreamOutput.writeException(StreamOutput.java:964) ~[elasticsearch-6.6.2.jar:6.6.2]
at org.elasticsearch.ElasticsearchException.writeStackTraces(ElasticsearchException.java:743) ~[elasticsearch-6.6.2.jar:6.6.2]
at org.elasticsearch.common.io.stream.StreamOutput.writeException(StreamOutput.java:966) ~[elasticsearch-6.6.2.jar:6.6.2]
at org.elasticsearch.common.io.stream.StreamOutput.writeException(StreamOutput.java:964) ~[elasticsearch-6.6.2.jar:6.6.2]
at org.elasticsearch.ElasticsearchException.writeStackTraces(ElasticsearchException.java:743) ~[elasticsearch-6.6.2.jar:6.6.2]