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

Stack Overflow | Khodabakhsh | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Error while using SonarLint and SonarQube

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

    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