java.lang.IncompatibleClassChangeError: Implementing class

Cask Community Issue Tracker | Sreevatsan Raman | 1 year ago
  1. 0

    Following error while running unit test {code} 2015-07-28 18:32:40,266 - INFO [Hive14ExploreService STARTING:o.a.h.h.q.s.SessionState@488] - No Tez session required at this point. hive.execution.engine=mr. Exception in thread "Hive14ExploreService STARTING" Exception in thread "ExploreExecutorService STARTING" 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 org.apache.hive.service.cli.operation.OperationManager.initOperationLogCapture(OperationManager.java:115) at org.apache.hive.service.cli.operation.OperationManager.init(OperationManager.java:70) at org.apache.hive.service.CompositeService.init(CompositeService.java:59) at org.apache.hive.service.cli.session.SessionManager.init(SessionManager.java:84) at org.apache.hive.service.CompositeService.init(CompositeService.java:59) at org.apache.hive.service.cli.CLIService.init(CLIService.java:116) at co.cask.cdap.explore.service.hive.BaseHiveExploreService.startUp(BaseHiveExploreService.java:273) at com.google.common.util.concurrent.AbstractIdleService$1$1.run(AbstractIdleService.java:43) at java.lang.Thread.run(Thread.java:745) com.google.common.util.concurrent.ExecutionError: java.lang.IncompatibleClassChangeError: Implementing class at com.google.common.util.concurrent.Futures.wrapAndThrowUnchecked(Futures.java:1351) at com.google.common.util.concurrent.Futures.getUnchecked(Futures.java:1344) at com.google.common.util.concurrent.AbstractService.startAndWait(AbstractService.java:221) at com.google.common.util.concurrent.AbstractIdleService.startAndWait(AbstractIdleService.java:106) at co.cask.cdap.explore.service.hive.BaseHiveExploreService.getTables(BaseHiveExploreService.java:503) at co.cask.cdap.explore.service.hive.BaseHiveExploreService.upgrade(BaseHiveExploreService.java:966) at co.cask.cdap.explore.executor.ExploreExecutorService.startUp(ExploreExecutorService.java:107) at com.google.common.util.concurrent.AbstractIdleService$1$1.run(AbstractIdleService.java:43) at java.lang.Thread.run(Thread.java:745) 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 org.apache.hive.service.cli.operation.OperationManager.initOperationLogCapture(OperationManager.java:115) at org.apache.hive.service.cli.operation.OperationManager.init(OperationManager.java:70) at org.apache.hive.service.CompositeService.init(CompositeService.java:59) at org.apache.hive.service.cli.session.SessionManager.init(SessionManager.java:84) at org.apache.hive.service.CompositeService.init(CompositeService.java:59) at org.apache.hive.service.cli.CLIService.init(CLIService.java:116) at co.cask.cdap.explore.service.hive.BaseHiveExploreService.startUp(BaseHiveExploreService.java:273) ... 2 more Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 8.32 sec <<< FAILURE! co.cask.cdap.guides.kafka.KafkaIngestionAppTest Time elapsed: 8.318 sec <<< ERROR! com.google.common.util.concurrent.ExecutionError: com.google.common.util.concurrent.ExecutionError: 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 org.apache.hive.service.cli.operation.OperationManager.initOperationLogCapture(OperationManager.java:115) at org.apache.hive.service.cli.operation.OperationManager.init(OperationManager.java:70) at org.apache.hive.service.CompositeService.init(CompositeService.java:59) at org.apache.hive.service.cli.session.SessionManager.init(SessionManager.java:84) at org.apache.hive.service.CompositeService.init(CompositeService.java:59) at org.apache.hive.service.cli.CLIService.init(CLIService.java:116) at co.cask.cdap.explore.service.hive.BaseHiveExploreService.startUp(BaseHiveExploreService.java:273) at com.google.common.util.concurrent.AbstractIdleService$1$1.run(AbstractIdleService.java:43) at java.lang.Thread.run(Thread.java:745) co.cask.cdap.guides.kafka.KafkaIngestionAppTest Time elapsed: 8.319 sec <<< ERROR! java.lang.NullPointerException: null at co.cask.cdap.guides.kafka.KafkaIngestionAppTest.cleanup(KafkaIngestionAppTest.java:86) co.cask.cdap.guides.kafka.KafkaIngestionAppTest Time elapsed: 8.32 sec <<< ERROR! java.lang.NullPointerException: null at co.cask.cdap.test.ConfigurableTestBase.finish(ConfigurableTestBase.java:355) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33) at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48) at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:159) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:87) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:95) Results : Tests in error: KafkaIngestionAppTest>TestBase.init:36->ConfigurableTestBase.initTestBase:183->ConfigurableTestBase.initialize:272 » Execution KafkaIngestionAppTest.cleanup:86 NullPointer KafkaIngestionAppTest>ConfigurableTestBase.finish:355 » NullPointer Tests run: 3, Failures: 0, Errors: 3, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 13.571s [INFO] Finished at: Tue Jul 28 18:32:40 PDT 2015 [INFO] Final Memory: 49M/456M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.14.1:test (default-test) on project cdap-kafka-ingest-guide: There are test failures. [ERROR] [ERROR] Please refer to /Users/sree/work/cdap-kafka-ingest-guide/target/surefire-reports for the individual test results. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException {code}

    Cask Community Issue Tracker | 1 year ago | Sreevatsan Raman
    java.lang.IncompatibleClassChangeError: Implementing class
  2. 0

    Following error while running unit test {code} 2015-07-28 18:32:40,266 - INFO [Hive14ExploreService STARTING:o.a.h.h.q.s.SessionState@488] - No Tez session required at this point. hive.execution.engine=mr. Exception in thread "Hive14ExploreService STARTING" Exception in thread "ExploreExecutorService STARTING" 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 org.apache.hive.service.cli.operation.OperationManager.initOperationLogCapture(OperationManager.java:115) at org.apache.hive.service.cli.operation.OperationManager.init(OperationManager.java:70) at org.apache.hive.service.CompositeService.init(CompositeService.java:59) at org.apache.hive.service.cli.session.SessionManager.init(SessionManager.java:84) at org.apache.hive.service.CompositeService.init(CompositeService.java:59) at org.apache.hive.service.cli.CLIService.init(CLIService.java:116) at co.cask.cdap.explore.service.hive.BaseHiveExploreService.startUp(BaseHiveExploreService.java:273) at com.google.common.util.concurrent.AbstractIdleService$1$1.run(AbstractIdleService.java:43) at java.lang.Thread.run(Thread.java:745) com.google.common.util.concurrent.ExecutionError: java.lang.IncompatibleClassChangeError: Implementing class at com.google.common.util.concurrent.Futures.wrapAndThrowUnchecked(Futures.java:1351) at com.google.common.util.concurrent.Futures.getUnchecked(Futures.java:1344) at com.google.common.util.concurrent.AbstractService.startAndWait(AbstractService.java:221) at com.google.common.util.concurrent.AbstractIdleService.startAndWait(AbstractIdleService.java:106) at co.cask.cdap.explore.service.hive.BaseHiveExploreService.getTables(BaseHiveExploreService.java:503) at co.cask.cdap.explore.service.hive.BaseHiveExploreService.upgrade(BaseHiveExploreService.java:966) at co.cask.cdap.explore.executor.ExploreExecutorService.startUp(ExploreExecutorService.java:107) at com.google.common.util.concurrent.AbstractIdleService$1$1.run(AbstractIdleService.java:43) at java.lang.Thread.run(Thread.java:745) 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 org.apache.hive.service.cli.operation.OperationManager.initOperationLogCapture(OperationManager.java:115) at org.apache.hive.service.cli.operation.OperationManager.init(OperationManager.java:70) at org.apache.hive.service.CompositeService.init(CompositeService.java:59) at org.apache.hive.service.cli.session.SessionManager.init(SessionManager.java:84) at org.apache.hive.service.CompositeService.init(CompositeService.java:59) at org.apache.hive.service.cli.CLIService.init(CLIService.java:116) at co.cask.cdap.explore.service.hive.BaseHiveExploreService.startUp(BaseHiveExploreService.java:273) ... 2 more Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 8.32 sec <<< FAILURE! co.cask.cdap.guides.kafka.KafkaIngestionAppTest Time elapsed: 8.318 sec <<< ERROR! com.google.common.util.concurrent.ExecutionError: com.google.common.util.concurrent.ExecutionError: 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 org.apache.hive.service.cli.operation.OperationManager.initOperationLogCapture(OperationManager.java:115) at org.apache.hive.service.cli.operation.OperationManager.init(OperationManager.java:70) at org.apache.hive.service.CompositeService.init(CompositeService.java:59) at org.apache.hive.service.cli.session.SessionManager.init(SessionManager.java:84) at org.apache.hive.service.CompositeService.init(CompositeService.java:59) at org.apache.hive.service.cli.CLIService.init(CLIService.java:116) at co.cask.cdap.explore.service.hive.BaseHiveExploreService.startUp(BaseHiveExploreService.java:273) at com.google.common.util.concurrent.AbstractIdleService$1$1.run(AbstractIdleService.java:43) at java.lang.Thread.run(Thread.java:745) co.cask.cdap.guides.kafka.KafkaIngestionAppTest Time elapsed: 8.319 sec <<< ERROR! java.lang.NullPointerException: null at co.cask.cdap.guides.kafka.KafkaIngestionAppTest.cleanup(KafkaIngestionAppTest.java:86) co.cask.cdap.guides.kafka.KafkaIngestionAppTest Time elapsed: 8.32 sec <<< ERROR! java.lang.NullPointerException: null at co.cask.cdap.test.ConfigurableTestBase.finish(ConfigurableTestBase.java:355) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33) at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48) at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:159) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:87) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:95) Results : Tests in error: KafkaIngestionAppTest>TestBase.init:36->ConfigurableTestBase.initTestBase:183->ConfigurableTestBase.initialize:272 » Execution KafkaIngestionAppTest.cleanup:86 NullPointer KafkaIngestionAppTest>ConfigurableTestBase.finish:355 » NullPointer Tests run: 3, Failures: 0, Errors: 3, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 13.571s [INFO] Finished at: Tue Jul 28 18:32:40 PDT 2015 [INFO] Final Memory: 49M/456M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.14.1:test (default-test) on project cdap-kafka-ingest-guide: There are test failures. [ERROR] [ERROR] Please refer to /Users/sree/work/cdap-kafka-ingest-guide/target/surefire-reports for the individual test results. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException {code}

    Cask Community Issue Tracker | 1 year ago | Sreevatsan Raman
    java.lang.IncompatibleClassChangeError: Implementing class
  3. 0

    Eureka Server not working with Jetty

    GitHub | 2 years ago | marcelalburg
    java.lang.IncompatibleClassChangeError: Implementing class
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Can't start server

    GitHub | 3 years ago | lennartkoopmann
    java.lang.IncompatibleClassChangeError: Implementing class
  6. 0

    1.3.x Cannot use ES client within Jersey Servlet, due to ASM incompatibility

    GitHub | 2 years ago | henrikno
    java.lang.IncompatibleClassChangeError: Implementing class

  1. davidvanlaatum 1 times, last 4 months ago
38 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IncompatibleClassChangeError

    Implementing class

    at java.lang.ClassLoader.defineClass1()
  2. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.defineClass1(Native Method)
    2. java.lang.ClassLoader.defineClass(ClassLoader.java:800)
    3. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    4. java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
    5. java.net.URLClassLoader.access$100(URLClassLoader.java:71)
    6. java.net.URLClassLoader$1.run(URLClassLoader.java:361)
    7. java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    8. java.security.AccessController.doPrivileged(Native Method)
    9. java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    10. java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    11. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    12. java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    12 frames
  3. org.apache.hive
    CLIService.init
    1. org.apache.hive.service.cli.operation.OperationManager.initOperationLogCapture(OperationManager.java:115)
    2. org.apache.hive.service.cli.operation.OperationManager.init(OperationManager.java:70)
    3. org.apache.hive.service.CompositeService.init(CompositeService.java:59)
    4. org.apache.hive.service.cli.session.SessionManager.init(SessionManager.java:84)
    5. org.apache.hive.service.CompositeService.init(CompositeService.java:59)
    6. org.apache.hive.service.cli.CLIService.init(CLIService.java:116)
    6 frames
  4. co.cask.cdap
    BaseHiveExploreService.startUp
    1. co.cask.cdap.explore.service.hive.BaseHiveExploreService.startUp(BaseHiveExploreService.java:273)
    1 frame
  5. Guava
    AbstractIdleService$1$1.run
    1. com.google.common.util.concurrent.AbstractIdleService$1$1.run(AbstractIdleService.java:43)
    1 frame
  6. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame