org.sonar.runner.impl.RunnerException: Unable to execute Sonar

Stack Overflow | Peter Bridger | 5 months ago
  1. 0

    TeamCity and SonarQube - not able to run FXCop

    Stack Overflow | 5 months ago | Peter Bridger
    org.sonar.runner.impl.RunnerException: Unable to execute Sonar
  2. 0

    Maven + .NET + Sonar v4.5.1 + Analysis Bootstrapper for Visual Studio Projects

    Stack Overflow | 2 years ago
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.sonar:sonar-maven-plugin:4.5.1:sonar (default-cli) on project OrgName-ProjectName: The property "sonar.cs.fxcop.assembly" must be set and the project must have been built to execute FxCop rules. This property can be automatically set by the Analysis Bootstrapper for Visual Studio Projects plugin, see: http://docs.codehaus.org/x/TAA1Dg.If you wish to skip the analysis of not built projects, set the property "sonar.visualstudio.skipIfNotBuilt".
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Sonarqube 6.0 fails analysis with fxcop rules

    Stack Overflow | 3 weeks ago | Kanishka
    org.sonar.runner.impl.RunnerException: Unable to execute Sonar
  5. 0

    Sonarqube 6.0 fails analysis with fxcop rules

    Google Groups | 3 weeks ago | Unknown author
    org.sonar.runner.impl.RunnerException: Unable to execute Sonar

    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.IllegalArgumentException

      No FxCop analysis has been performed on this project, whereas it contains cs files: Verify that you are using the latest version of the SonarQube Scanner for MSBuild, and if you do, please report a bug. In the short term, you can disable all FxCop rules from your quality profile to get rid of this error.

      at org.sonar.plugins.fxcop.FxCopConfiguration.checkMandatoryProperties()
    2. org.sonar.plugins
      FxCopSensor.analyse
      1. org.sonar.plugins.fxcop.FxCopConfiguration.checkMandatoryProperties(FxCopConfiguration.java:104)
      2. org.sonar.plugins.fxcop.FxCopConfiguration.checkProperties(FxCopConfiguration.java:95)
      3. org.sonar.plugins.fxcop.FxCopSensor.analyse(FxCopSensor.java:96)
      4. org.sonar.plugins.fxcop.FxCopSensor.analyse(FxCopSensor.java:91)
      4 frames
    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.AbstractPhaseExecutor.execute(AbstractPhaseExecutor.java:83)
      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:142)
      2. org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127)
      2 frames
    5. SonarQube
      ProjectScanContainer.doAfterStart
      1. org.sonar.batch.scan.ProjectScanContainer.scan(ProjectScanContainer.java:241)
      2. org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:236)
      3. org.sonar.batch.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.batch
      TaskContainer.doAfterStart
      1. org.sonar.batch.task.ScanTask.execute(ScanTask.java:47)
      2. org.sonar.batch.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. SonarQube
      Batch.execute
      1. org.sonar.batch.bootstrap.GlobalContainer.executeTask(GlobalContainer.java:106)
      2. org.sonar.batch.bootstrapper.Batch.executeTask(Batch.java:119)
      3. org.sonar.batch.bootstrapper.Batch.execute(Batch.java:79)
      3 frames
    10. SonarQube Runner - Batch
      IsolatedLauncher.execute
      1. org.sonar.runner.batch.IsolatedLauncher.execute(IsolatedLauncher.java:48)
      1 frame
    11. 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:497)
      4 frames
    12. SonarQube Runner
      BatchLauncher$1.run
      1. org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:87)
      2. org.sonar.runner.impl.BatchLauncher$1.run(BatchLauncher.java:75)
      2 frames
    13. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    14. SonarQube Runner
      Runner.execute
      1. org.sonar.runner.impl.BatchLauncher.doExecute(BatchLauncher.java:69)
      2. org.sonar.runner.impl.BatchLauncher.execute(BatchLauncher.java:50)
      3. org.sonar.runner.api.EmbeddedRunner.doExecute(EmbeddedRunner.java:102)
      4. org.sonar.runner.api.Runner.execute(Runner.java:100)
      4 frames
    15. org.sonar.runner
      Main.main
      1. org.sonar.runner.Main.executeTask(Main.java:70)
      2. org.sonar.runner.Main.execute(Main.java:59)
      3. org.sonar.runner.Main.main(Main.java:53)
      3 frames