SonarQube Scanner fails when filenames have commas

260 views
Skip to first unread message

pa...@paulomorgado.info

unread,
Aug 22, 2017, 3:53:12 AM8/22/17
to SonarQube
I'm getting this error from SonarQube Scanner:

D:\JenkinsWorkspace\TransactionManager\.sonarqube\bin\sonar-scanner\bin\..
INFO: Scanner configuration file: D:\JenkinsWorkspace\TransactionManager\.sonarqube\bin\sonar-scanner\bin\..\conf\sonar-scanner.properties
INFO: Project root configuration file: D:\JenkinsWorkspace\TransactionManager\.sonarqube\out\sonar-project.properties
INFO: SonarQube Scanner 2.6
INFO: Java 1.8.0_92 Oracle Corporation (64-bit)
INFO: Windows Server 2012 R2 6.3 amd64
INFO: SONAR_SCANNER_OPTS=-Xmx1024m
INFO: Error stacktraces are turned on.
INFO: User cache: C:\Users\jenkins\.sonar\cache
INFO: Load global repositories
INFO: Load global repositories (done) | time=166ms
INFO: User cache: C:\Users\jenkins\.sonar\cache
INFO: Load plugins index
INFO: Load plugins index (done) | time=8ms
INFO: SonarQube server 6.0
INFO: Default locale: "en_US", source code encoding: "UTF-8"
INFO: Process project properties
ERROR: Invalid value of sonar.sources for TransactionManager:TransactionManager:D7DC7991-F4DE-4769-B740-1ED22009FCD0
INFO: ------------------------------------------------------------------------
INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
INFO: Total time: 1.948s
INFO: Final Memory: 43M/501M
ERROR: Error during SonarQube Scanner execution
INFO: ------------------------------------------------------------------------
The folder 'D:\JenkinsWorkspace\TransactionManager\src\VisionBox.TransactionManager.Touchpoint\Services\ServiceSubscriber{TServiceSubscription' does not exist for 'TransactionManager:TransactionManager:D7DC7991-F4DE-4769-B740-1ED22009FCD0' (base directory = D:\JenkinsWorkspace\TransactionManager\src\VisionBox.TransactionManager.Touchpoint)
ERROR:
ERROR: Re-run SonarQube Scanner using the -X switch to enable full debug logging.
The SonarQube Scanner did not complete successfully
15:27:46.386  Creating a summary markdown file...
Post-processing failed. Exit code: 1
ERROR: Execution of SonarQube Scanner for MSBuild failed (exit code 1)

The filename is: ServiceSubscriber{TServiceSubscription,TServiceClient,TCallbackSubscriberFactory}.cs

nicolas...@sonarsource.com

unread,
Aug 22, 2017, 9:06:26 AM8/22/17
to SonarQube, pa...@paulomorgado.info
Hi,

The standard courtesies (hi, thanks etc.) are appreciated around here, we're just regular folks giving some time to help out the community. ;)

The error you're getting seems to match pretty well with issue SONARMSBRU-199 - Analysis fails for valid Windows filenames, e.g. containing commas .

Give it a look and let us know if any follow-up question.

Best regards,
Nicolas
Reply all
Reply to author
Forward
0 new messages