Dotnet-sonarscanner end failing

  • which versions are you using (SonarQube Server / Community Build, Scanner, Plugin, and any relevant extension)
dotnet-sonarscanner -h
SonarScanner for MSBuild 10.3
Using the .NET Core version of the Scanner for MSBuild
  • how is SonarQube deployed: zip, Docker, Helm
    It’s installed using dotnet tool install
dotnet tool install --global dotnet-sonarscanner
  • what are you trying to achieve
 dotnet-sonarscanner end /d:"sonar.token=xxxx" fails
  • Error from running the command
 SonarScanner for MSBuild 10.3
Using the .NET Core version of the Scanner for MSBuild
Post-processing started.
11:58:38.275  Starting with Scanner for .NET v8 the way the `sonar.projectBaseDir` property is automatically detected has changed and this has an impact on the files that are analyzed and other properties that are resolved relative to it like `sonar.exclusions` and `sonar.test.exclusions`. If you would like to customize the behavior, please set the `sonar.projectBaseDir` property to point to a directory that contains all the source code you want to analyze. The path may be relative (to the directory from which the analysis was started) or absolute.
Calling the SonarScanner CLI...
INFO: Scanner configuration file: /home/raj/.dotnet/tools/.store/dotnet-sonarscanner/10.3.0/dotnet-sonarscanner/10.3.0/tools/netcoreapp3.1/any/sonar-scanner-5.0.2.4997/conf/sonar-scanner.properties
INFO: Project root configuration file: /home/raj/Repos/mvc-trunk/.sonarqube/out/sonar-project.properties
INFO: SonarScanner 5.0.2.4997
INFO: Java 17.0.11 Eclipse Adoptium (64-bit)
INFO: Linux 6.15.8-arch1-1 amd64
INFO: SONAR_SCANNER_OPTS=-D<sensitive data removed>
INFO: User cache: /home/raj/.sonar/cache
INFO: Analyzing on SonarCloud
INFO: Default locale: "en_US", source code encoding: "UTF-8" (analysis is platform dependent)
INFO: Load global settings
INFO: Load global settings (done) | time=740ms
INFO: Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu
INFO: Loading required plugins
INFO: Load plugins index
INFO: Load plugins index (done) | time=244ms
INFO: Load/download plugins
INFO: Load/download plugins (done) | time=49ms
INFO: Load project settings for component key: 'xxxx'
INFO: Load project settings for component key: 'xxxx' (done) | time=446ms
INFO: Process project properties
INFO: Execute project builders
INFO: Execute project builders (done) | time=0ms
INFO: Project key: xxxx
INFO: Base dir: /home/raj/Repos/mvc-trunk
INFO: Working dir: /home/raj/Repos/mvc-trunk/.sonarqube/out/.sonar
INFO: Load project branches
INFO: Load project branches (done) | time=202ms
INFO: Check ALM binding of project 'xxxx'
INFO: Detected project binding: BOUND
INFO: Check ALM binding of project 'xxxx' (done) | time=137ms
INFO: Load project pull requests
INFO: Load project pull requests (done) | time=191ms
INFO: Load branch configuration
INFO: Load branch configuration (done) | time=1ms
INFO: Load quality profiles
INFO: Load quality profiles (done) | time=394ms
INFO: Inferred api base url 'https://api.sonarcloud.io' from host url 'https://sonarcloud.io'.
INFO: Load active rules
INFO: ------------------------------------------------------------------------
INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
INFO: Total time: 5.121s
INFO: Final Memory: 14M/68M
INFO: ------------------------------------------------------------------------
ERROR: Error during SonarScanner execution
java.lang.IllegalStateException: Unable to load component class org.sonar.scanner.report.ActiveRulesPublisher
        at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:52)
        at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:621)
        at org.picocontainer.parameters.CollectionComponentParameter.getArrayInstance(CollectionComponentParameter.java:334)
        at org.picocontainer.parameters.CollectionComponentParameter.access$100(CollectionComponentParameter.java:49)
        at org.picocontainer.parameters.CollectionComponentParameter$1.resolveInstance(CollectionComponentParameter.java:139)
        at org.picocontainer.parameters.ComponentParameter$1.resolveInstance(ComponentParameter.java:141)
        at org.picocontainer.injectors.SingleMemberInjector.getParameter(SingleMemberInjector.java:78)
        at org.picocontainer.injectors.ConstructorInjector$CtorAndAdapters.getParameterArguments(ConstructorInjector.java:309)
        at org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:335)
        at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
        at org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:364)
        at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.getComponentInstance(AbstractInjectionFactory.java:56)
        at org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)
        at org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)
        at org.picocontainer.DefaultPicoContainer.instantiateComponentAsIsStartable(DefaultPicoContainer.java:1034)
        at org.picocontainer.DefaultPicoContainer.addAdapterIfStartable(DefaultPicoContainer.java:1026)
        at org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:1003)
        at org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:767)
        at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:122)
        at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)
        at org.sonar.scanner.bootstrap.GlobalContainer.doAfterStart(GlobalContainer.java:128)
        at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:123)
        at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)
        at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:58)
        at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:52)
        at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.base/java.lang.reflect.Method.invoke(Unknown Source)
        at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
        at jdk.proxy1/jdk.proxy1.$Proxy0.execute(Unknown Source)
        at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:189)
        at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:138)
        at org.sonarsource.scanner.cli.Main.execute(Main.java:123)
        at org.sonarsource.scanner.cli.Main.execute(Main.java:78)
        at org.sonarsource.scanner.cli.Main.main(Main.java:59)
Caused by: java.lang.IllegalStateException: Unable to load component class org.sonar.api.batch.rule.internal.DefaultActiveRules
        at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:52)
        at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:632)
        at org.picocontainer.parameters.BasicComponentParameter$1.resolveInstance(BasicComponentParameter.java:118)
        at org.picocontainer.parameters.ComponentParameter$1.resolveInstance(ComponentParameter.java:136)
        at org.picocontainer.injectors.SingleMemberInjector.getParameter(SingleMemberInjector.java:78)
        at org.picocontainer.injectors.ConstructorInjector$CtorAndAdapters.getParameterArguments(ConstructorInjector.java:309)
        at org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:335)
        at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
        at org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:364)
        at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.getComponentInstance(AbstractInjectionFactory.java:56)
        at org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)
        at org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)
        at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:699)
        at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:647)
        at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:50)
        ... 36 more
Caused by: java.lang.IllegalStateException: Unable to load active rules
        at org.sonar.scanner.rule.DefaultActiveRulesLoader.load(DefaultActiveRulesLoader.java:52)
        at org.sonar.scanner.rule.ActiveRulesProvider.load(ActiveRulesProvider.java:58)
        at org.sonar.scanner.rule.ActiveRulesProvider.provide(ActiveRulesProvider.java:49)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.base/java.lang.reflect.Method.invoke(Unknown Source)
        at org.picocontainer.injectors.MethodInjector.invokeMethod(MethodInjector.java:129)
        at org.picocontainer.injectors.MethodInjector.access$000(MethodInjector.java:39)
        at org.picocontainer.injectors.MethodInjector$2.run(MethodInjector.java:113)
        at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
        at org.picocontainer.injectors.MethodInjector.decorateComponentInstance(MethodInjector.java:120)
        at org.picocontainer.injectors.CompositeInjector.decorateComponentInstance(CompositeInjector.java:58)
        at org.picocontainer.injectors.Reinjector.reinject(Reinjector.java:142)
        at org.picocontainer.injectors.ProviderAdapter.getComponentInstance(ProviderAdapter.java:96)
        at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:699)
        at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:647)
        at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:50)
        ... 50 more
Caused by: com.sonarsource.scanner.engine.webapi.client.HttpException: Error 404 on https://api.sonarcloud.io/analysis/active-rules?organization=someorg&project=xxxx :
        at com.sonarsource.scanner.engine.webapi.client.BaseResponse.failIfNotSuccessful(BaseResponse.java:22)
        at org.sonar.scanner.http.DefaultScannerWsClient.failIfUnauthorized(DefaultScannerWsClient.java:82)
        at org.sonar.scanner.http.DefaultScannerWsClient.call(DefaultScannerWsClient.java:55)
        at org.sonar.scanner.rule.DefaultActiveRulesLoader.load(DefaultActiveRulesLoader.java:48)
        ... 67 more
ERROR:
The SonarScanner did not complete successfully
11:58:43.922  Post-processing failed. Exit code: 1

Hi,

Your failure is caused by a 404 on

What happens if you call that URL directly from a(n already logged-in) browser?

And is your analysis failing consistently or intermittently?

 
Ann

Hello,

We are running Sonar code analysis on a Typescript project in our AzureDevOps pipelines. We started seeing some issues a couple of days ago when Sonar announced a partial outage on CI analysis. Right now, in the status page, it says it was resolved, but we are still getting some errors.

The error we are seeing is:

2025-08-06T16:12:06.9186277Z ##[debug]Evaluating condition for step: '[verify] Run sonar'
2025-08-06T16:12:06.9187368Z ##[debug]Evaluating: SucceededNode()
2025-08-06T16:12:06.9187803Z ##[debug]Evaluating SucceededNode:
2025-08-06T16:12:06.9188589Z ##[debug]=> True
2025-08-06T16:12:06.9188994Z ##[debug]Result: True
2025-08-06T16:12:06.9189344Z ##[section]Starting: [verify] Run sonar
2025-08-06T16:12:06.9193043Z ==============================================================================
2025-08-06T16:12:06.9193311Z Task         : Run Code Analysis
2025-08-06T16:12:06.9193465Z Description  : Run scanner and upload the results to SonarQube Cloud.
2025-08-06T16:12:06.9193743Z Version      : 3.3.0
2025-08-06T16:12:06.9193873Z Author       : sonarsource
2025-08-06T16:12:06.9194013Z Help         : This task is not needed for Maven and Gradle projects since the scanner should be run as part of the build.

[More Information](https://docs.sonarcloud.io/advanced-setup/ci-based-analysis/sonarcloud-extension-for-azure-devops/)
2025-08-06T16:12:06.9194356Z ==============================================================================
2025-08-06T16:12:06.9650344Z ##[debug]Using node path: /home/adminpltage0fb6012we/azp/agent/externals/node16/bin/node
2025-08-06T16:12:07.0444951Z ##[debug]system.debug=True
2025-08-06T16:12:07.0446643Z ##[debug]DistributedTask.Tasks.Node.SkipDebugLogsWhenDebugModeOff=True
2025-08-06T16:12:07.0498968Z ##[debug]agent.TempDirectory=/home/adminpltage0fb6012we/azp/agent/_work/_temp
2025-08-06T16:12:07.0506211Z ##[debug]loading inputs and endpoints
2025-08-06T16:12:07.0510016Z ##[debug]loading INPUT_JDKVERSION
2025-08-06T16:12:07.0518101Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION
2025-08-06T16:12:07.0520022Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION
2025-08-06T16:12:07.0521642Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN
2025-08-06T16:12:07.0526580Z ##[debug]loading SECRET_AGENTS-NST-APPINS-NE-APPINS-CONNECTION-STRING
2025-08-06T16:12:07.0528934Z ##[debug]loading SECRET_SONAR_ENDPOINT
2025-08-06T16:12:07.0530813Z ##[debug]loading SECRET_SYSTEM_ACCESSTOKEN
2025-08-06T16:12:07.0533825Z ##[debug]loading SECRET_GH-NPM-READ-TOKEN
2025-08-06T16:12:07.0536225Z ##[debug]loading SECRET_SENTRY-AUTH-TOKEN
2025-08-06T16:12:07.0538484Z ##[debug]loaded 9
2025-08-06T16:12:07.0544047Z ##[debug]Agent.ProxyUrl=undefined
2025-08-06T16:12:07.0544672Z ##[debug]Agent.CAInfo=undefined
2025-08-06T16:12:07.0545153Z ##[debug]Agent.ClientCert=undefined
2025-08-06T16:12:07.0545606Z ##[debug]Agent.SkipCertValidation=undefined
2025-08-06T16:12:07.0690730Z ##[debug]Agent.ProxyUrl=undefined
2025-08-06T16:12:07.0691327Z ##[debug]Agent.CAInfo=undefined
2025-08-06T16:12:07.0691858Z ##[debug]Agent.ClientCert=undefined
2025-08-06T16:12:07.0692683Z ##[debug]check path : /home/adminpltage0fb6012we/azp/agent/_work/_tasks/SonarCloudAnalyze_ce096e50-6155-4de8-8800-4221aaeed4a1/3.3.0/lib.json
2025-08-06T16:12:07.0696306Z ##[debug]adding resource file: /home/adminpltage0fb6012we/azp/agent/_work/_tasks/SonarCloudAnalyze_ce096e50-6155-4de8-8800-4221aaeed4a1/3.3.0/lib.json
2025-08-06T16:12:07.0696990Z ##[debug]system.culture=en-US
2025-08-06T16:12:07.1133136Z ##[debug]jdkversion=JAVA_HOME_17_X64
2025-08-06T16:12:07.1133998Z ##[debug]SONAR_SCANNER_MODE=cli
2025-08-06T16:12:07.1134666Z ##[debug]SONAR_SERVER_VERSION=8.0.0
2025-08-06T16:12:07.1135670Z ##[debug]JAVA_HOME_17_X64=undefined
2025-08-06T16:12:07.1136270Z ##[debug]SONAR_SCANNER_MODE=cli
2025-08-06T16:12:07.1137618Z ##[debug]SONARQUBE_SCANNER_PARAMS={"sonar.host.url":"https://sonarcloud.io","sonar.token":***,"sonar.organization":"YYYY","sonar.projectKey":"XXXXXX","sonar.projectName":"ZZZZ","sonar.projectVersion":"1.0","sonar.sources":"src","sonar.branch.name":"refs/pull/2623/merge","sonar.scanner.metadataFilePath":"/home/adminpltage0fb6012we/azp/agent/_work/_temp/sonar/9580636/4ce64711-5942-6c54-7852-b01e942ba3e8/report-task.txt","sonar.projectBaseDir":"packages/ZZZZ","sonar.inclusions":"src/**/*.ts,src/**/*.tsx","sonar.tests":"src","sonar.test.inclusions":"**/*.test.ts,**/*.test.tsx","sonar.coverage.exclusions":"**/*.stories.ts,**/*.stories.tsx,**/*.test.ts,**/*.test.tsx","sonar.javascript.lcov.reportPaths":"**/coverage/lcov.info"}
2025-08-06T16:12:07.1139209Z ##[debug]SONAR_SCANNER_LOCATION=
2025-08-06T16:12:07.1140275Z ##[debug]Absolute path for pathSegments: /home/adminpltage0fb6012we/azp/agent/_work/_tasks/SonarCloudAnalyze_ce096e50-6155-4de8-8800-4221aaeed4a1/3.3.0,sonar-scanner,bin,sonar-scanner = /home/adminpltage0fb6012we/azp/agent/_work/_tasks/SonarCloudAnalyze_ce096e50-6155-4de8-8800-4221aaeed4a1/3.3.0/sonar-scanner/bin/sonar-scanner
2025-08-06T16:12:07.1141408Z ##[debug][DEBUG] SonarQube Cloud: Using scanner at /home/adminpltage0fb6012we/azp/agent/_work/_tasks/SonarCloudAnalyze_ce096e50-6155-4de8-8800-4221aaeed4a1/3.3.0/sonar-scanner/bin/sonar-scanner
2025-08-06T16:12:07.1151240Z ##[debug]which '/home/adminpltage0fb6012we/azp/agent/_work/_tasks/SonarCloudAnalyze_ce096e50-6155-4de8-8800-4221aaeed4a1/3.3.0/sonar-scanner/bin/sonar-scanner'
2025-08-06T16:12:07.1153905Z ##[debug]found: '/home/adminpltage0fb6012we/azp/agent/_work/_tasks/SonarCloudAnalyze_ce096e50-6155-4de8-8800-4221aaeed4a1/3.3.0/sonar-scanner/bin/sonar-scanner'
2025-08-06T16:12:07.1154673Z ##[debug]system.debug=True
2025-08-06T16:12:07.1156608Z ##[debug]exec tool: /home/adminpltage0fb6012we/azp/agent/_work/_tasks/SonarCloudAnalyze_ce096e50-6155-4de8-8800-4221aaeed4a1/3.3.0/sonar-scanner/bin/sonar-scanner
2025-08-06T16:12:07.1157318Z ##[debug]arguments:
2025-08-06T16:12:07.1159165Z [command]/home/adminpltage0fb6012we/azp/agent/_work/_tasks/SonarCloudAnalyze_ce096e50-6155-4de8-8800-4221aaeed4a1/3.3.0/sonar-scanner/bin/sonar-scanner
2025-08-06T16:12:10.4024861Z 16:12:10.395 INFO  Scanner configuration file: /home/adminpltage0fb6012we/azp/agent/_work/_tasks/SonarCloudAnalyze_ce096e50-6155-4de8-8800-4221aaeed4a1/3.3.0/sonar-scanner/conf/sonar-scanner.properties
2025-08-06T16:12:10.4031475Z 16:12:10.402 INFO  Project root configuration file: NONE
2025-08-06T16:12:10.4258706Z 16:12:10.425 INFO  SonarScanner CLI 7.1.0.4889
2025-08-06T16:12:10.4270323Z 16:12:10.426 INFO  Java 17.0.15 Azul Systems, Inc. (64-bit)
2025-08-06T16:12:10.4275547Z 16:12:10.427 INFO  Linux 6.8.0-1027-azure amd64
2025-08-06T16:12:10.5104361Z 16:12:10.509 INFO  User cache: /root/.sonar/cache
2025-08-06T16:12:11.8237872Z 16:12:11.823 INFO  Communicating with SonarQube Cloud
2025-08-06T16:12:11.8242075Z 16:12:11.823 INFO  JRE provisioning: os[linux], arch[x86_64]
2025-08-06T16:12:13.2407001Z 16:12:13.240 INFO  Starting SonarScanner Engine...
2025-08-06T16:12:13.2410288Z 16:12:13.240 INFO  Java 17.0.11 Eclipse Adoptium (64-bit)
2025-08-06T16:12:13.2768190Z 16:12:13.276 WARN  Ignoring property 'sonar.projectBaseDir' from env variable 'SONARQUBE_SCANNER_PARAMS' because it is already defined
2025-08-06T16:12:13.9355826Z 16:12:13.935 INFO  Load global settings
2025-08-06T16:12:14.2020521Z 16:12:14.201 INFO  Load global settings (done) | time=267ms
2025-08-06T16:12:14.2049831Z 16:12:14.204 INFO  Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu
2025-08-06T16:12:14.3368155Z 16:12:14.335 INFO  Loading required plugins
2025-08-06T16:12:14.3369622Z 16:12:14.336 INFO  Load plugins index
2025-08-06T16:12:14.3771501Z 16:12:14.376 INFO  Load plugins index (done) | time=40ms
2025-08-06T16:12:14.3774356Z 16:12:14.377 INFO  Load/download plugins
2025-08-06T16:12:14.4301507Z 16:12:14.429 INFO  Load/download plugins (done) | time=53ms
2025-08-06T16:12:14.6437880Z 16:12:14.643 INFO  Found an active CI vendor: 'Azure DevOps'
2025-08-06T16:12:14.6498034Z 16:12:14.649 INFO  Load project settings for component key: 'XXXXXX'
2025-08-06T16:12:14.8120102Z 16:12:14.811 INFO  Load project settings for component key: 'XXXXXX' (done) | time=162ms
2025-08-06T16:12:14.8150377Z 16:12:14.814 INFO  Process project properties
2025-08-06T16:12:14.8220452Z 16:12:14.821 INFO  Project key: XXXXXX
2025-08-06T16:12:14.8223685Z 16:12:14.822 INFO  Base dir: /home/adminpltage0fb6012we/azp/agent/_work/3/s/packages/ZZZZ
2025-08-06T16:12:14.8225679Z 16:12:14.822 INFO  Working dir: /home/adminpltage0fb6012we/azp/agent/_work/3/s/packages/ZZZZ/.scannerwork
2025-08-06T16:12:14.8264931Z 16:12:14.826 INFO  Load project branches
2025-08-06T16:12:14.9975562Z 16:12:14.997 INFO  Load project branches (done) | time=171ms
2025-08-06T16:12:14.9991294Z 16:12:14.998 INFO  Check ALM binding of project 'XXXXXX'
2025-08-06T16:12:15.0407939Z 16:12:15.040 INFO  Detected project binding: NOT_BOUND
2025-08-06T16:12:15.0410359Z 16:12:15.040 INFO  Check ALM binding of project 'XXXXXX' (done) | time=42ms
2025-08-06T16:12:15.0418171Z 16:12:15.041 INFO  Load project pull requests
2025-08-06T16:12:15.0807127Z 16:12:15.080 INFO  Load project pull requests (done) | time=38ms
2025-08-06T16:12:15.0820616Z 16:12:15.081 INFO  Load branch configuration
2025-08-06T16:12:15.0831643Z 16:12:15.082 INFO  Load branch configuration (done) | time=1ms
2025-08-06T16:12:15.0885249Z 16:12:15.088 INFO  Load quality profiles
2025-08-06T16:12:15.4229104Z 16:12:15.422 INFO  Load quality profiles (done) | time=334ms
2025-08-06T16:12:15.5509080Z 16:12:15.550 INFO  Load active rules
2025-08-06T16:12:15.7209837Z ##[error]16:12:15.715 ERROR Error during SonarScanner Engine execution
java.lang.IllegalStateException: Unable to load component class org.sonar.scanner.report.ActiveRulesPublisher
	at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:52)
	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:621)
	at org.picocontainer.parameters.CollectionComponentParameter.getArrayInstance(CollectionComponentParameter.java:334)
	at org.picocontainer.parameters.CollectionComponentParameter.access$100(CollectionComponentParameter.java:49)
	at org.picocontainer.parameters.CollectionComponentParameter$1.resolveInstance(CollectionComponentParameter.java:139)
	at org.picocontainer.parameters.ComponentParameter$1.resolveInstance(ComponentParameter.java:141)
	at org.picocontainer.injectors.SingleMemberInjector.getParameter(SingleMemberInjector.java:78)
	at org.picocontainer.injectors.ConstructorInjector$CtorAndAdapters.getParameterArguments(ConstructorInjector.java:309)
	at org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:335)
	at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
	at org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:364)
	at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.getComponentInstance(AbstractInjectionFactory.java:56)
	at org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)
	at org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)
	at org.picocontainer.DefaultPicoContainer.instantiateComponentAsIsStartable(DefaultPicoContainer.java:1034)
	at org.picocontainer.DefaultPicoContainer.addAdapterIfStartable(DefaultPicoContainer.java:1026)
	at org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:1003)
	at org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:767)
	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:122)
	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)
	at org.sonar.scanner.bootstrap.GlobalContainer.doAfterStart(GlobalContainer.java:128)
	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:123)
	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)
	at org.sonar.scanner.bootstrap.ScannerMain.runScannerEngine(ScannerMain.java:136)
	at org.sonar.scanner.bootstrap.ScannerMain.run(ScannerMain.java:53)
	at org.sonar.scanner.bootstrap.ScannerMain.main(ScannerMain.java:39)
Caused by: java.lang.IllegalStateException: Unable to load component class org.sonar.api.batch.rule.internal.DefaultActiveRules
	at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:52)
	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:632)
	at org.picocontainer.parameters.BasicComponentParameter$1.resolveInstance(BasicComponentParameter.java:118)
	at org.picocontainer.parameters.ComponentParameter$1.resolveInstance(ComponentParameter.java:136)
	at org.picocontainer.injectors.SingleMemberInjector.getParameter(SingleMemberInjector.java:78)
	at org.picocontainer.injectors.ConstructorInjector$CtorAndAdapters.getParameterArguments(ConstructorInjector.java:309)
	at org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:335)
	at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
	at org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:364)
	at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.getComponentInstance(AbstractInjectionFactory.java:56)
	at org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)
	at org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)
	at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:699)
	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:647)
	at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:50)
	... 25 common frames omitted
Caused by: java.lang.IllegalStateException: Unable to load active rules
	at org.sonar.scanner.rule.DefaultActiveRulesLoader.load(DefaultActiveRulesLoader.java:52)
	at org.sonar.scanner.rule.ActiveRulesProvider.load(ActiveRulesProvider.java:58)
	at org.sonar.scanner.rule.ActiveRulesProvider.provide(ActiveRulesProvider.java:49)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at org.picocontainer.injectors.MethodInjector.invokeMethod(MethodInjector.java:129)
	at org.picocontainer.injectors.MethodInjector.access$000(MethodInjector.java:39)
	at org.picocontainer.injectors.MethodInjector$2.run(MethodInjector.java:113)
	at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
	at org.picocontainer.injectors.MethodInjector.decorateComponentInstance(MethodInjector.java:120)
	at org.picocontainer.injectors.CompositeInjector.decorateComponentInstance(CompositeInjector.java:58)
	at org.picocontainer.injectors.Reinjector.reinject(Reinjector.java:142)
	at org.picocontainer.injectors.ProviderAdapter.getComponentInstance(ProviderAdapter.java:96)
	at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:699)
	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:647)
	at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:50)
	... 39 common frames omitted
Caused by: com.sonarsource.scanner.engine.webapi.client.HttpException: Error 404 on https://api.sonarcloud.io/analysis/active-rules?organization=YYYY&project=XXXXXX : 
	at com.sonarsource.scanner.engine.webapi.client.BaseResponse.failIfNotSuccessful(BaseResponse.java:22)
	at org.sonar.scanner.http.DefaultScannerWsClient.failIfUnauthorized(DefaultScannerWsClient.java:82)
	at org.sonar.scanner.http.DefaultScannerWsClient.call(DefaultScannerWsClient.java:55)
	at org.sonar.scanner.rule.DefaultActiveRulesLoader.load(DefaultActiveRulesLoader.java:48)
	... 56 common frames omitted
2025-08-06T16:12:15.7231840Z ##[debug]Processed: ##vso[task.logissue type=error;]16:12:15.715 ERROR Error during SonarScanner Engine execution
java.lang.IllegalStateException: Unable to load component class org.sonar.scanner.report.ActiveRulesPublisher
	at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:52)
	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:621)
	at org.picocontainer.parameters.CollectionComponentParameter.getArrayInstance(CollectionComponentParameter.java:334)
	at org.picocontainer.parameters.CollectionComponentParameter.access$100(CollectionComponentParameter.java:49)
	at org.picocontainer.parameters.CollectionComponentParameter$1.resolveInstance(CollectionComponentParameter.java:139)
	at org.picocontainer.parameters.ComponentParameter$1.resolveInstance(ComponentParameter.java:141)
	at org.picocontainer.injectors.SingleMemberInjector.getParameter(SingleMemberInjector.java:78)
	at org.picocontainer.injectors.ConstructorInjector$CtorAndAdapters.getParameterArguments(ConstructorInjector.java:309)
	at org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:335)
	at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
	at org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:364)
	at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.getComponentInstance(AbstractInjectionFactory.java:56)
	at org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)
	at org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)
	at org.picocontainer.DefaultPicoContainer.instantiateComponentAsIsStartable(DefaultPicoContainer.java:1034)
	at org.picocontainer.DefaultPicoContainer.addAdapterIfStartable(DefaultPicoContainer.java:1026)
	at org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:1003)
	at org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:767)
	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:122)
	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)
	at org.sonar.scanner.bootstrap.GlobalContainer.doAfterStart(GlobalContainer.java:128)
	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:123)
	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)
	at org.sonar.scanner.bootstrap.ScannerMain.runScannerEngine(ScannerMain.java:136)
	at org.sonar.scanner.bootstrap.ScannerMain.run(ScannerMain.java:53)
	at org.sonar.scanner.bootstrap.ScannerMain.main(ScannerMain.java:39)
Caused by: java.lang.IllegalStateException: Unable to load component class org.sonar.api.batch.rule.internal.DefaultActiveRules
	at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:52)
	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:632)
	at org.picocontainer.parameters.BasicComponentParameter$1.resolveInstance(BasicComponentParameter.java:118)
	at org.picocontainer.parameters.ComponentParameter$1.resolveInstance(ComponentParameter.java:136)
	at org.picocontainer.injectors.SingleMemberInjector.getParameter(SingleMemberInjector.java:78)
	at org.picocontainer.injectors.ConstructorInjector$CtorAndAdapters.getParameterArguments(ConstructorInjector.java:309)
	at org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:335)
	at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
	at org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:364)
	at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.getComponentInstance(AbstractInjectionFactory.java:56)
	at org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)
	at org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)
	at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:699)
	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:647)
	at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:50)
	... 25 common frames omitted
Caused by: java.lang.IllegalStateException: Unable to load active rules
	at org.sonar.scanner.rule.DefaultActiveRulesLoader.load(DefaultActiveRulesLoader.java:52)
	at org.sonar.scanner.rule.ActiveRulesProvider.load(ActiveRulesProvider.java:58)
	at org.sonar.scanner.rule.ActiveRulesProvider.provide(ActiveRulesProvider.java:49)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at org.picocontainer.injectors.MethodInjector.invokeMethod(MethodInjector.java:129)
	at org.picocontainer.injectors.MethodInjector.access$000(MethodInjector.java:39)
	at org.picocontainer.injectors.MethodInjector$2.run(MethodInjector.java:113)
	at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
	at org.picocontainer.injectors.MethodInjector.decorateComponentInstance(MethodInjector.java:120)
	at org.picocontainer.injectors.CompositeInjector.decorateComponentInstance(CompositeInjector.java:58)
	at org.picocontainer.injectors.Reinjector.reinject(Reinjector.java:142)
	at org.picocontainer.injectors.ProviderAdapter.getComponentInstance(ProviderAdapter.java:96)
	at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:699)
	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:647)
	at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:50)
	... 39 common frames omitted
Caused by: com.sonarsource.scanner.engine.webapi.client.HttpException: Error 404 on https://api.sonarcloud.io/analysis/active-rules?organization=YYYY&project=XXXXXX : 
	at com.sonarsource.scanner.engine.webapi.client.BaseResponse.failIfNotSuccessful(BaseResponse.java:22)
	at org.sonar.scanner.http.DefaultScannerWsClient.failIfUnauthorized(DefaultScannerWsClient.java:82)
	at org.sonar.scanner.http.DefaultScannerWsClient.call(DefaultScannerWsClient.java:55)
	at org.sonar.scanner.rule.DefaultActiveRulesLoader.load(DefaultActiveRulesLoader.java:48)
	... 56 common frames omitted
2025-08-06T16:12:15.7239446Z 16:12:15.715 ERROR Error during SonarScanner Engine execution
2025-08-06T16:12:15.7239992Z java.lang.IllegalStateException: Unable to load component class org.sonar.scanner.report.ActiveRulesPublisher
2025-08-06T16:12:15.7240393Z 	at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:52)
2025-08-06T16:12:15.7240771Z 	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:621)
2025-08-06T16:12:15.7241142Z 	at org.picocontainer.parameters.CollectionComponentParameter.getArrayInstance(CollectionComponentParameter.java:334)
2025-08-06T16:12:15.7241514Z 	at org.picocontainer.parameters.CollectionComponentParameter.access$100(CollectionComponentParameter.java:49)
2025-08-06T16:12:15.7241909Z 	at org.picocontainer.parameters.CollectionComponentParameter$1.resolveInstance(CollectionComponentParameter.java:139)
2025-08-06T16:12:15.7242277Z 	at org.picocontainer.parameters.ComponentParameter$1.resolveInstance(ComponentParameter.java:141)
2025-08-06T16:12:15.7242626Z 	at org.picocontainer.injectors.SingleMemberInjector.getParameter(SingleMemberInjector.java:78)
2025-08-06T16:12:15.7242983Z 	at org.picocontainer.injectors.ConstructorInjector$CtorAndAdapters.getParameterArguments(ConstructorInjector.java:309)
2025-08-06T16:12:15.7243344Z 	at org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:335)
2025-08-06T16:12:15.7243698Z 	at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
2025-08-06T16:12:15.7244060Z 	at org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:364)
2025-08-06T16:12:15.7244442Z 	at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.getComponentInstance(AbstractInjectionFactory.java:56)
2025-08-06T16:12:15.7244939Z 	at org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)
2025-08-06T16:12:15.7245270Z 	at org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)
2025-08-06T16:12:15.7245608Z 	at org.picocontainer.DefaultPicoContainer.instantiateComponentAsIsStartable(DefaultPicoContainer.java:1034)
2025-08-06T16:12:15.7245969Z 	at org.picocontainer.DefaultPicoContainer.addAdapterIfStartable(DefaultPicoContainer.java:1026)
2025-08-06T16:12:15.7246395Z 	at org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:1003)
2025-08-06T16:12:15.7246725Z 	at org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:767)
2025-08-06T16:12:15.7247058Z 	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:122)
2025-08-06T16:12:15.7247394Z 	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)
2025-08-06T16:12:15.7247728Z 	at org.sonar.scanner.bootstrap.GlobalContainer.doAfterStart(GlobalContainer.java:128)
2025-08-06T16:12:15.7248061Z 	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:123)
2025-08-06T16:12:15.7248398Z 	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:109)
2025-08-06T16:12:15.7248727Z 	at org.sonar.scanner.bootstrap.ScannerMain.runScannerEngine(ScannerMain.java:136)
2025-08-06T16:12:15.7249032Z 	at org.sonar.scanner.bootstrap.ScannerMain.run(ScannerMain.java:53)
2025-08-06T16:12:15.7249343Z 	at org.sonar.scanner.bootstrap.ScannerMain.main(ScannerMain.java:39)
2025-08-06T16:12:15.7249838Z Caused by: java.lang.IllegalStateException: Unable to load component class org.sonar.api.batch.rule.internal.DefaultActiveRules
2025-08-06T16:12:15.7250232Z 	at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:52)
2025-08-06T16:12:15.7250596Z 	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:632)
2025-08-06T16:12:15.7250953Z 	at org.picocontainer.parameters.BasicComponentParameter$1.resolveInstance(BasicComponentParameter.java:118)
2025-08-06T16:12:15.7251317Z 	at org.picocontainer.parameters.ComponentParameter$1.resolveInstance(ComponentParameter.java:136)
2025-08-06T16:12:15.7251659Z 	at org.picocontainer.injectors.SingleMemberInjector.getParameter(SingleMemberInjector.java:78)
2025-08-06T16:12:15.7252024Z 	at org.picocontainer.injectors.ConstructorInjector$CtorAndAdapters.getParameterArguments(ConstructorInjector.java:309)
2025-08-06T16:12:15.7252395Z 	at org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:335)
2025-08-06T16:12:15.7252739Z 	at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
2025-08-06T16:12:15.7253104Z 	at org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:364)
2025-08-06T16:12:15.7253486Z 	at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.getComponentInstance(AbstractInjectionFactory.java:56)
2025-08-06T16:12:15.7253865Z 	at org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)
2025-08-06T16:12:15.7254187Z 	at org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)
2025-08-06T16:12:15.7254514Z 	at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:699)
2025-08-06T16:12:15.7254841Z 	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:647)
2025-08-06T16:12:15.7255191Z 	at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:50)
2025-08-06T16:12:15.7255491Z 	... 25 common frames omitted
2025-08-06T16:12:15.7255753Z Caused by: java.lang.IllegalStateException: Unable to load active rules
2025-08-06T16:12:15.7256060Z 	at org.sonar.scanner.rule.DefaultActiveRulesLoader.load(DefaultActiveRulesLoader.java:52)
2025-08-06T16:12:15.7256500Z 	at org.sonar.scanner.rule.ActiveRulesProvider.load(ActiveRulesProvider.java:58)
2025-08-06T16:12:15.7256828Z 	at org.sonar.scanner.rule.ActiveRulesProvider.provide(ActiveRulesProvider.java:49)
2025-08-06T16:12:15.7257134Z 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2025-08-06T16:12:15.7257434Z 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2025-08-06T16:12:15.7257729Z 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2025-08-06T16:12:15.7258134Z 	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
2025-08-06T16:12:15.7258434Z 	at org.picocontainer.injectors.MethodInjector.invokeMethod(MethodInjector.java:129)
2025-08-06T16:12:15.7258763Z 	at org.picocontainer.injectors.MethodInjector.access$000(MethodInjector.java:39)
2025-08-06T16:12:15.7259083Z 	at org.picocontainer.injectors.MethodInjector$2.run(MethodInjector.java:113)
2025-08-06T16:12:15.7259420Z 	at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270)
2025-08-06T16:12:15.7259968Z 	at org.picocontainer.injectors.MethodInjector.decorateComponentInstance(MethodInjector.java:120)
2025-08-06T16:12:15.7260349Z 	at org.picocontainer.injectors.CompositeInjector.decorateComponentInstance(CompositeInjector.java:58)
2025-08-06T16:12:15.7260681Z 	at org.picocontainer.injectors.Reinjector.reinject(Reinjector.java:142)
2025-08-06T16:12:15.7261012Z 	at org.picocontainer.injectors.ProviderAdapter.getComponentInstance(ProviderAdapter.java:96)
2025-08-06T16:12:15.7261359Z 	at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:699)
2025-08-06T16:12:15.7261691Z 	at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:647)
2025-08-06T16:12:15.7262035Z 	at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:50)
2025-08-06T16:12:15.7262335Z 	... 39 common frames omitted
2025-08-06T16:12:15.7262935Z Caused by: com.sonarsource.scanner.engine.webapi.client.HttpException: Error 404 on https://api.sonarcloud.io/analysis/active-rules?organization=YYYY&project=XXXXXX : 
2025-08-06T16:12:15.7263335Z 	at com.sonarsource.scanner.engine.webapi.client.BaseResponse.failIfNotSuccessful(BaseResponse.java:22)
2025-08-06T16:12:15.7263699Z 	at org.sonar.scanner.http.DefaultScannerWsClient.failIfUnauthorized(DefaultScannerWsClient.java:82)
2025-08-06T16:12:15.7264047Z 	at org.sonar.scanner.http.DefaultScannerWsClient.call(DefaultScannerWsClient.java:55)
2025-08-06T16:12:15.7264389Z 	at org.sonar.scanner.rule.DefaultActiveRulesLoader.load(DefaultActiveRulesLoader.java:48)
2025-08-06T16:12:15.7264666Z 	... 56 common frames omitted
2025-08-06T16:12:15.7264792Z 
2025-08-06T16:12:16.0462445Z 16:12:16.045 INFO  EXECUTION FAILURE
2025-08-06T16:12:16.0471566Z 16:12:16.046 INFO  Total time: 5.734s
2025-08-06T16:12:16.3825607Z ##[debug]Process exited with code 3 and signal null for tool '/home/adminpltage0fb6012we/azp/agent/_work/_tasks/SonarCloudAnalyze_ce096e50-6155-4de8-8800-4221aaeed4a1/3.3.0/sonar-scanner/bin/sonar-scanner'
2025-08-06T16:12:16.3832755Z ##[debug]STDIO streams have closed and received exit code 3 and signal null for tool '/home/adminpltage0fb6012we/azp/agent/_work/_tasks/SonarCloudAnalyze_ce096e50-6155-4de8-8800-4221aaeed4a1/3.3.0/sonar-scanner/bin/sonar-scanner'
2025-08-06T16:12:16.3835074Z ##[error][ERROR] SonarQube Cloud: Error while executing task Analyze: The process '/home/adminpltage0fb6012we/azp/agent/_work/_tasks/SonarCloudAnalyze_ce096e50-6155-4de8-8800-4221aaeed4a1/3.3.0/sonar-scanner/bin/sonar-scanner' failed with exit code 3
2025-08-06T16:12:16.3836130Z ##[debug]Processed: ##vso[task.issue type=error;source=TaskInternal;][ERROR] SonarQube Cloud: Error while executing task Analyze: The process '/home/adminpltage0fb6012we/azp/agent/_work/_tasks/SonarCloudAnalyze_ce096e50-6155-4de8-8800-4221aaeed4a1/3.3.0/sonar-scanner/bin/sonar-scanner' failed with exit code 3
2025-08-06T16:12:16.3837057Z ##[debug]task result: Failed
2025-08-06T16:12:16.3837823Z ##[error]The process '/home/adminpltage0fb6012we/azp/agent/_work/_tasks/SonarCloudAnalyze_ce096e50-6155-4de8-8800-4221aaeed4a1/3.3.0/sonar-scanner/bin/sonar-scanner' failed with exit code 3
2025-08-06T16:12:16.3838444Z ##[debug]Processed: ##vso[task.issue type=error;source=TaskInternal;]The process '/home/adminpltage0fb6012we/azp/agent/_work/_tasks/SonarCloudAnalyze_ce096e50-6155-4de8-8800-4221aaeed4a1/3.3.0/sonar-scanner/bin/sonar-scanner' failed with exit code 3
2025-08-06T16:12:16.3839986Z ##[debug]Processed: ##vso[task.complete result=Failed;]The process '/home/adminpltage0fb6012we/azp/agent/_work/_tasks/SonarCloudAnalyze_ce096e50-6155-4de8-8800-4221aaeed4a1/3.3.0/sonar-scanner/bin/sonar-scanner' failed with exit code 3
2025-08-06T16:12:16.3883020Z ##[section]Finishing: [verify] Run sonarAny help will be appreciated! Thank you!

Hey all.

I’m not sure this is related to the other ongoing incident, and we don’t see a higher rate of 404s on this endpoint as usual. In any case, I’ve flagged it for attention just in case.

If I call the URL directly from the browser I get the following. This is happening when we run the command dotnet-sonarscanner end /d:"sonar.token=xxxx" not sure what changed, it used to work before.

1 Like

I get the same response when trying to access it via browser

1 Like

A post was split to a new topic: Analysis fails after automatic transition to Teams plan

Hello!

Do you have any findings or outcomes from your investigation into why this may be happening? Thanks

Hi,

This has been flagged for the experts. Hopefully they’ll be along soon.

 
Ann

Hello,

Thank you for posting!

In order to help us debug the issue, can you please share the following things:

  • First, is the issue still happening?
  • Secondly, have you retried running an analysis with a newly created token?
  • It could really help if you could also share a screenshot of your user’s permissions on the analyzed project.

Thanks,
Aleksandra