Exception when using ES 1.3.1 Caused by: java.lang.IncompatibleClassChangeError: Implementing class


(ElasticSearch Users mailing list) #1

Hello,

I have a project using Play framework version 1.2.7 which used ES 1.1.1.
I wanted to update it to the latest and greatest (1.3.1), but encountered
the following exception when running the unit tests within the play
framework:

An unexpected error occured caused by exception
IncompatibleClassChangeError: Implementing class

(see full trace below)

I'm using Java7 (1.7.0_51).

ES 1.2.3 has no issue, it starts with 1.3.0 to exhibit this problem.

I have looked at the issue and it seems it's caused by not using the right
class version, but I wasn't able to pin point to the exact one.

Has anyone encounter this or know which particular class may introduce this
issue?

Thanks,

Greg

An unexpected error occured caused by exception
IncompatibleClassChangeError: Implementing class

play.exceptions.UnexpectedException: Unexpected Error

at play.Invoker$Invocation.onException(Invoker.java:244)

at play.Invoker$Invocation.run(Invoker.java:286)

at Invocation.HTTP Request(Play!)

Caused by: java.lang.IncompatibleClassChangeError: Implementing class

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:800)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)

at java.net.URLClassLoader.access$100(URLClassLoader.java:71)

at java.net.URLClassLoader$1.run(URLClassLoader.java:361)

at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

at java.lang.ClassLoader.loadClass(ClassLoader.java:425)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)

at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:800)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)

at java.net.URLClassLoader.access$100(URLClassLoader.java:71)

at java.net.URLClassLoader$1.run(URLClassLoader.java:361)

at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

at java.lang.ClassLoader.loadClass(ClassLoader.java:425)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)

at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

at
play.classloading.enhancers.ContinuationEnhancer.enhanceThisClass(ContinuationEnhancer.java:74)

at play.CorePlugin.enhance(CorePlugin.java:297)

at play.plugins.PluginCollection.enhance(PluginCollection.java:551)

at
play.classloading.ApplicationClasses$ApplicationClass.enhance(ApplicationClasses.java:235)

at
play.classloading.ApplicationClassloader.loadApplicationClass(ApplicationClassloader.java:167)

at
play.classloading.ApplicationClassloader.getAllClasses(ApplicationClassloader.java:431)

at play.Play.start(Play.java:523)

at play.Play.detectChanges(Play.java:649)

at play.Invoker$Invocation.init(Invoker.java:198)

... 1 more

10:21:21,858 ERROR ~ Error during the 500 response generation

java.lang.IncompatibleClassChangeError: Implementing class

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:800)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)

at java.net.URLClassLoader.access$100(URLClassLoader.java:71)

at java.net.URLClassLoader$1.run(URLClassLoader.java:361)

at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

at java.lang.ClassLoader.loadClass(ClassLoader.java:425)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)

at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:800)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)

at java.net.URLClassLoader.access$100(URLClassLoader.java:71)

at java.net.URLClassLoader$1.run(URLClassLoader.java:361)

at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

at java.lang.ClassLoader.loadClass(ClassLoader.java:425)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)

at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

at
play.classloading.enhancers.ContinuationEnhancer.enhanceThisClass(ContinuationEnhancer.java:74)

at play.CorePlugin.enhance(CorePlugin.java:297)

at play.plugins.PluginCollection.enhance(PluginCollection.java:551)

at
play.classloading.ApplicationClasses$ApplicationClass.enhance(ApplicationClasses.java:235)

at
play.classloading.ApplicationClassloader.loadApplicationClass(ApplicationClassloader.java:167)

at
play.classloading.ApplicationClassloader.loadClass(ApplicationClassloader.java:84)

at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

at
play.classloading.ApplicationClasses.getAssignableClasses(ApplicationClasses.java:67)

at
play.classloading.ApplicationClassloader.getAssignableClasses(ApplicationClassloader.java:457)

at
play.templates.GroovyTemplateCompiler.endTag(GroovyTemplateCompiler.java:342)

at play.templates.TemplateCompiler.generate(TemplateCompiler.java:93)

at play.templates.TemplateCompiler.compile(TemplateCompiler.java:15)

at
play.templates.GroovyTemplateCompiler.compile(GroovyTemplateCompiler.java:41)

at play.templates.TemplateCompiler.compile(TemplateCompiler.java:28)

at play.templates.TemplateLoader.load(TemplateLoader.java:82)

at play.templates.TemplateLoader.load(TemplateLoader.java:172)

at play.server.PlayHandler.serve500(PlayHandler.java:784)

at play.server.PlayHandler$NettyInvocation.run(PlayHandler.java:232)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

at java.util.concurrent.FutureTask.run(FutureTask.java:262)

at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)

at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)

at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

at java.lang.Thread.run(Thread.java:744)

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/e123517c-2320-4fde-80fe-20c15961d613%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Jörg Prante) #2

This is a dependency problem. Check your classpath if you have clean
dependencies to ES 1.3.1 code only.

Jörg

On Wed, Jul 30, 2014 at 10:41 AM, gregorymaertens via elasticsearch <
elasticsearch@googlegroups.com> wrote:

Hello,

I have a project using Play framework version 1.2.7 which used ES 1.1.1.
I wanted to update it to the latest and greatest (1.3.1), but encountered
the following exception when running the unit tests within the play
framework:

An unexpected error occured caused by exception
IncompatibleClassChangeError: Implementing class

(see full trace below)

I'm using Java7 (1.7.0_51).

ES 1.2.3 has no issue, it starts with 1.3.0 to exhibit this problem.

I have looked at the issue and it seems it's caused by not using the right
class version, but I wasn't able to pin point to the exact one.

Has anyone encounter this or know which particular class may introduce
this issue?

Thanks,

Greg

An unexpected error occured caused by exception
IncompatibleClassChangeError: Implementing class

play.exceptions.UnexpectedException: Unexpected Error

at play.Invoker$Invocation.onException(Invoker.java:244)

at play.Invoker$Invocation.run(Invoker.java:286)

at Invocation.HTTP Request(Play!)

Caused by: java.lang.IncompatibleClassChangeError: Implementing class

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:800)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)

at java.net.URLClassLoader.access$100(URLClassLoader.java:71)

at java.net.URLClassLoader$1.run(URLClassLoader.java:361)

at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

at java.lang.ClassLoader.loadClass(ClassLoader.java:425)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)

at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:800)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)

at java.net.URLClassLoader.access$100(URLClassLoader.java:71)

at java.net.URLClassLoader$1.run(URLClassLoader.java:361)

at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

at java.lang.ClassLoader.loadClass(ClassLoader.java:425)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)

at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

at
play.classloading.enhancers.ContinuationEnhancer.enhanceThisClass(ContinuationEnhancer.java:74)

at play.CorePlugin.enhance(CorePlugin.java:297)

at play.plugins.PluginCollection.enhance(PluginCollection.java:551)

at
play.classloading.ApplicationClasses$ApplicationClass.enhance(ApplicationClasses.java:235)

at
play.classloading.ApplicationClassloader.loadApplicationClass(ApplicationClassloader.java:167)

at
play.classloading.ApplicationClassloader.getAllClasses(ApplicationClassloader.java:431)

at play.Play.start(Play.java:523)

at play.Play.detectChanges(Play.java:649)

at play.Invoker$Invocation.init(Invoker.java:198)

... 1 more

10:21:21,858 ERROR ~ Error during the 500 response generation

java.lang.IncompatibleClassChangeError: Implementing class

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:800)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)

at java.net.URLClassLoader.access$100(URLClassLoader.java:71)

at java.net.URLClassLoader$1.run(URLClassLoader.java:361)

at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

at java.lang.ClassLoader.loadClass(ClassLoader.java:425)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)

at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:800)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)

at java.net.URLClassLoader.access$100(URLClassLoader.java:71)

at java.net.URLClassLoader$1.run(URLClassLoader.java:361)

at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

at java.lang.ClassLoader.loadClass(ClassLoader.java:425)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)

at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

at
play.classloading.enhancers.ContinuationEnhancer.enhanceThisClass(ContinuationEnhancer.java:74)

at play.CorePlugin.enhance(CorePlugin.java:297)

at play.plugins.PluginCollection.enhance(PluginCollection.java:551)

at
play.classloading.ApplicationClasses$ApplicationClass.enhance(ApplicationClasses.java:235)

at
play.classloading.ApplicationClassloader.loadApplicationClass(ApplicationClassloader.java:167)

at
play.classloading.ApplicationClassloader.loadClass(ApplicationClassloader.java:84)

at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

at
play.classloading.ApplicationClasses.getAssignableClasses(ApplicationClasses.java:67)

at
play.classloading.ApplicationClassloader.getAssignableClasses(ApplicationClassloader.java:457)

at
play.templates.GroovyTemplateCompiler.endTag(GroovyTemplateCompiler.java:342)

at play.templates.TemplateCompiler.generate(TemplateCompiler.java:93)

at play.templates.TemplateCompiler.compile(TemplateCompiler.java:15)

at
play.templates.GroovyTemplateCompiler.compile(GroovyTemplateCompiler.java:41)

at play.templates.TemplateCompiler.compile(TemplateCompiler.java:28)

at play.templates.TemplateLoader.load(TemplateLoader.java:82)

at play.templates.TemplateLoader.load(TemplateLoader.java:172)

at play.server.PlayHandler.serve500(PlayHandler.java:784)

at play.server.PlayHandler$NettyInvocation.run(PlayHandler.java:232)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

at java.util.concurrent.FutureTask.run(FutureTask.java:262)

at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)

at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)

at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

at java.lang.Thread.run(Thread.java:744)

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/e123517c-2320-4fde-80fe-20c15961d613%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/e123517c-2320-4fde-80fe-20c15961d613%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoEF%3DaOE-hytkzLUTOAMoN5P3rhEq-GLv_KxEbc07mnUvw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(Stephan Baune) #3

Hey Greg,

I'm facing the same issue:

  • Play 1.2.7
  • Trying to upgrade the embedded ES dependency from 1.0.0 to 1.4.2
  • IncompatibleClassChangeError, identical stack trace
  • Updating to Elasticsearch 1.2.x works

Could you resolve the issue? If so - how? :slight_smile:

Thx,
Stephan

Am Mittwoch, 30. Juli 2014 10:41:15 UTC+2 schrieb gregory...@yahoo.fr:

Hello,

I have a project using Play framework version 1.2.7 which used ES 1.1.1.
I wanted to update it to the latest and greatest (1.3.1), but encountered
the following exception when running the unit tests within the play
framework:

An unexpected error occured caused by exception
IncompatibleClassChangeError: Implementing class

(see full trace below)

I'm using Java7 (1.7.0_51).

ES 1.2.3 has no issue, it starts with 1.3.0 to exhibit this problem.

I have looked at the issue and it seems it's caused by not using the right
class version, but I wasn't able to pin point to the exact one.

Has anyone encounter this or know which particular class may introduce
this issue?

Thanks,

Greg

An unexpected error occured caused by exception
IncompatibleClassChangeError: Implementing class

play.exceptions.UnexpectedException: Unexpected Error

at play.Invoker$Invocation.onException(Invoker.java:244)

at play.Invoker$Invocation.run(Invoker.java:286)

at Invocation.HTTP Request(Play!)

Caused by: java.lang.IncompatibleClassChangeError: Implementing class

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:800)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)

at java.net.URLClassLoader.access$100(URLClassLoader.java:71)

at java.net.URLClassLoader$1.run(URLClassLoader.java:361)

at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

at java.lang.ClassLoader.loadClass(ClassLoader.java:425)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)

at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:800)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)

at java.net.URLClassLoader.access$100(URLClassLoader.java:71)

at java.net.URLClassLoader$1.run(URLClassLoader.java:361)

at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

at java.lang.ClassLoader.loadClass(ClassLoader.java:425)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)

at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

at
play.classloading.enhancers.ContinuationEnhancer.enhanceThisClass(ContinuationEnhancer.java:74)

at play.CorePlugin.enhance(CorePlugin.java:297)

at play.plugins.PluginCollection.enhance(PluginCollection.java:551)

at
play.classloading.ApplicationClasses$ApplicationClass.enhance(ApplicationClasses.java:235)

at
play.classloading.ApplicationClassloader.loadApplicationClass(ApplicationClassloader.java:167)

at
play.classloading.ApplicationClassloader.getAllClasses(ApplicationClassloader.java:431)

at play.Play.start(Play.java:523)

at play.Play.detectChanges(Play.java:649)

at play.Invoker$Invocation.init(Invoker.java:198)

... 1 more

10:21:21,858 ERROR ~ Error during the 500 response generation

java.lang.IncompatibleClassChangeError: Implementing class

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:800)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)

at java.net.URLClassLoader.access$100(URLClassLoader.java:71)

at java.net.URLClassLoader$1.run(URLClassLoader.java:361)

at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

at java.lang.ClassLoader.loadClass(ClassLoader.java:425)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)

at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:800)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)

at java.net.URLClassLoader.access$100(URLClassLoader.java:71)

at java.net.URLClassLoader$1.run(URLClassLoader.java:361)

at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

at java.lang.ClassLoader.loadClass(ClassLoader.java:425)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)

at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

at
play.classloading.enhancers.ContinuationEnhancer.enhanceThisClass(ContinuationEnhancer.java:74)

at play.CorePlugin.enhance(CorePlugin.java:297)

at play.plugins.PluginCollection.enhance(PluginCollection.java:551)

at
play.classloading.ApplicationClasses$ApplicationClass.enhance(ApplicationClasses.java:235)

at
play.classloading.ApplicationClassloader.loadApplicationClass(ApplicationClassloader.java:167)

at
play.classloading.ApplicationClassloader.loadClass(ApplicationClassloader.java:84)

at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

at
play.classloading.ApplicationClasses.getAssignableClasses(ApplicationClasses.java:67)

at
play.classloading.ApplicationClassloader.getAssignableClasses(ApplicationClassloader.java:457)

at
play.templates.GroovyTemplateCompiler.endTag(GroovyTemplateCompiler.java:342)

at play.templates.TemplateCompiler.generate(TemplateCompiler.java:93)

at play.templates.TemplateCompiler.compile(TemplateCompiler.java:15)

at
play.templates.GroovyTemplateCompiler.compile(GroovyTemplateCompiler.java:41)

at play.templates.TemplateCompiler.compile(TemplateCompiler.java:28)

at play.templates.TemplateLoader.load(TemplateLoader.java:82)

at play.templates.TemplateLoader.load(TemplateLoader.java:172)

at play.server.PlayHandler.serve500(PlayHandler.java:784)

at play.server.PlayHandler$NettyInvocation.run(PlayHandler.java:232)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

at java.util.concurrent.FutureTask.run(FutureTask.java:262)

at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)

at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)

at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

at java.lang.Thread.run(Thread.java:744)

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/eb802d61-ff0d-435a-91b6-2cb72a516058%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Rahul ) #4

hello,i am getting the same error by using elasticsearch-5.0.1

java.lang.IncompatibleClassChangeError: Implementing class
        at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_101]
        at java.lang.ClassLoader.defineClass(ClassLoader.java:763) ~[?:1.8.0_101]
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.8.0_101]
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) ~[?:1.8.0_101]
        at java.net.URLClassLoader.access$100(URLClassLoader.java:73) ~[?:1.8.0_101]
        at java.net.URLClassLoader$1.run(URLClassLoader.java:368) ~[?:1.8.0_101]
        at java.net.URLClassLoader$1.run(URLClassLoader.java:362) ~[?:1.8.0_101]
        at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_101]
        at java.net.URLClassLoader.findClass(URLClassLoader.java:361) ~[?:1.8.0_101]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_101]
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) ~[?:1.8.0_101]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_101]
        at org.apache.storm.elasticsearch.common.EsConfig.toBasicSettings(EsConfig.java:77) ~[storm-elasticsearch-1.0.2.jar:1.0.2]
        at org.apache.storm.elasticsearch.common.StormElasticSearchClient.construct(StormElasticSearchClient.java:36) ~[storm-elasticsearch-1.0.2.jar:1.0.2]
        at org.apache.storm.elasticsearch.bolt.AbstractEsBolt.prepare(AbstractEsBolt.java:57) ~[storm-elasticsearch-1.0.2.jar:1.0.2]
        at org.apache.storm.elasticsearch.bolt.EsIndexBolt.prepare(EsIndexBolt.java:49) ~[storm-elasticsearch-1.0.2.jar:1.0.2]
        at org.apache.storm.daemon.executor$fn__8058$fn__8071.invoke(executor.clj:795) ~[storm-core-1.0.2.jar:1.0.2]
        at org.apache.storm.util$async_loop$fn__624.invoke(util.clj:482) [storm-core-1.0.2.jar:1.0.2]
        at clojure.lang.AFn.run(AFn.java:22) [clojure-1.7.0.jar:?]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]

Esconfig line no 77 is

 Settings toBasicSettings() {
        return ImmutableSettings.settingsBuilder()
                                .put("cluster.name", clusterName)
                                .put(additionalConfiguration)
                                .build();

(system) #5