java.lang.NoSuchMethodError: org.sonar.api.resources.File.fromIOFile(Ljava/io/File;Lorg/sonar/api/resources/Project;)Lorg/sonar/api/resources/File;

GitHub | Pablissimo | 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

    GitHub comment 53#245865524

    GitHub | 7 months ago | Pablissimo
    java.lang.NoSuchMethodError: org.sonar.api.resources.File.fromIOFile(Ljava/io/File;Lorg/sonar/api/resources/Project;)Lorg/sonar/api/resources/File;
  2. 0

    SonarQube 6.0

    GitHub | 7 months ago | JKatGSD
    java.lang.NoSuchMethodError: org.sonar.api.resources.File.fromIOFile(Ljava/io/File;Lorg/sonar/api/resources/Project;)Lorg/sonar/api/resources/File;
  3. 0

    Need support for sonar 6.0

    GitHub | 7 months ago | mca1984514
    org.sonar.runner.impl.RunnerException: Unable to execute Sonar
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.sonar.api.resources.File.fromIOFile(Ljava/io/File;Lorg/sonar/api/resources/Project;)Lorg/sonar/api/resources/File;

      at com.pablissimo.sonar.TsCoverageSensor.fileFromIoFile()
    2. com.pablissimo.sonar
      TsCoverageSensor.analyse
      1. com.pablissimo.sonar.TsCoverageSensor.fileFromIoFile(TsCoverageSensor.java:110)
      2. com.pablissimo.sonar.TsCoverageSensor.saveMeasureFromLCOVFile(TsCoverageSensor.java:93)
      3. com.pablissimo.sonar.TsCoverageSensor.analyse(TsCoverageSensor.java:59)
      3 frames
    3. org.sonar.scanner
      ModuleScanContainer.doAfterStart
      1. org.sonar.scanner.phases.SensorsExecutor.executeSensor(SensorsExecutor.java:57)
      2. org.sonar.scanner.phases.SensorsExecutor.execute(SensorsExecutor.java:49)
      3. org.sonar.scanner.phases.AbstractPhaseExecutor.execute(AbstractPhaseExecutor.java:78)
      4. org.sonar.scanner.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:184)
      4 frames
    4. 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
    5. org.sonar.scanner
      ProjectScanContainer.doAfterStart
      1. org.sonar.scanner.scan.ProjectScanContainer.scan(ProjectScanContainer.java:241)
      2. org.sonar.scanner.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:236)
      3. org.sonar.scanner.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:226)
      3 frames
    6. 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
    7. org.sonar.scanner
      TaskContainer.doAfterStart
      1. org.sonar.scanner.task.ScanTask.execute(ScanTask.java:47)
      2. org.sonar.scanner.task.TaskContainer.doAfterStart(TaskContainer.java:86)
      2 frames
    8. 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
    9. org.sonar.scanner
      GlobalContainer.executeTask
      1. org.sonar.scanner.bootstrap.GlobalContainer.executeTask(GlobalContainer.java:115)
      1 frame
    10. SonarQube
      Batch.executeTask
      1. org.sonar.batch.bootstrapper.Batch.executeTask(Batch.java:118)
      1 frame
    11. org.sonarsource.scanner
      BatchIsolatedLauncher.execute
      1. org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:62)
      1 frame
    12. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    13. org.sonarsource.scanner
      IsolatedLauncherProxy.invoke
      1. org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
      1 frame
    14. com.sun.proxy
      $Proxy0.execute
      1. com.sun.proxy.$Proxy0.execute(Unknown Source)
      1 frame
    15. org.sonarsource.scanner
      Main.main
      1. org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:240)
      2. org.sonarsource.scanner.api.EmbeddedScanner.runAnalysis(EmbeddedScanner.java:151)
      3. org.sonarsource.scanner.cli.Main.runAnalysis(Main.java:110)
      4. org.sonarsource.scanner.cli.Main.execute(Main.java:72)
      5. org.sonarsource.scanner.cli.Main.main(Main.java:60)
      5 frames