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 | 3 months ago
  1. 0

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

    Google Groups | 3 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)
  2. 0

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

    Google Groups | 3 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)
  3. 0

    Can't run integration tests in a clean git clone (sonar-java)

    Google Groups | 3 weeks ago | Fernando GarcĂ­a
    org.sonar.runner.impl.RunnerException: Unable to execute Sonar at >> org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:91)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    MSBuild.SonarQube.Runner errors out on running the 'end' process with no details of the problem

    Google Groups | 4 months ago | Spencer
    java.lang.IllegalStateException: Can't create measure for line 703 for file 'C:/ Paylocity/Escher/BusinessFacade/Notification/notification.cs' with 699 lines at org.sonar.batch.sensor.coverage.CoverageExclusions.validateMaxLine(Co verageExclusions.java:158) at org.sonar.batch.sensor.coverage.CoverageExclusions.validate(CoverageE xclusions.java:129) at org.sonar.batch.deprecated.DeprecatedSensorContext.saveMeasure(Deprec atedSensorContext.java:205) at org.sonar.plugins.dotnet.tests.CoverageReportImportSensor.analyze(Cov erageReportImportSensor.java:103) at org.sonar.plugins.dotnet.tests.CoverageReportImportSensor.analyse(Cov erageReportImportSensor.java:74) at org.sonar.batch.phases.SensorsExecutor.executeSensor(SensorsExecutor. java:58) at org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:5 0) at org.sonar.batch.phases.AbstractPhaseExecutor.execute(AbstractPhaseExe cutor.java:83) at org.sonar.batch.scan.ModuleScanContainer.doAfterStart(ModuleScanConta iner.java:189) at org.sonar.core.platform.ComponentContainer.startComponents(ComponentC ontainer.java:142) at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer .java:127) at org.sonar.batch.scan.ProjectScanContainer.scan(ProjectScanContainer.j ava:265) at org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScan Container.java:260) at org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScan Container.java:258) at org.sonar.batch.scan.ProjectScanContainer.doAfterStart(ProjectScanCon tainer.java:250) at org.sonar.core.platform.ComponentContainer.startComponents(ComponentC ontainer.java:142) at org.sonar.batch.scan.ProjectScanContainer.startComponents(ProjectScan Container.java:128) at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer .java:127)
  6. 0

    TypeEnv and classSymbol : SpecializeTypes are not the same

    Google Groups | 6 months ago | Norm
    java.lang.IllegalStateException: Innerclass : TypeEnv and classSymbol : > SpecializeTypes are not the same. > > at > com.google.common.base.Preconditions.checkState(Preconditions.java:145) > ~[guava-10.0.1.jar:na] > > at > org.sonar.java.resolve.BytecodeCompleter$BytecodeVisitor.defineInnerClass(BytecodeCompleter.java:326) > ~[java-squid-2.4.jar:na] > > at > org.sonar.java.resolve.BytecodeCompleter$BytecodeVisitor.visitInnerClass(BytecodeCompleter.java:309) > ~[java-squid-2.4.jar:na] > > at org.objectweb.asm.ClassReader.accept(ClassReader.java:679) > ~[asm-debug-all-5.0.3.jar:5.0.3] > > at org.objectweb.asm.ClassReader.accept(ClassReader.java:506) > ~[asm-debug-all-5.0.3.jar:5.0.3] > > at > org.sonar.java.resolve.BytecodeCompleter.complete(BytecodeCompleter.java:102) > ~[java-squid-2.4.jar:na] > > at org.sonar.java.resolve.Symbol.complete(Symbol.java:81) > ~[java-squid-2.4.jar:na] > > at > org.sonar.java.resolve.Symbol$TypeSymbol.members(Symbol.java:169) > ~[java-squid-2.4.jar:na] > > at > org.sonar.java.resolve.FirstPass$ImportResolverVisitor.visitIdentifier(FirstPass.java:195) > ~[java-squid-2.4.jar:na] > > at > org.sonar.java.model.expression.IdentifierTreeImpl.accept(IdentifierTreeImpl.java:58) > ~[java-squid-2.4.jar:na] > > at > org.sonar.plugins.java.api.tree.BaseTreeVisitor.scan(BaseTreeVisitor.java:41) > ~[java-squid-2.4.jar:na] > > at > org.sonar.plugins.java.api.tree.BaseTreeVisitor.visitMemberSelectExpression(BaseTreeVisitor.java:222) > ~[java-squid-2.4.jar:na] > > at > org.sonar.java.model.expression.MemberSelectExpressionTreeImpl.accept(MemberSelectExpressionTreeImpl.java:67) > ~[java-squid-2.4.jar:na] > > at > org.sonar.plugins.java.api.tree.BaseTreeVisitor.scan(BaseTreeVisitor.java:41) > ~[java-squid-2.4.jar:na] > > at > org.sonar.plugins.java.api.tree.BaseTreeVisitor.visitImport(BaseTreeVisitor.java:55) > ~[java-squid-2.4.jar:na] > > at > org.sonar.java.resolve.FirstPass$ImportResolverVisitor.visitImport(FirstPass.java:150) > ~[java-squid-2.4.jar:na] > > at > org.sonar.java.model.JavaTree$ImportTreeImpl.accept(JavaTree.java:161) > ~[java-squid-2.4.jar:na] > > at > org.sonar.java.resolve.FirstPass.resolveImports(FirstPass.java:136) > ~[java-squid-2.4.jar:na] > > at > org.sonar.java.resolve.FirstPass.visitCompilationUnit(FirstPass.java:113) > ~[java-squid-2.4.jar:na] > > at > org.sonar.java.resolve.SemanticModel.createFor(SemanticModel.java:59) > ~[java-squid-2.4.jar:na] > > at > org.sonar.java.model.VisitorsBridge.visitFile(VisitorsBridge.java:80) > ~[java-squid-2.4.jar:na] > > at > com.sonar.sslr.impl.ast.AstWalker.walkAndVisit(AstWalker.java:67) > [sslr-core-1.20.jar:na] > > at org.sonar.java.ast.AstScanner.simpleScan(AstScanner.java:118) > [java-squid-2.4.jar:na] > > at org.sonar.java.ast.AstScanner.scan(AstScanner.java:83) > [java-squid-2.4.jar:na] > > at org.sonar.java.JavaSquid.scanSources(JavaSquid.java:135) > [java-squid-2.4.jar:na] > > at org.sonar.java.JavaSquid.scan(JavaSquid.java:128) > [java-squid-2.4.jar:na] > > at > org.sonar.plugins.java.JavaSquidSensor.analyse(JavaSquidSensor.java:86) > [sonar-java-plugin-2.4.jar:na] > > at > org.sonar.batch.phases.SensorsExecutor.executeSensor(SensorsExecutor.java:79) > [sonar-batch-4.3.jar:na] > > at > org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:70) > [sonar-batch-4.3.jar:na] > > at > org.sonar.batch.phases.PhaseExecutor.execute(PhaseExecutor.java:131) > [sonar-batch-4.3.jar:na] > > at > org.sonar.batch.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:178) > [sonar-batch-4.3.jar:na] > > at > org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92) > [sonar-plugin-api-4.3.jar:na] > > at > org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77) > [sonar-plugin-api-4.3.jar:na] > > at > org.sonar.batch.scan.ProjectScanContainer.scan(ProjectScanContainer.java:199) > [sonar-batch-4.3.jar:na] > > at > org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:194) > [sonar-batch-4.3.jar:na] > > at > org.sonar.batch.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:187) > [sonar-batch-4.3.jar:na] > > at > org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92) > [sonar-plugin-api-4.3.jar:na] > > at > org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77) > [sonar-plugin-api-4.3.jar:na] > > at org.sonar.batch.scan.ScanTask.scan(ScanTask.java:56) > [sonar-batch-4.3.jar:na] > > at org.sonar.batch.scan.ScanTask.execute(ScanTask.java:44) > [sonar-batch-4.3.jar:na] > > at > org.sonar.batch.bootstrap.TaskContainer.doAfterStart(TaskContainer.java:82) > [sonar-batch-4.3.jar:na] > > at > org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92) > [sonar-plugin-api-4.3.jar:na] > > at > org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77) > [sonar-plugin-api-4.3.jar:na] > > at > org.sonar.batch.bootstrap.BootstrapContainer.executeTask(BootstrapContainer.java:175) > [sonar-batch-4.3.jar:na] > > at > org.sonar.batch.bootstrap.BootstrapContainer.doAfterStart(BootstrapContainer.java:163) > [sonar-batch-4.3.jar:na] > > at > org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92) > [sonar-plugin-api-4.3.jar:na] > > at > org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77) > [sonar-plugin-api-4.3.jar:na] > > at org.sonar.batch.bootstrapper.Batch.startBatch(Batch.java:92) > [sonar-batch-4.3.jar:na] > > at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:74) > [sonar-batch-4.3.jar:na] > > at > org.sonar.runner.batch.IsolatedLauncher.execute(IsolatedLauncher.java:45) > [sonar-runner-batch3586522295917161406.jar:na] > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > ~[na:1.8.0_51] > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > ~[na:1.8.0_51] > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > ~[na:1.8.0_51] > > at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_51] > > at > org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:87) at > org.sonar.runner.impl.BatchLauncher$1.run(BatchLauncher.java:75)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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