I have recently upgraded from 9.7 to 9.8 Community Edition running on Windows 2012 R2. We use Azure DevOps 2020 build server for performing SonarQube code analysis.
After the upgrade, the Code Analysis step reports several errors. 2023-01-02T23:36:22.7786462Z ##[error]ERROR: RangeError: Maximum call stack size exceeded
ERROR: Occurred while linting E:/TFSBuild_Directory/39/s//Scripts/VersionManagement.js:344
ERROR: Rule: “unverified-hostname”
ERROR: at getFullyQualifiedName (E:\TFSBuild_Directory\39.sonarqube\out.sonar.sonartmp\eslint-bridge-bundle\package\lib\linting\eslint\rules\helpers\module.js:86:31)
ERROR: at getFullyQualifiedName (E:\TFSBuild_Directory\39.sonarqube\out.sonar.sonartmp\eslint-bridge-bundle\package\lib\linting\eslint\rules\helpers\module.js:154:20)
I have included the full error log for inspection. Anyone else running into this issue?
SonarQube server information:
SonarQube ID information
Server ID: <server_ID>
Version: 9.8.0.63668
Date: 2023-01-03
The analysis / scanner log is what’s output from the analysis command. Hopefully, the log you provide - redacted as necessary - will include that command as well.
Ann - the documentation in the link provided wasn’t very informative on finding the location of the scanner/sensor logs. Here is the log file from Azure DevOps from the Code Analysis task. sonarqube_error.txt (100.9 KB)
Thanks for reporting this, indeed this is a newly introduced bug. It will be fixed in the next release of the JS analysis engine. I have opened a ticket to keep track of it.