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

Stack Overflow | Pra Win. S | 4 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

    Getting Error 500 while execution of Sonar runner

    Stack Overflow | 4 months ago | Pra Win. S
    org.sonar.runner.impl.RunnerException: Unable to execute Sonar
  2. 0

    Error uploading sonnar report

    Stack Overflow | 3 months ago | JorG
    org.sonar.runner.impl.RunnerException: Unable to execute Sonar
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    SonarQube for MSBuild - End Analysis failure

    Stack Overflow | 10 months ago | Ravi Sankar Rao
    org.sonar.runner.impl.RunnerException: Unable to execute Sonar

    6 unregistered visitors
    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. org.sonarqube.ws.client.HttpException

      Error 500 on http://localhost:9000/api/ce/submit?projectKey=XYZ : {"errors":[{"msg":"Can't read file part"}]}

      at org.sonarqube.ws.client.BaseResponse.failIfNotSuccessful()
    2. org.sonarqube.ws
      BaseResponse.failIfNotSuccessful
      1. org.sonarqube.ws.client.BaseResponse.failIfNotSuccessful(BaseResponse.java:36)
      1 frame
    3. org.sonar.scanner
      ModuleScanContainer.doAfterStart
      1. org.sonar.scanner.bootstrap.BatchWsClient.failIfUnauthorized(BatchWsClient.java:102)
      2. org.sonar.scanner.bootstrap.BatchWsClient.call(BatchWsClient.java:71)
      3. org.sonar.scanner.report.ReportPublisher.upload(ReportPublisher.java:173)
      4. org.sonar.scanner.report.ReportPublisher.execute(ReportPublisher.java:128)
      5. org.sonar.scanner.phases.PublishPhaseExecutor.publishReportJob(PublishPhaseExecutor.java:64)
      6. org.sonar.scanner.phases.PublishPhaseExecutor.executeOnRoot(PublishPhaseExecutor.java:51)
      7. org.sonar.scanner.phases.AbstractPhaseExecutor.execute(AbstractPhaseExecutor.java:81)
      8. org.sonar.scanner.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:182)
      8 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:247)
      2. org.sonar.scanner.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:242)
      3. org.sonar.scanner.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:232)
      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.execute
      1. org.sonar.batch.bootstrapper.Batch.executeTask(Batch.java:118)
      2. org.sonar.batch.bootstrapper.Batch.execute(Batch.java:78)
      2 frames
    11. SonarQube Runner - Batch
      IsolatedLauncher.execute
      1. org.sonar.runner.batch.IsolatedLauncher.execute(IsolatedLauncher.java:48)
      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. 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
    14. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    15. 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
    16. 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