Hi,
We are facing a strange issue, our environments:
Jenkins 2.277.1 with SonarQube Scanner 2.13 plugin
SonarQube 7.9.5 with following plugins:
Groovy 1.6 (groovy)
SonarJava 5.14.0.18788 (java)
LDAP 2.2.0.608 (ldap)
Git 1.12.1.2064 (scmgit)
SonarFlex 2.5.1.1831 (flex)
SonarXML 2.0.1.2020 (xml)
Clover 4.1 (clover)
SonarTS 2.1.0.4359 (typescript)
Svn 1.9.0.1295 (scmsvn)
Community Branch Plugin 1.1.1 (communityBranchPlugin)
SonarJS 6.2.1.12157 (javascript)
when the pipeline runs, we get following error (log snippet)
13:21:56 [DEBUG] 13:21:55.875 Available languages:
13:21:56 [DEBUG] 13:21:55.876 * Groovy => “grvy”
13:21:56 [DEBUG] 13:21:55.876 * Java => “java”
13:21:56 [DEBUG] 13:21:55.876 * Flex => “flex”
13:21:56 [DEBUG] 13:21:55.876 * XML => “xml”
13:21:56 [DEBUG] 13:21:55.876 * JavaScript => “js”
13:21:56 [DEBUG] 13:21:55.876 * TypeScript => “ts”
13:21:56 [INFO] 13:21:55.883 Load quality profiles
13:21:56 [DEBUG] 13:21:55.916 GET 200 _https://localhost/api/qualityprofiles/search.protobuf?projectKey=com.test%3Asupport-catalog | time=32ms
13:21:56 [INFO] 13:21:55.939 Load quality profiles (done) | time=56ms
13:21:56 [INFO] 13:21:55.946 Detected Jenkins
13:21:56 [INFO] 13:21:55.950 Load active rules
13:21:56 [DEBUG] 13:21:55.995 GET 200 _https://localhost/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AW3V_EWDcyaIQVz6VbWC&ps=500&p=1 | time=45ms
13:21:56 [DEBUG] 13:21:56.200 GET 200 _https://localhost/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AW3V_DyWcyaIQVz6VbKa&ps=500&p=1 | time=107ms
13:21:56 [DEBUG] 13:21:56.282 GET 200 _https://localhost/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AW3V_D_pcyaIQVz6VbP8&ps=500&p=1 | time=35ms
13:21:56 [DEBUG] 13:21:56.383 GET 200 _https://localhost/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AXVVNJVyn6nZp5uLFmbC&ps=500&p=1 | time=97ms
13:21:56 [DEBUG] 13:21:56.475 GET 200 _https://localhostt/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AW3V_EFLcyaIQVz6VbQ7&ps=500&p=1 | time=88ms
13:21:56 [DEBUG] 13:21:56.580 GET 200 _https://localhost/api/rules/search.protobuf?f=repo,name,severity,lang,internalKey,templateKey,params,actives,createdAt,updatedAt&activation=true&qprofile=AW3V_EbAcyaIQVz6VbXo&ps=500&p=1 | time=103ms
13:21:56 [INFO] 13:21:56.592 Load active rules (done) | time=642ms
13:21:56 [INFO] ------------------------------------------------------------------------
13:21:56 [INFO] BUILD FAILURE
13:21:56 [INFO] ------------------------------------------------------------------------
13:21:56 [INFO] Total time: 10.889 s
13:21:56 [INFO] Finished at: 2021-04-08T13:21:56+02:00
13:21:56 [INFO] ------------------------------------------------------------------------
13:21:56 [INFO] [jenkins-event-spy] Generated /home/jenkins/agent/workspace/upport-catalog_test-feature_hari@tmp/withMavene0981e14/maven-spy-20210408-132145-66814187043307735770221.log
13:21:56 [ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.8.0.2131:sonar (default-cli) on project support-catalog: Unable to load component class org.sonar.scanner.scan.filesystem.ProjectFileIndexer: Unable to load component class org.sonar.scanner.scan.filesystem.FileIndexer: Unable to load component class org.sonar.scanner.scan.filesystem.LanguageDetection: org/apache/commons/lang/StringUtils: org.apache.commons.lang.StringUtils → [Help 1]
13:21:56 org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.8.0.2131:sonar (default-cli) on project support-catalog: Unable to load component class org.sonar.scanner.scan.filesystem.ProjectFileIndexer
13:21:56 at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213)
13:21:56 at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
13:21:56 at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
13:21:56 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
…
We will appreciate any help. TIA