# Getting error while running sonar scanner

**URL:** <https://community.sonarsource.com/t/getting-error-while-running-sonar-scanner/74931>\
**Category:** SonarQube Server / Community Build\
**Created:** [October 22, 2022, 4:18pm UTC](https://community.sonarsource.com/t/getting-error-while-running-sonar-scanner/74931 "2022-10-22T16:18:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bibhushree.eai](https://avatars.discourse-cdn.com/v4/letter/b/c68b51/32.png) [@bibhushree.eai](https://community.sonarsource.com/u/bibhushree.eai)\
**Post date:** [October 22, 2022, 4:18pm UTC](https://community.sonarsource.com/t/getting-error-while-running-sonar-scanner/74931/1 "2022-10-22T16:18:39Z")

</div>

C:\Sonar\sonar-scanner-4.7.0.2747-windows\bin\sonar-scanner  
INFO: Scanner configuration file: C:\Sonar\sonar-scanner-4.7.0.2747-windows\bin..\conf\sonar-scanner.properties  
INFO: Project root configuration file: NONE  
INFO: SonarScanner 4.7.0.2747  
INFO: Java 11.0.14.1 Eclipse Adoptium (64-bit)  
INFO: Windows 11 10.0 amd64  
INFO: User cache: C:\Users\bibhu.sonar\cache  
INFO: Scanner configuration file: C:\Sonar\sonar-scanner-4.7.0.2747-windows\bin..\conf\sonar-scanner.properties  
INFO: Project root configuration file: NONE  
INFO: Analyzing on SonarQube server 9.7.0.61563  
INFO: Default locale: “en\_IN”, source code encoding: “UTF-8”  
INFO: Load global settings  
INFO: Load global settings (done) | time=46ms  
INFO: Server id: 147B411E-AYP-gginCM0o6alZmK0d  
INFO: User cache: C:\Users\bibhu.sonar\cache  
INFO: Load/download plugins  
INFO: Load plugins index  
INFO: Load plugins index (done) | time=27ms  
INFO: Load/download plugins (done) | time=93ms  
INFO: Process project properties  
INFO: Process project properties (done) | time=0ms  
INFO: Execute project builders  
INFO: Execute project builders (done) | time=0ms  
INFO: Project key: Bibhushree  
INFO: Base dir: C:\webMethods\Bibhushree  
INFO: Working dir: C:\webMethods\Bibhushree.scannerwork  
INFO: Load project settings for component key: ‘Bibhushree’  
WARN: SCM provider autodetection failed. Please use “sonar.scm.provider” to define SCM of your project, or disable the SCM Sensor in the project settings.  
INFO: Load quality profiles  
INFO: Load quality profiles (done) | time=51ms  
INFO: Load active rules  
INFO: Load active rules (done) | time=1286ms  
INFO: Load analysis cache  
INFO: Load analysis cache (404) | time=0ms  
INFO: Load project repositories  
INFO: Load project repositories (done) | time=0ms  
WARN: Property ‘sonar.flow.file.suffixes’ is not declared as multi-values/property set but was read using ‘getStringArray’ method. The SonarQube plugin declaring this property should be updated.  
WARN: Property ‘sonar.node.file.suffixes’ is not declared as multi-values/property set but was read using ‘getStringArray’ method. The SonarQube plugin declaring this property should be updated.  
INFO: Indexing files…  
INFO: Project configuration:  
INFO: ------------------------------------------------------------------------  
INFO: EXECUTION FAILURE  
INFO: ------------------------------------------------------------------------  
INFO: Total time: 3.053s  
INFO: Final Memory: 9M/37M  
INFO: ------------------------------------------------------------------------  
ERROR: Error during SonarScanner execution  
ERROR: Language of file ‘ns\Project\publish\publish\flow.xml’ can not be decided as the file matches patterns of both sonar.lang.patterns.xml : **/\*.xml,** /_.xsd,\*\*/_.xsl and sonar.lang.patterns.flow : **/\*.xml,** /\*.ndf

---

<div class="post-metadata">

**Author:** ![bibhushree.eai](https://avatars.discourse-cdn.com/v4/letter/b/c68b51/32.png) [@bibhushree.eai](https://community.sonarsource.com/u/bibhushree.eai)\
**Post date:** [October 22, 2022, 4:26pm UTC](https://community.sonarsource.com/t/getting-error-while-running-sonar-scanner/74931/2 "2022-10-22T16:26:09Z")

</div>

Solved with below thread  
[Language of file can not be decided error - SonarQube - Sonar Community (sonarsource.com)](https://community.sonarsource.com/t/language-of-file-can-not-be-decided-error/23137)

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/system/32/31083_2.png) [@system](https://community.sonarsource.com/u/system)\
**Post date:** [October 29, 2022, 4:26pm UTC](https://community.sonarsource.com/t/getting-error-while-running-sonar-scanner/74931/3 "2022-10-29T16:26:17Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
