ElasticSearch fatal error in thread [main] , exiting java.lang.NoSuchFieldError: INSTANCE

Hello everyone,

I have download elasticsearch and I'm trying to run it but I've got a fatal error when I launch elasticsearch.bat (windows 10)
I tried to install it thanks to the msi but the same error happen with elasticsearch.exe

Here is the log I've got when I launch elasticsearch.bat

Thanks you for your help

`

[2018-09-18T13:44:28,737][INFO ][o.e.p.PluginsService ] [4nFD0OF] loaded module [aggs-matrix-stats]
[2018-09-18T13:44:28,737][INFO ][o.e.p.PluginsService ] [4nFD0OF] loaded module [analysis-common]
[2018-09-18T13:44:28,738][INFO ][o.e.p.PluginsService ] [4nFD0OF] loaded module [ingest-common]
[2018-09-18T13:44:28,738][INFO ][o.e.p.PluginsService ] [4nFD0OF] loaded module [lang-expression]
[2018-09-18T13:44:28,741][INFO ][o.e.p.PluginsService ] [4nFD0OF] loaded module [lang-mustache]
[2018-09-18T13:44:28,744][INFO ][o.e.p.PluginsService ] [4nFD0OF] loaded module [lang-painless]
[2018-09-18T13:44:28,745][INFO ][o.e.p.PluginsService ] [4nFD0OF] loaded module [mapper-extras]
[2018-09-18T13:44:28,746][INFO ][o.e.p.PluginsService ] [4nFD0OF] loaded module [parent-join]
[2018-09-18T13:44:28,746][INFO ][o.e.p.PluginsService ] [4nFD0OF] loaded module [percolator]
[2018-09-18T13:44:28,748][INFO ][o.e.p.PluginsService ] [4nFD0OF] loaded module [rank-eval]
[2018-09-18T13:44:28,751][INFO ][o.e.p.PluginsService ] [4nFD0OF] loaded module [reindex]
[2018-09-18T13:44:28,751][INFO ][o.e.p.PluginsService ] [4nFD0OF] loaded module [repository-url]
[2018-09-18T13:44:28,752][INFO ][o.e.p.PluginsService ] [4nFD0OF] loaded module [transport-netty4]
[2018-09-18T13:44:28,753][INFO ][o.e.p.PluginsService ] [4nFD0OF] loaded module [tribe]
[2018-09-18T13:44:28,753][INFO ][o.e.p.PluginsService ] [4nFD0OF] loaded module [x-pack-core]
[2018-09-18T13:44:28,754][INFO ][o.e.p.PluginsService ] [4nFD0OF] loaded module [x-pack-deprecation]
[2018-09-18T13:44:28,755][INFO ][o.e.p.PluginsService ] [4nFD0OF] loaded module [x-pack-graph]
[2018-09-18T13:44:28,756][INFO ][o.e.p.PluginsService ] [4nFD0OF] loaded module [x-pack-logstash]
[2018-09-18T13:44:28,758][INFO ][o.e.p.PluginsService ] [4nFD0OF] loaded module [x-pack-ml]
[2018-09-18T13:44:28,759][INFO ][o.e.p.PluginsService ] [4nFD0OF] loaded module [x-pack-monitoring]
[2018-09-18T13:44:28,761][INFO ][o.e.p.PluginsService ] [4nFD0OF] loaded module [x-pack-rollup]
[2018-09-18T13:44:28,761][INFO ][o.e.p.PluginsService ] [4nFD0OF] loaded module [x-pack-security]
[2018-09-18T13:44:28,762][INFO ][o.e.p.PluginsService ] [4nFD0OF] loaded module [x-pack-sql]
[2018-09-18T13:44:28,762][INFO ][o.e.p.PluginsService ] [4nFD0OF] loaded module [x-pack-upgrade]
[2018-09-18T13:44:28,763][INFO ][o.e.p.PluginsService ] [4nFD0OF] loaded module [x-pack-watcher]
[2018-09-18T13:44:28,764][INFO ][o.e.p.PluginsService ] [4nFD0OF] no plugins loaded
[2018-09-18T13:44:32,923][INFO ][o.e.x.s.a.s.FileRolesStore] [4nFD0OF] parsed [0] roles from file [G:\Logiciels\Elasticsearch\elasticsearch-6.4.0\config\roles.yml]
[2018-09-18T13:44:33,119][ERROR][o.e.b.ElasticsearchUncaughtExceptionHandler] [] fatal error in thread [main], exiting
java.lang.NoSuchFieldError: INSTANCE
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.(SSLConnectionSocketFactory.java:144) ~[?:?]
at org.elasticsearch.xpack.watcher.common.http.HttpClient.(HttpClient.java:90) ~[?:?]
at org.elasticsearch.xpack.watcher.Watcher.createComponents(Watcher.java:291) ~[?:?]
at org.elasticsearch.node.Node.lambda$new$8(Node.java:420) ~[elasticsearch-6.4.0.jar:6.4.0]
at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:267) ~[?:1.8.0_131]
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374) ~[?:1.8.0_131]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) ~[?:1.8.0_131]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) ~[?:1.8.0_131]
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) ~[?:1.8.0_131]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_131]
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) ~[?:1.8.0_131]
at org.elasticsearch.node.Node.(Node.java:423) ~[elasticsearch-6.4.0.jar:6.4.0]
at org.elasticsearch.node.Node.(Node.java:256) ~[elasticsearch-6.4.0.jar:6.4.0]
at org.elasticsearch.bootstrap.Bootstrap$5.(Bootstrap.java:213) ~[elasticsearch-6.4.0.jar:6.4.0]
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:213) ~[elasticsearch-6.4.0.jar:6.4.0]
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:326) ~[elasticsearch-6.4.0.jar:6.4.0]
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:136) ~[elasticsearch-6.4.0.jar:6.4.0]
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:127) ~[elasticsearch-6.4.0.jar:6.4.0]
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) ~[elasticsearch-6.4.0.jar:6.4.0]
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) ~[elasticsearch-cli-6.4.0.jar:6.4.0]
at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-cli-6.4.0.jar:6.4.0]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:93) ~[elasticsearch-6.4.0.jar:6.4.0]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:86) ~[elasticsearch-6.4.0.jar:6.4.0]
`

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