Azure Devops Git Pull request not triggering scan

  • Azure DevOps
  • CI, Azure DevOps
  • Scanner command used when applicable (private details masked)
  • C# DotNet
  • When a PR is created and a CI build runs, the pipeline errors, cannot find PR. When I check sonarcloud.io I cannot the the PR listed. The Azure Devops PAT token expired 1st March and was updated today. The last successful PR scan was 1st March, the project name is acp / humanresources-api

16:50:08.077 DEBUG: Found manual configuration of branch/PR analysis. Skipping automatic configuration.

16:50:08.198 DEBUG: GET 404 https://sonarcloud.io/api/alm_integration/show_pullrequest?project=acp-humanresources-api&pullrequestKey=1162 | time=120ms

16:50:08.207 INFO: ------------------------------------------------------------------------

16:50:08.207 INFO: EXECUTION FAILURE

16:50:08.208 INFO: ------------------------------------------------------------------------

16:50:08.209 INFO: Total time: 7.951s

16:50:08.259 INFO: Final Memory: 20M/70M

16:50:08.259 INFO: ------------------------------------------------------------------------

##[error]16:50:08.259 ERROR: Error during SonarScanner execution
java.lang.IllegalStateException: Unable to load component class org.sonar.scanner.scan.filesystem.InputComponentStore
##[debug]Processed: ##vso[task.logissue type=error;]16:50:08.259 ERROR: Error during SonarScanner execution%0Ajava.lang.IllegalStateException: Unable to load component class org.sonar.scanner.scan.filesystem.InputComponentStore

16:50:08.259 ERROR: Error during SonarScanner execution
java.lang.IllegalStateException: Unable to load component class org.sonar.scanner.scan.filesystem.InputComponentStore
##[error]at org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer.getComponent(ComponentContainer.java:52)

  • Steps to reproduce
  • Potential workaround

Hi,

Welcome to the community!

Have you tried again since the PAT was renewed? Because these 404 errors can represent permissions problems.

 
Ann