java.lang.IllegalStateException: Fail to save the PMD configuration

Google Groups | Eduard Wirch | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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 > '........<gradle_user_home-path-here>......../caches/modules-2/files-2.1/ru.yandex.qatools.allure/allure-report-face/1.4.24.RC3.0/345bf215bd25dc6ab9779f4ae67cd35ab1c3a5f9/allure-report-face-1.4.24.RC3.0.war' > at > org.sonar.java.AbstractJavaClasspath.getFilesFromProperty(AbstractJavaClasspath.java:90) > at org.sonar.java.JavaClasspath.init(JavaClasspath.java:50) > at > org.sonar.java.AbstractJavaClasspath.getElements(AbstractJavaClasspath.java:258) > at > org.sonar.java.SonarComponents.getJavaClasspath(SonarComponents.java:122) > at org.sonar.java.JavaSquid.<init>(JavaSquid.java:78) > 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

      Fail to save the PMD configuration

      at org.sonar.plugins.pmd.PmdSensor.analyse()
    2. org.sonar.plugins
      PmdSensor.analyse
      1. org.sonar.plugins.pmd.PmdSensor.analyse(PmdSensor.java:72)
      1 frame
    3. SonarQube
      ModuleScanContainer.doAfterStart
      1. org.sonar.batch.phases.SensorsExecutor.executeSensor(SensorsExecutor.java:58)
      2. org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:50)
      3. org.sonar.batch.phases.PhaseExecutor.execute(PhaseExecutor.java:98)
      4. org.sonar.batch.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:192)
      4 frames
    4. org.sonar.core
      ComponentContainer.execute
      1. org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:100)
      2. org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:85)
      2 frames
    5. SonarQube
      ProjectScanContainer.doAfterStart
      1. org.sonar.batch.scan.ProjectScanContainer.scan(ProjectScanContainer.java:258)
      2. org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:253)
      3. org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:251)
      4. org.sonar.batch.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:243)
      4 frames
    6. org.sonar.core
      ComponentContainer.execute
      1. org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:100)
      2. org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:85)
      2 frames
    7. SonarQube
      Batch.executeTask
      1. org.sonar.batch.bootstrap.GlobalContainer.executeAnalysis(GlobalContainer.java:153)
      2. org.sonar.batch.bootstrapper.Batch.executeTask(Batch.java:110)
      2 frames
    8. org.sonarsource.scanner
      BatchIsolatedLauncher.execute
      1. org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:62)
      1 frame
    9. 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
    10. org.sonarsource.scanner
      IsolatedLauncherProxy.invoke
      1. org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
      1 frame
    11. com.sun.proxy
      $Proxy18.execute
      1. com.sun.proxy.$Proxy18.execute(Unknown Source)
      1 frame