java.lang.IllegalStateException: No files nor directories > matching '........<some-project-output-path-here>......../resources/test' > at > org.sonar.java.AbstractJavaClasspath.getFilesFromProperty(AbstractJavaClasspath.java:90) > at org.sonar.java.JavaTestClasspath.init(JavaTestClasspath.java:48) > at > org.sonar.java.AbstractJavaClasspath.getElements(AbstractJavaClasspath.java:258) > at > org.sonar.java.SonarComponents.getJavaTestClasspath(SonarComponents.java:126) > at org.sonar.java.JavaSquid.<init>(JavaSquid.java:79) > at > org.sonar.plugins.java.JavaSquidSensor.execute(JavaSquidSensor.java:86) > at > org.sonar.batch.sensor.SensorWrapper.analyse(SensorWrapper.java:57) > at > org.sonar.batch.phases.SensorsExecutor.executeSensor(SensorsExecutor.java:58) > at > org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:50) > at > org.sonar.batch.phases.AbstractPhaseExecutor.execute(AbstractPhaseExecutor.java:83) > at > org.sonar.batch.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:192) > at > org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142) > at > org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127) > at > org.sonar.batch.scan.ProjectScanContainer.scan(ProjectScanContainer.java:241) > at > org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:236) > at > org.sonar.batch.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:226) > at > org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142) > at > org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127) > at org.sonar.batch.task.ScanTask.execute(ScanTask.java:47) > at > org.sonar.batch.task.TaskContainer.doAfterStart(TaskContainer.java:86) > at > org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142) > at > org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127) > at > org.sonar.batch.bootstrap.GlobalContainer.executeTask(GlobalContainer.java:106) > at org.sonar.batch.bootstrapper.Batch.executeTask(Batch.java:119)

Google Groups | Valery Yatsynovich | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Regression after Java Plugin upgrade from 4.1 to 4.2 reproduced with Gradle SQ plugin

    Google Groups | 8 months ago | Valery Yatsynovich
    java.lang.IllegalStateException: No files nor directories > matching '........<some-project-output-path-here>......../resources/test' > at > org.sonar.java.AbstractJavaClasspath.getFilesFromProperty(AbstractJavaClasspath.java:90) > at org.sonar.java.JavaTestClasspath.init(JavaTestClasspath.java:48) > at > org.sonar.java.AbstractJavaClasspath.getElements(AbstractJavaClasspath.java:258) > at > org.sonar.java.SonarComponents.getJavaTestClasspath(SonarComponents.java:126) > at org.sonar.java.JavaSquid.<init>(JavaSquid.java:79) > at > org.sonar.plugins.java.JavaSquidSensor.execute(JavaSquidSensor.java:86) > at > org.sonar.batch.sensor.SensorWrapper.analyse(SensorWrapper.java:57) > at > org.sonar.batch.phases.SensorsExecutor.executeSensor(SensorsExecutor.java:58) > at > org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:50) > at > org.sonar.batch.phases.AbstractPhaseExecutor.execute(AbstractPhaseExecutor.java:83) > at > org.sonar.batch.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:192) > at > org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142) > at > org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127) > at > org.sonar.batch.scan.ProjectScanContainer.scan(ProjectScanContainer.java:241) > at > org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:236) > at > org.sonar.batch.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:226) > at > org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142) > at > org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127) > at org.sonar.batch.task.ScanTask.execute(ScanTask.java:47) > at > org.sonar.batch.task.TaskContainer.doAfterStart(TaskContainer.java:86) > at > org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142) > at > org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127) > at > org.sonar.batch.bootstrap.GlobalContainer.executeTask(GlobalContainer.java:106) > at org.sonar.batch.bootstrapper.Batch.executeTask(Batch.java:119)

    Root Cause Analysis

    1. java.lang.IllegalStateException

      No files nor directories > matching '........<some-project-output-path-here>......../resources/test' > at > org.sonar.java.AbstractJavaClasspath.getFilesFromProperty(AbstractJavaClasspath.java:90) > at org.sonar.java.JavaTestClasspath.init(JavaTestClasspath.java:48) > at > org.sonar.java.AbstractJavaClasspath.getElements(AbstractJavaClasspath.java:258) > at > org.sonar.java.SonarComponents.getJavaTestClasspath(SonarComponents.java:126) > at org.sonar.java.JavaSquid.<init>(JavaSquid.java:79) > at > org.sonar.plugins.java.JavaSquidSensor.execute(JavaSquidSensor.java:86) > at > org.sonar.batch.sensor.SensorWrapper.analyse(SensorWrapper.java:57) > at > org.sonar.batch.phases.SensorsExecutor.executeSensor(SensorsExecutor.java:58) > at > org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:50) > at > org.sonar.batch.phases.AbstractPhaseExecutor.execute(AbstractPhaseExecutor.java:83) > at > org.sonar.batch.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:192) > at > org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142) > at > org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127) > at > org.sonar.batch.scan.ProjectScanContainer.scan(ProjectScanContainer.java:241) > at > org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:236) > at > org.sonar.batch.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:226) > at > org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142) > at > org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127) > at org.sonar.batch.task.ScanTask.execute(ScanTask.java:47) > at > org.sonar.batch.task.TaskContainer.doAfterStart(TaskContainer.java:86) > at > org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142) > at > org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127) > at > org.sonar.batch.bootstrap.GlobalContainer.executeTask(GlobalContainer.java:106) > at org.sonar.batch.bootstrapper.Batch.executeTask(Batch.java:119)

      at com.sun.proxy.$Proxy648.execute()
    2. com.sun.proxy
      $Proxy648.execute
      1. com.sun.proxy.$Proxy648.execute(Unknown Source)
      1 frame