Hi, when spinning up an empty ES instance v5.3.1 everything works fine, after indexing some stuff, and letting it run - adding some templates, mapping templates e.e - when i shut down the instance (CTRL+C) and try to start it again i get the following exception:
Any idea why ?
4) Error injecting constructor, ElasticsearchException[java.io.IOException: failed to read [id:20, legacy:false, file:D:\ElasticSearch\elasticsearch-5.3.1\data\nodes\0\_state\global-20.st]]; nested: IOException[failed to read [id:20, legacy:false, file:D:\ElasticSearch\elasticsearch-5.3.1\data\nodes\0\_state\global-20.st]]; nested: ParsingException[[stored script source] failed to parse field [options]]; nested: IllegalArgumentException[content_type cannot be user-specified];
at org.elasticsearch.gateway.GatewayMetaState.<init>(Unknown Source)
while locating org.elasticsearch.gateway.GatewayMetaState
for parameter 4 at org.elasticsearch.gateway.GatewayService.<init>(Unknown Source)
while locating org.elasticsearch.gateway.GatewayService
Caused by: ElasticsearchException[java.io.IOException: failed to read [id:20, legacy:false, file:D:\ElasticSearch\elasticsearch-5.3.1\data\nodes\0\_state\global-20.st]]; nested: IOException[failed to read [id:20, legacy:false, file:D:\ElasticSearch\elasticsearch-5.3.1\data\nodes\0\_state\global-20.st]]; nested: ParsingException[[stored script source] failed to parse field [options]]; nested: IllegalArgumentException[content_type cannot be user-specified];
at org.elasticsearch.ExceptionsHelper.maybeThrowRuntimeAndSuppress(ExceptionsHelper.java:150)
at org.elasticsearch.gateway.MetaDataStateFormat.loadLatestState(MetaDataStateFormat.java:334)
at org.elasticsearch.gateway.MetaStateService.loadGlobalState(MetaStateService.java:113)
at org.elasticsearch.gateway.MetaStateService.loadFullState(MetaStateService.java:57)
at org.elasticsearch.gateway.GatewayMetaState.<init>(GatewayMetaState.java:88)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
at ...