コマンドプロンプトからローカルでSonarQube.Scanner.MSBuildを実行しようとしていますが、ビルドするプロジェクトに関係なく、上記と同じエラーが常に発生します。ソナー サーバーは、Web インターフェイスを介してリモートで到達可能です。
私は.NET(C#)プロジェクトを構築しています.NET4.0および4.5の場合、.NET 4.5から4.6.2をローカルにインストールしています。
ソナー サーバーはバージョン 6.1 です。テスト中なので、非常に基本的な構成を使用しており、内部 DB を使用しています。
終了フェーズ中に受信したエラー (SonarQube.Scanner.MSBuild.exe 終了)
何か案が?
-----------
14:04:57.429 INFO: EXECUTION FAILURE
14:04:57.429 INFO: -------------------------------------------------------------
-----------
14:04:57.429 INFO: Total time: 5.475s
14:04:57.460 INFO: Final Memory: 41M/106M
14:04:57.460 INFO: -------------------------------------------------------------
-----------
14:04:57.460 ERROR: Error during SonarQube Scanner execution
java.lang.NullPointerException
at org.sonar.plugins.csharp.sarif.SarifParser10.handleIssue(SarifParser1
0.java:69)
at org.sonar.plugins.csharp.sarif.SarifParser10.handleIssues(SarifParser
10.java:56)
at org.sonar.plugins.csharp.sarif.SarifParser10.parse(SarifParser10.java
:48)
at org.sonar.plugins.csharp.CSharpSensor.importRoslynReport(CSharpSensor
.java:291)
at org.sonar.plugins.csharp.CSharpSensor.analyse(CSharpSensor.java:113)
at org.sonar.scanner.phases.SensorsExecutor.executeSensor(SensorsExecuto
r.java:57)
at org.sonar.scanner.phases.SensorsExecutor.execute(SensorsExecutor.java
:49)
at org.sonar.scanner.phases.AbstractPhaseExecutor.execute(AbstractPhaseE
xecutor.java:78)
at org.sonar.scanner.scan.ModuleScanContainer.doAfterStart(ModuleScanCon
tainer.java:182)
at org.sonar.core.platform.ComponentContainer.startComponents(ComponentC
ontainer.java:142)
at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer
.java:127)
at org.sonar.scanner.scan.ProjectScanContainer.scan(ProjectScanContainer
.java:247)
at org.sonar.scanner.scan.ProjectScanContainer.scanRecursively(ProjectSc
anContainer.java:242)
at org.sonar.scanner.scan.ProjectScanContainer.scanRecursively(ProjectSc
anContainer.java:240)
at org.sonar.scanner.scan.ProjectScanContainer.doAfterStart(ProjectScanC
ontainer.java:232)
at org.sonar.core.platform.ComponentContainer.startComponents(ComponentC
ontainer.java:142)
at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer
.java:127)
at org.sonar.scanner.task.ScanTask.execute(ScanTask.java:47)
at org.sonar.scanner.task.TaskContainer.doAfterStart(TaskContainer.java:
86)
at org.sonar.core.platform.ComponentContainer.startComponents(ComponentC
ontainer.java:142)
at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer
.java:127)
at org.sonar.scanner.bootstrap.GlobalContainer.executeTask(GlobalContain
er.java:115)
at org.sonar.batch.bootstrapper.Batch.executeTask(Batch.java:118)
at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.exec
ute(BatchIsolatedLauncher.java:62)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(Iso
latedLauncherProxy.java:60)
at com.sun.proxy.$Proxy0.execute(Unknown Source)
at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner
.java:233)
at org.sonarsource.scanner.api.EmbeddedScanner.runAnalysis(EmbeddedScann
er.java:151)
at org.sonarsource.scanner.cli.Main.runAnalysis(Main.java:110)
at org.sonarsource.scanner.cli.Main.execute(Main.java:74)
at org.sonarsource.scanner.cli.Main.main(Main.java:61)
14:04:57.460 ERROR:
14:04:57.476 ERROR: Re-run SonarQube Scanner using the -X switch to enable full
debug logging.
Process returned exit code 1
The SonarQube Scanner did not complete successfully
14:04:57.492 Creating a summary markdown file...
14:04:57.492 Post-processing failed. Exit code: 1