java.lang.NoSuchMethodError: org.sonar.api.resources.Project.getFileSystem()Lorg/sonar/api/resources/ProjectFileSystem; 04:35:07,021 WARN - at org.sonar.plugins.findbugs.resource.ByteCodeResourceLocator.findJavaClassFile(ByteCodeResourceLocator.java:55) 04:35:07,021 WARN - at org.sonar.plugins.findbugs.FindbugsSensor.analyse(FindbugsSensor.java:122) 04:35:07,021 WARN - at org.sonar.batch.phases.SensorsExecutor.executeSensor(SensorsExecutor.java:58) 04:35:07,021 WARN - at org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:50) 04:35:07,021 WARN - at org.sonar.batch.phases.AbstractPhaseExecutor.execute(AbstractPhaseExecutor.java:83) 04:35:07,021 WARN - at org.sonar.batch.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:189) 04:35:07,021 WARN - at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142) 04:35:07,021 WARN - at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127) 04:35:07,021 WARN - at org.sonar.batch.scan.ProjectScanContainer.scan(ProjectScanContainer.java:265)

GitHub | aravindk47 | 9 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

    SonarQube 5.5 + Find bugs - latest version

    GitHub | 9 months ago | aravindk47
    java.lang.NoSuchMethodError: org.sonar.api.resources.Project.getFileSystem()Lorg/sonar/api/resources/ProjectFileSystem; 04:35:07,021 WARN - at org.sonar.plugins.findbugs.resource.ByteCodeResourceLocator.findJavaClassFile(ByteCodeResourceLocator.java:55) 04:35:07,021 WARN - at org.sonar.plugins.findbugs.FindbugsSensor.analyse(FindbugsSensor.java:122) 04:35:07,021 WARN - at org.sonar.batch.phases.SensorsExecutor.executeSensor(SensorsExecutor.java:58) 04:35:07,021 WARN - at org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:50) 04:35:07,021 WARN - at org.sonar.batch.phases.AbstractPhaseExecutor.execute(AbstractPhaseExecutor.java:83) 04:35:07,021 WARN - at org.sonar.batch.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:189) 04:35:07,021 WARN - at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142) 04:35:07,021 WARN - at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127) 04:35:07,021 WARN - at org.sonar.batch.scan.ProjectScanContainer.scan(ProjectScanContainer.java:265)

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.sonar.api.resources.Project.getFileSystem()Lorg/sonar/api/resources/ProjectFileSystem; 04:35:07,021 WARN - at org.sonar.plugins.findbugs.resource.ByteCodeResourceLocator.findJavaClassFile(ByteCodeResourceLocator.java:55) 04:35:07,021 WARN - at org.sonar.plugins.findbugs.FindbugsSensor.analyse(FindbugsSensor.java:122) 04:35:07,021 WARN - at org.sonar.batch.phases.SensorsExecutor.executeSensor(SensorsExecutor.java:58) 04:35:07,021 WARN - at org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:50) 04:35:07,021 WARN - at org.sonar.batch.phases.AbstractPhaseExecutor.execute(AbstractPhaseExecutor.java:83) 04:35:07,021 WARN - at org.sonar.batch.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:189) 04:35:07,021 WARN - at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142) 04:35:07,021 WARN - at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127) 04:35:07,021 WARN - at org.sonar.batch.scan.ProjectScanContainer.scan(ProjectScanContainer.java:265)

      at org.sonar.batch.scan.ProjectScanContainer.scanRecursively()
    2. SonarQube
      ProjectScanContainer.doAfterStart
      1. org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:260)
      2. org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:258)
      3. org.sonar.batch.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:250)
      3 frames
    3. org.sonar.core
      ComponentContainer.startComponents
      1. org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142)
      1 frame
    4. SonarQube
      ProjectScanContainer.startComponents
      1. org.sonar.batch.scan.ProjectScanContainer.startComponents(ProjectScanContainer.java:128)
      1 frame
    5. org.sonar.core
      ComponentContainer.execute
      1. org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127)
      1 frame
    6. org.sonar.batch
      TaskContainer.doAfterStart
      1. org.sonar.batch.task.ScanTask.execute(ScanTask.java:55)
      2. org.sonar.batch.task.TaskContainer.doAfterStart(TaskContainer.java:86)
      2 frames
    7. org.sonar.core
      ComponentContainer.execute
      1. org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142)
      2. org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127)
      2 frames
    8. SonarQube
      Batch.execute
      1. org.sonar.batch.bootstrap.GlobalContainer.executeTask(GlobalContainer.java:124)
      2. org.sonar.batch.bootstrapper.Batch.executeTask(Batch.java:119)
      3. org.sonar.batch.bootstrapper.Batch.execute(Batch.java:79)
      3 frames
    9. SonarQube Runner - Batch
      IsolatedLauncher.execute
      1. org.sonar.runner.batch.IsolatedLauncher.execute(IsolatedLauncher.java:48)
      1 frame
    10. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    11. SonarQube Runner
      BatchLauncher$1.delegateExecution
      1. org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:87)
      1 frame