java.lang.IncompatibleClassChangeError: org/sonar/java/resolve/BytecodeVisitor

Stack Overflow | Khodabakhsh | 4 months ago
  1. 0

    Error while using SonarLint and SonarQube

    Stack Overflow | 4 months ago | Khodabakhsh
    java.lang.IncompatibleClassChangeError: org/sonar/java/resolve/BytecodeVisitor
  2. 0

    Struts stumbles when encountering lambda expressions in JDK 8. Looks like org.objwectweb.asm dependency needs to be updated... {code} 2014-05-18 10:21:41,111 ERROR (com.opensymphony.xwork2.util.finder.ClassFinder:38) - Unable to read class [jdk8test.actions.Lambda] java.lang.ArrayIndexOutOfBoundsException: 52264 at org.objectweb.asm.ClassReader.readClass(Unknown Source) at org.objectweb.asm.ClassReader.accept(Unknown Source) at org.objectweb.asm.ClassReader.accept(Unknown Source) at com.opensymphony.xwork2.util.finder.ClassFinder.readClassDef(ClassFinder.java:717) at com.opensymphony.xwork2.util.finder.ClassFinder.<init>(ClassFinder.java:112) at org.apache.struts2.convention.PackageBasedActionConfigBuilder.findActions(PackageBasedActionConfigBuilder.java:390) at org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildActionConfigs(PackageBasedActionConfigBuilder.java:347) at org.apache.struts2.convention.ClasspathPackageProvider.loadPackages(ClasspathPackageProvider.java:53) at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:268) at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67) at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:445) at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:489) at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74) at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57) at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262) at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:107) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4775) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5452) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:744) {code} Simple test case attached. tar xvf jdk8test.tar cd jdk8test mvn tomcat7:run http://localhost:8080/jdk8test

    Apache's JIRA Issue Tracker | 3 years ago | Erik Berg
    java.lang.IncompatibleClassChangeError: org/apache/struts2/convention/Java8ClassFinder$InfoBuildingClassVisitor
  3. 0

    nested exception is java.lang.IncompatibleClassChangeError: org/springframework/core/type/classreading/AnnotationMetadataReadingVisitor

    Stack Overflow | 4 years ago | Eddy
    org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [C:\Users\e\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\FTAdControl\WEB-INF\classes\com\fashiontraffic\adcontrol\health\restwebservices\HealthWSImpl.class]; nested exception is java.lang.IncompatibleClassChangeError: org/springframework/core/type/classreading/AnnotationMetadataReadingVisitor
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [build-test alert] BUILD FAILED Linux x86: eut

    apache.org | 11 months ago
    java.lang.IncompatibleClassChangeError: org/eclipse/core/internal/resources/Folder
  6. 0

    Re: Issue with Aries Blueprint / CXF / PoJoSr

    aries-user | 3 years ago | Daniel Kulp
    org.osgi.service.blueprint.container.ComponentDefinitionException: java.lang.IncompatibleClassChangeError: org/apache/aries/proxy/impl/interfaces/InterfaceProxyGenerator

    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

      org/sonar/java/resolve/BytecodeVisitor

      at org.sonar.java.resolve.BytecodeCompleter.complete()
    2. SonarQube Java :: Squid
      JavaSquid.scan
      1. org.sonar.java.resolve.BytecodeCompleter.complete(BytecodeCompleter.java:100)
      2. org.sonar.java.resolve.JavaSymbol.complete(JavaSymbol.java:111)
      3. org.sonar.java.resolve.JavaSymbol$TypeJavaSymbol.members(JavaSymbol.java:349)
      4. org.sonar.java.resolve.Resolve.findMemberType(Resolve.java:193)
      5. org.sonar.java.resolve.Resolve.findMemberType(Resolve.java:201)
      6. org.sonar.java.resolve.Resolve.findType(Resolve.java:234)
      7. org.sonar.java.resolve.Resolve.findIdent(Resolve.java:294)
      8. org.sonar.java.resolve.TypeAndReferenceSolver.resolveAs(TypeAndReferenceSolver.java:340)
      9. org.sonar.java.resolve.TypeAndReferenceSolver.resolveAs(TypeAndReferenceSolver.java:319)
      10. org.sonar.java.resolve.SecondPass.resolveType(SecondPass.java:245)
      11. org.sonar.java.resolve.SecondPass.complete(SecondPass.java:234)
      12. org.sonar.java.resolve.SecondPass.complete(SecondPass.java:66)
      13. org.sonar.java.resolve.JavaSymbol.complete(JavaSymbol.java:111)
      14. org.sonar.java.resolve.FirstPass.completeSymbols(FirstPass.java:94)
      15. org.sonar.java.resolve.FirstPass.visitCompilationUnit(FirstPass.java:125)
      16. org.sonar.java.resolve.SemanticModel.createFor(SemanticModel.java:62)
      17. org.sonar.java.model.VisitorsBridge.visitFile(VisitorsBridge.java:107)
      18. org.sonar.java.ast.JavaAstScanner.simpleScan(JavaAstScanner.java:84)
      19. org.sonar.java.ast.JavaAstScanner.scan(JavaAstScanner.java:67)
      20. org.sonar.java.JavaSquid.scanSources(JavaSquid.java:133)
      21. org.sonar.java.JavaSquid.scan(JavaSquid.java:126)
      21 frames
    3. org.sonar.plugins
      JavaSquidSensor.execute
      1. org.sonar.plugins.java.JavaSquidSensor.execute(JavaSquidSensor.java:93)
      1 frame
    4. org.sonarsource.sonarlint
      StandaloneSonarLintEngineImpl.analyze
      1. org.sonarsource.sonarlint.core.analyzer.sensor.SensorWrapper.analyse(SensorWrapper.java:52)
      2. org.sonarsource.sonarlint.core.analyzer.sensor.SensorsExecutor.executeSensor(SensorsExecutor.java:73)
      3. org.sonarsource.sonarlint.core.analyzer.sensor.SensorsExecutor.execute(SensorsExecutor.java:63)
      4. org.sonarsource.sonarlint.core.analyzer.sensor.PhaseExecutor.execute(PhaseExecutor.java:44)
      5. org.sonarsource.sonarlint.core.container.analysis.AnalysisContainer.doAfterStart(AnalysisContainer.java:143)
      6. org.sonarsource.sonarlint.core.container.ComponentContainer.startComponents(ComponentContainer.java:125)
      7. org.sonarsource.sonarlint.core.container.ComponentContainer.execute(ComponentContainer.java:110)
      8. org.sonarsource.sonarlint.core.container.standalone.StandaloneGlobalContainer.analyze(StandaloneGlobalContainer.java:118)
      9. org.sonarsource.sonarlint.core.StandaloneSonarLintEngineImpl.analyze(StandaloneSonarLintEngineImpl.java:93)
      10. org.sonarsource.sonarlint.core.StandaloneSonarLintEngineImpl.analyze(StandaloneSonarLintEngineImpl.java:83)
      10 frames
    5. org.sonarlint.eclipse
      AnalyzeProjectJob$AnalysisThread.run
      1. org.sonarlint.eclipse.core.internal.jobs.StandaloneSonarLintClientFacade.runAnalysis(StandaloneSonarLintClientFacade.java:60)
      2. org.sonarlint.eclipse.core.internal.jobs.AnalyzeProjectJob.run(AnalyzeProjectJob.java:457)
      3. org.sonarlint.eclipse.core.internal.jobs.AnalyzeProjectJob$AnalysisThread.run(AnalyzeProjectJob.java:127)
      3 frames