Error in SonarCloud scan for iOS at PR-Decoration: Could not find the pullrequest with key

  • ALM used: Azure DevOps

  • CI system used: Azure DevOps

  • Scanner command used:
    - task: SonarCloudAnalyze@3 displayName: 'Run SonarCloud Analysis' condition: succeededOrFailed()

  • Languages of the repository: Swift and Swift UI

  • Only if the SonarCloud project is public:

  • Error observed:

    ##[error]10:32:13.445 ERROR Could not find the pullrequest with key ‘*****’
    
    10:32:13.445 ERROR Could not find the pullrequest with key ‘*****’
    
    10:32:14.250 INFO  EXECUTION FAILURE
    
    10:32:14.254 INFO  Total time: 22.504s
    
    ##[error][ERROR] SonarQube Cloud: Error while executing task Analyze: The process ‘/Users/runner/work/_tasks/SonarCloudAnalyze_ce096e50-6155-4de8-8800-4221aaeed4a1/3.4.1/sonar-scanner/bin/sonar-scanner’ failed with exit code 3
    
    ##[error]The process ‘/Users/runner/work/_tasks/SonarCloudAnalyze_ce096e50-6155-4de8-8800-4221aaeed4a1/3.4.1/sonar-scanner/bin/sonar-scanner’ failed with exit code 3
    

I already have a different SonarCloud Scan with PR Decoration that is working fine.
It scans a .net project on a ms hosted linux build agent
Both setups have dedicated service connections to Azure DevOps which are assigned to their respective sonarcloud projects in sonarcloud.
They both use the same Azure AD User account which was specifically set up for PR Decoration and also has the proper rights to do so. It also has set a PAT in Azure that is used to authenticate in Azure Git for the PR Decoration.
So now i sit there and wonder why it works on one SonarCloud Project and not on the other one.
I checked the PAT in the SonarCloud Project at least a dozen times and i cannot find anything wrong in the setup, but maybe i have missed something.

Best regards,
Niko

Hi,

Could we have the full analysis log, redacted as necessary, starting from the analysis command itself?

 
Thx,
Ann

Hi Ann,
Here are the logs from Azure DevOps run:

2025-11-25T12:46:29.2031280Z ##[debug]Evaluating condition for step: 'Run SonarCloud Analysis'

2025-11-25T12:46:29.2034640Z ##[debug]Evaluating: succeededOrFailed()

2025-11-25T12:46:29.2035620Z ##[debug]Evaluating succeededOrFailed:

2025-11-25T12:46:29.2037610Z ##[debug]=> True

2025-11-25T12:46:29.2038620Z ##[debug]Result: True

2025-11-25T12:46:29.2040820Z ##[section]Starting: Run SonarCloud Analysis

2025-11-25T12:46:29.2074800Z ==============================================================================

2025-11-25T12:46:29.2075160Z Task         : Run Code Analysis

2025-11-25T12:46:29.2075390Z Description  : Run scanner and upload the results to SonarQube Cloud.

2025-11-25T12:46:29.2075640Z Version      : 3.4.3

2025-11-25T12:46:29.2075860Z Author       : sonarsource

2025-11-25T12:46:29.2076030Z Help         : This task is not needed for Maven and Gradle projects since the scanner should be run as part of the build.



[More Information](
)

2025-11-25T12:46:29.2076810Z ==============================================================================

2025-11-25T12:46:29.3149630Z ##[debug]Using node path: /Users/runner/actions-runner/cached/externals/node20_1/bin/node

2025-11-25T12:46:29.5195420Z ##[debug]system.debug=true

2025-11-25T12:46:29.5432190Z ##[debug]DistributedTask.Tasks.Node.SkipDebugLogsWhenDebugModeOff=True

2025-11-25T12:46:29.5521160Z ##[debug]agent.TempDirectory=/Users/runner/work/_temp

2025-11-25T12:46:29.5578180Z ##[debug]loading inputs and endpoints

2025-11-25T12:46:29.5636300Z ##[debug]loading INPUT_JDKVERSION

2025-11-25T12:46:29.5680720Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION

2025-11-25T12:46:29.5706840Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION

2025-11-25T12:46:29.5736710Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN

2025-11-25T12:46:29.5767530Z ##[debug]loading SECRET_SONAR_ENDPOINT

2025-11-25T12:46:29.5782880Z ##[debug]loading SECRET_KEYCHAINPASSWORD

2025-11-25T12:46:29.5813730Z ##[debug]loading SECRET_CERT-PW

2025-11-25T12:46:29.6817700Z ##[debug]loading SECRET_SENTRY_AUTH_TOKEN

2025-11-25T12:46:29.6832140Z ##[debug]loading SECRET_SYSTEM_ACCESSTOKEN

2025-11-25T12:46:29.7839400Z ##[debug]loaded 9

2025-11-25T12:46:29.8846990Z ##[debug]Agent.ProxyUrl=undefined

2025-11-25T12:46:29.8901680Z ##[debug]Agent.CAInfo=undefined

2025-11-25T12:46:29.8905350Z ##[debug]Agent.ClientCert=undefined

2025-11-25T12:46:29.8934410Z ##[debug]Agent.SkipCertValidation=undefined

2025-11-25T12:46:29.8937620Z ##[debug]Agent.ProxyUrl=undefined

2025-11-25T12:46:29.8940930Z ##[debug]Agent.CAInfo=undefined

2025-11-25T12:46:29.8944070Z ##[debug]Agent.ClientCert=undefined

2025-11-25T12:46:29.8948060Z ##[debug]check path : /Users/runner/work/_tasks/SonarCloudAnalyze_ce096e50-6155-4de8-8800-4221aaeed4a1/3.4.3/lib.json

2025-11-25T12:46:29.8952440Z ##[debug]adding resource file: /Users/runner/work/_tasks/SonarCloudAnalyze_ce096e50-6155-4de8-8800-4221aaeed4a1/3.4.3/lib.json

2025-11-25T12:46:29.8983530Z ##[debug]system.culture=en-US

2025-11-25T12:46:29.8989710Z ##[debug]jdkversion=JAVA_HOME_17_X64

2025-11-25T12:46:29.9116590Z ##[debug]SONAR_SCANNER_MODE=cli

2025-11-25T12:46:29.9601180Z ##[debug]SONAR_SERVER_VERSION=8.0.0

2025-11-25T12:46:29.9714290Z ##[debug]JAVA_HOME_17_X64=/Users/runner/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.16-8/x64/Contents/Home/

2025-11-25T12:46:29.9731320Z ##[debug][DEBUG] SonarQube Cloud: JAVA_HOME_17_X64 was found with value /Users/runner/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.16-8/x64/Contents/Home/, will switch to it for Sonar scanner...

2025-11-25T12:46:29.9736270Z ##[debug]JAVA_HOME=/Users/runner/hostedtoolcache/Java_Temurin-Hotspot_jdk/21.0.8-9.0/x64/Contents/Home/

2025-11-25T12:46:29.9739120Z ##[debug]set JAVA_HOME=/Users/runner/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.16-8/x64/Contents/Home/

2025-11-25T12:46:29.9747530Z ##[debug]Processed: ##vso[task.setvariable variable=JAVA_HOME;isOutput=false;issecret=false;]/Users/runner/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.16-8/x64/Contents/Home/

2025-11-25T12:46:29.9751700Z ##[debug]SONAR_SCANNER_MODE=cli

2025-11-25T12:46:29.9759750Z ##[debug]SONARQUBE_SCANNER_PARAMS={"sonar.host.url":"https://sonarcloud.io","sonar.token":***,"sonar.organization":"companyName","sonar.projectKey":"companyName_company_.NET_AppName_iOS","sonar.projectName":"AppName iOS","sonar.projectVersion":"1.0","sonar.sources":"iosApp/iosApp","sonar.pullrequest.key":"63137","sonar.pullrequest.base":"development","sonar.pullrequest.branch":"SonarCloud/na-PBI-446625-SonarCloud-for-Mobile-LY-iOS","sonar.pullrequest.provider":"vsts","sonar.pullrequest.vsts.instanceUrl":"https://dev.azure.com/companyName/","sonar.pullrequest.vsts.project":"company .NET","sonar.pullrequest.vsts.repository":"AppName.iOS","sonar.scanner.metadataFilePath":"/Users/runner/work/_temp/sonar/828569/63678848-6b1f-84c3-bbe2-d4932383ae7d/report-task.txt","sonar.language":"swift","sonar.swift.coverage.reportPath":"coverage.xml"}

2025-11-25T12:46:29.9771430Z ##[debug]SONAR_SCANNER_LOCATION=undefined

2025-11-25T12:46:29.9779410Z ##[debug]Absolute path for pathSegments: /Users/runner/work/_tasks/SonarCloudAnalyze_ce096e50-6155-4de8-8800-4221aaeed4a1/3.4.3,sonar-scanner,bin,sonar-scanner = /Users/runner/work/_tasks/SonarCloudAnalyze_ce096e50-6155-4de8-8800-4221aaeed4a1/3.4.3/sonar-scanner/bin/sonar-scanner

2025-11-25T12:46:29.9782190Z ##[debug][DEBUG] SonarQube Cloud: Using scanner at /Users/runner/work/_tasks/SonarCloudAnalyze_ce096e50-6155-4de8-8800-4221aaeed4a1/3.4.3/sonar-scanner/bin/sonar-scanner

2025-11-25T12:46:29.9787580Z ##[debug]which '/Users/runner/work/_tasks/SonarCloudAnalyze_ce096e50-6155-4de8-8800-4221aaeed4a1/3.4.3/sonar-scanner/bin/sonar-scanner'

2025-11-25T12:46:29.9790780Z ##[debug]found: '/Users/runner/work/_tasks/SonarCloudAnalyze_ce096e50-6155-4de8-8800-4221aaeed4a1/3.4.3/sonar-scanner/bin/sonar-scanner'

2025-11-25T12:46:29.9801320Z ##[debug]system.debug=true

2025-11-25T12:46:29.9807190Z ##[debug]/Users/runner/work/_tasks/SonarCloudAnalyze_ce096e50-6155-4de8-8800-4221aaeed4a1/3.4.3/sonar-scanner/bin/sonar-scanner arg: -X

2025-11-25T12:46:29.9810500Z ##[debug]exec tool: /Users/runner/work/_tasks/SonarCloudAnalyze_ce096e50-6155-4de8-8800-4221aaeed4a1/3.4.3/sonar-scanner/bin/sonar-scanner

2025-11-25T12:46:29.9818890Z ##[debug]arguments:

2025-11-25T12:46:29.9821310Z ##[debug]   -X

2025-11-25T12:46:29.9825510Z [command]/Users/runner/work/_tasks/SonarCloudAnalyze_ce096e50-6155-4de8-8800-4221aaeed4a1/3.4.3/sonar-scanner/bin/sonar-scanner -X

2025-11-25T12:46:31.5430080Z 12:46:31.512 INFO  Scanner configuration file: /Users/runner/work/_tasks/SonarCloudAnalyze_ce096e50-6155-4de8-8800-4221aaeed4a1/3.4.3/sonar-scanner/conf/sonar-scanner.properties

2025-11-25T12:46:31.5581640Z 12:46:31.528 INFO  Project root configuration file: /Users/runner/work/1/s/sonar-project.properties

2025-11-25T12:46:31.5863220Z 12:46:31.582 INFO  SonarScanner CLI 7.2.0.5079

2025-11-25T12:46:31.6081740Z 12:46:31.584 DEBUG Java 17.0.16 Eclipse Adoptium (64-bit)

2025-11-25T12:46:31.6116260Z 12:46:31.585 INFO  Mac OS X 15.7.1 x86_64

2025-11-25T12:46:31.6159030Z 12:46:31.614 DEBUG Scanner max available memory: 3 GB

2025-11-25T12:46:31.7757640Z 12:46:31.772 DEBUG uname -m returned 'x86_64'

2025-11-25T12:46:31.8133100Z 12:46:31.805 DEBUG Using JVM default truststore: /Users/runner/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.16-8/x64/Contents/Home/lib/security/cacerts

2025-11-25T12:46:31.8202160Z 12:46:31.818 DEBUG Download cache base directory: /Users/runner/.sonar/cache

2025-11-25T12:46:31.8235700Z 12:46:31.820 DEBUG Create: /Users/runner/.sonar/cache

2025-11-25T12:46:31.8350380Z 12:46:31.831 DEBUG Create: /Users/runner/.sonar/cache/_tmp

2025-11-25T12:46:32.1596670Z 12:46:32.158 DEBUG Loading OS trusted SSL certificates...

2025-11-25T12:46:32.1637420Z 12:46:32.159 DEBUG This operation might be slow or even get stuck. You can skip it by passing the scanner property 'sonar.scanner.skipSystemTruststore=true'

2025-11-25T12:46:32.3247070Z 12:46:32.318 DEBUG Successfully loaded KeyStore of the type [KeychainStore] having [0] entries

2025-11-25T12:46:32.8493840Z 12:46:32.842 DEBUG Loaded [162] system trusted certificates

2025-11-25T12:46:33.4240160Z 12:46:33.407 DEBUG Loaded truststore from '/Users/runner/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.16-8/x64/Contents/Home/lib/security/cacerts' containing 143 certificates

2025-11-25T12:46:33.5847080Z ##[debug]Agent environment resources - Disk: / Available 126094.31 MB out of 332471.96 MB, Memory: Used 9586.00 MB out of 14331.00 MB, CPU: Usage 100.00%

2025-11-25T12:46:34.0690440Z 12:46:34.064 INFO  Communicating with SonarQube Cloud

2025-11-25T12:46:34.0724580Z 12:46:34.067 INFO  JRE provisioning: os[macos], arch[x86_64]

2025-11-25T12:46:34.1709440Z 12:46:34.167 DEBUG --> GET https://api.sonarcloud.io/analysis/jres?os=macos&arch=x86_64

2025-11-25T12:46:35.2117170Z 12:46:35.210 DEBUG <-- 200 https://api.sonarcloud.io/analysis/jres?os=macos&arch=x86_64 (1043ms, 479-byte body)

2025-11-25T12:46:35.2445870Z 12:46:35.243 DEBUG Download https://scanner.sonarcloud.io/jres/OpenJDK17U-jre_x64_mac_hotspot_17.0.11_9.tar.gz to /Users/runner/.sonar/cache/_tmp/OpenJDK17U-jre_x64_mac_hotspot_17.0.11_9.tar2382948855797893867gz

2025-11-25T12:46:35.2579680Z 12:46:35.245 DEBUG --> GET https://scanner.sonarcloud.io/jres/OpenJDK17U-jre_x64_mac_hotspot_17.0.11_9.tar.gz

2025-11-25T12:46:35.5510530Z 12:46:35.550 DEBUG <-- 200 https://scanner.sonarcloud.io/jres/OpenJDK17U-jre_x64_mac_hotspot_17.0.11_9.tar.gz (304ms, 37809734-byte body)

2025-11-25T12:46:37.5844840Z 12:46:37.583 DEBUG Create: /Users/runner/.sonar/cache/232c40bebd6ddbb673862e86e7e6e09bcfe399e5a53c8a6b77bf1ceab8edefd0

2025-11-25T12:46:39.5125830Z 12:46:39.509 DEBUG Executing: /Users/runner/.sonar/cache/232c40bebd6ddbb673862e86e7e6e09bcfe399e5a53c8a6b77bf1ceab8edefd0/OpenJDK17U-jre_x64_mac_hotspot_17.0.11_9.tar.gz_extracted/jdk-17.0.11+9-jre/Contents/Home/bin/java --version

2025-11-25T12:46:40.0512620Z 12:46:39.996 DEBUG openjdk 17.0.11 2024-04-16

2025-11-25T12:46:40.2527730Z 12:46:39.996 DEBUG OpenJDK Runtime Environment Temurin-17.0.11+9 (build 17.0.11+9)

2025-11-25T12:46:40.3528920Z 12:46:39.996 DEBUG OpenJDK 64-Bit Server VM Temurin-17.0.11+9 (build 17.0.11+9, mixed mode)

2025-11-25T12:46:40.4531900Z 12:46:40.012 DEBUG --> GET https://api.sonarcloud.io/analysis/engine

2025-11-25T12:46:40.5535130Z 12:46:40.324 DEBUG <-- 200 https://api.sonarcloud.io/analysis/engine (312ms, 300-byte body)

2025-11-25T12:46:40.6066190Z 12:46:40.327 DEBUG Download https://scanner.sonarcloud.io/engines/sonarcloud-scanner-engine-12.9.0.1243-all.jar to /Users/runner/.sonar/cache/_tmp/sonarcloud-scanner-engine-12.9.0.1243-all3520517576133302537jar

2025-11-25T12:46:40.7070320Z 12:46:40.328 DEBUG --> GET https://scanner.sonarcloud.io/engines/sonarcloud-scanner-engine-12.9.0.1243-all.jar

2025-11-25T12:46:40.8075400Z 12:46:40.399 DEBUG <-- 200 https://scanner.sonarcloud.io/engines/sonarcloud-scanner-engine-12.9.0.1243-all.jar (70ms, 38220799-byte body)

2025-11-25T12:46:42.2008820Z 12:46:42.171 DEBUG Create: /Users/runner/.sonar/cache/57e3db253d03d633e07e01f1474cce196081b805c9a4292f0efe099f65db6161

2025-11-25T12:46:42.3013200Z 12:46:42.178 DEBUG Work directory: /Users/runner/work/1/s/.scannerwork

2025-11-25T12:46:42.4016240Z 12:46:42.193 DEBUG Executing: /Users/runner/.sonar/cache/232c40bebd6ddbb673862e86e7e6e09bcfe399e5a53c8a6b77bf1ceab8edefd0/OpenJDK17U-jre_x64_mac_hotspot_17.0.11_9.tar.gz_extracted/jdk-17.0.11+9-jre/Contents/Home/bin/java -Dorg.bouncycastle.pkcs12.ignore_useless_passwd=true -jar /Users/runner/.sonar/cache/57e3db253d03d633e07e01f1474cce196081b805c9a4292f0efe099f65db6161/sonarcloud-scanner-engine-12.9.0.1243-all.jar

2025-11-25T12:46:43.3039600Z ##[debug]Agent environment resources - Disk: / Available 126074.65 MB out of 332471.96 MB, Memory: Used 9693.00 MB out of 14333.00 MB, CPU: Usage 100.00%

2025-11-25T12:46:43.9819180Z 12:46:43.974 INFO  Starting SonarScanner Engine...

2025-11-25T12:46:44.0114680Z 12:46:43.996 INFO  Java 17.0.11 Eclipse Adoptium (64-bit)

2025-11-25T12:46:44.3465700Z 12:46:44.329 DEBUG JVM max available memory: 3 GB

2025-11-25T12:46:45.6773730Z 12:46:45.674 DEBUG Sonar User Home: /Users/runner/.sonar

2025-11-25T12:46:45.6902890Z 12:46:45.687 DEBUG Initialize DefaultScannerWsClient

2025-11-25T12:46:46.1808110Z 12:46:46.148 DEBUG Loading OS trusted SSL certificates...

2025-11-25T12:46:46.2212470Z 12:46:46.152 DEBUG This operation might be slow or even get stuck. You can skip it by passing the scanner property 'sonar.scanner.skipSystemTruststore=true'

2025-11-25T12:46:46.2715990Z 12:46:46.270 DEBUG Successfully loaded KeyStore of the type [KeychainStore] having [0] entries

2025-11-25T12:46:47.1097290Z 12:46:47.106 DEBUG Loaded [162] system trusted certificates

2025-11-25T12:46:47.9743770Z 12:46:47.969 DEBUG Loaded truststore from '/Users/runner/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.16-8/x64/Contents/Home/lib/security/cacerts' containing 143 certificates

2025-11-25T12:46:48.7029680Z 12:46:48.644 INFO  Load global settings

2025-11-25T12:46:48.7415120Z 12:46:48.667 DEBUG --> GET https://sonarcloud.io/api/settings/values.protobuf

2025-11-25T12:46:49.5526280Z 12:46:49.551 DEBUG <-- 200 https://sonarcloud.io/api/settings/values.protobuf (883ms, unknown-length body)

2025-11-25T12:46:49.5937660Z 12:46:49.592 INFO  Load global settings (done) | time=948ms

2025-11-25T12:46:49.6905240Z 12:46:49.689 INFO  Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu

2025-11-25T12:46:49.6983890Z 12:46:49.697 DEBUG Initialize DownloadPluginsScannerWsClient

2025-11-25T12:46:49.7054190Z 12:46:49.704 DEBUG Loading OS trusted SSL certificates...

2025-11-25T12:46:49.7081540Z 12:46:49.705 DEBUG This operation might be slow or even get stuck. You can skip it by passing the scanner property 'sonar.scanner.skipSystemTruststore=true'

2025-11-25T12:46:49.7271110Z 12:46:49.726 DEBUG Successfully loaded KeyStore of the type [KeychainStore] having [0] entries

2025-11-25T12:46:49.9585760Z 12:46:49.957 DEBUG Loaded [162] system trusted certificates

2025-11-25T12:46:50.0076240Z 12:46:50.006 DEBUG Loaded truststore from '/Users/runner/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.16-8/x64/Contents/Home/lib/security/cacerts' containing 143 certificates

2025-11-25T12:46:50.0243370Z 12:46:50.022 DEBUG Create : /Users/runner/.sonar/_tmp

2025-11-25T12:46:50.0262120Z 12:46:50.022 DEBUG User cache: /Users/runner/.sonar/cache

2025-11-25T12:46:50.0380850Z 12:46:50.034 INFO  Loading required plugins

2025-11-25T12:46:50.0397100Z 12:46:50.035 INFO  Load plugins index

2025-11-25T12:46:50.0399650Z 12:46:50.035 DEBUG --> GET https://sonarcloud.io/api/plugins/installed

2025-11-25T12:46:50.1502780Z 12:46:50.149 DEBUG <-- 200 https://sonarcloud.io/api/plugins/installed (113ms, unknown-length body)

2025-11-25T12:46:50.1626600Z 12:46:50.161 INFO  Load plugins index (done) | time=127ms

2025-11-25T12:46:50.1630630Z 12:46:50.162 INFO  Load/download plugins

2025-11-25T12:46:50.1703760Z 12:46:50.167 DEBUG Download plugin 'iac' to '/Users/runner/.sonar/_tmp/fileCache6630771395448806574.tmp'

2025-11-25T12:46:50.1721320Z 12:46:50.169 DEBUG --> GET https://scanner.sonarcloud.io/plugins/iac/versions/4cf84edf18bfd85ee8deb74a7eac49db.jar

2025-11-25T12:46:50.4825510Z 12:46:50.481 DEBUG <-- 200 https://scanner.sonarcloud.io/plugins/iac/versions/4cf84edf18bfd85ee8deb74a7eac49db.jar (312ms, 21565551-byte body)

2025-11-25T12:46:51.2209470Z ##[debug]Agent environment resources - Disk: / Available 125905.53 MB out of 332471.96 MB, Memory: Used 9648.00 MB out of 14331.00 MB, CPU: Usage 82.23%

2025-11-25T12:46:52.2377930Z 12:46:52.236 DEBUG Download plugin 'iacenterprise' to '/Users/runner/.sonar/_tmp/fileCache12395981455996833728.tmp'

2025-11-25T12:46:52.2384660Z 12:46:52.236 DEBUG --> GET https://scanner.sonarcloud.io/plugins/iacenterprise/versions/7254152a141996b56639dc6115c567f9.jar

2025-11-25T12:46:52.3363630Z 12:46:52.324 DEBUG <-- 200 https://scanner.sonarcloud.io/plugins/iacenterprise/versions/7254152a141996b56639dc6115c567f9.jar (86ms, 2789734-byte body)

2025-11-25T12:46:52.4320220Z 12:46:52.428 DEBUG Download plugin 'jacoco' to '/Users/runner/.sonar/_tmp/fileCache16954610620584689199.tmp'

2025-11-25T12:46:52.4323780Z 12:46:52.429 DEBUG --> GET https://scanner.sonarcloud.io/plugins/jacoco/versions/04bba36a445c3713a632aa358be2f99c.jar

2025-11-25T12:46:52.5075480Z 12:46:52.506 DEBUG <-- 200 https://scanner.sonarcloud.io/plugins/jacoco/versions/04bba36a445c3713a632aa358be2f99c.jar (75ms, 23258-byte body)

2025-11-25T12:46:52.5160700Z 12:46:52.512 DEBUG Download plugin 'textenterprise' to '/Users/runner/.sonar/_tmp/fileCache18395489622210897781.tmp'

2025-11-25T12:46:52.5163470Z 12:46:52.513 DEBUG --> GET https://scanner.sonarcloud.io/plugins/textenterprise/versions/2c73908b1fae5cadd0732e8af8b457b3.jar

2025-11-25T12:46:52.5900400Z 12:46:52.589 DEBUG <-- 200 https://scanner.sonarcloud.io/plugins/textenterprise/versions/2c73908b1fae5cadd0732e8af8b457b3.jar (76ms, 8043934-byte body)

2025-11-25T12:46:52.8867830Z 12:46:52.881 INFO  Load/download plugins (done) | time=2720ms

2025-11-25T12:46:52.8890240Z 12:46:52.882 DEBUG Plugins not loaded because they are optional: [abap, sonarapex, architecture, architecturejavascriptfrontend, architecturepythonfrontend, architecturecsharpfrontend, architecturejavafrontend, csharpenterprise, cpp, cobol, dart, dbd, dbdjavafrontendrewrite, dbdpythonfrontend, dre, flex, go, web, jcl, javasymbolicexecution, java, javascript, kotlin, php, pli, plsql, python, rpg, ruby, rust, sonarscala, jasmin, swift, tsql, vbnetenterprise, vb, security, securitycsharpfrontend, securitygofrontend, securityjavafrontend, securitykotlinfrontend, securityphpfrontend, securitypythonfrontend, securityvbnetfrontend, xml]

2025-11-25T12:46:52.9837860Z 12:46:52.979 DEBUG Plugins loaded:

2025-11-25T12:46:52.9839710Z 12:46:52.979 DEBUG   * Text Code Quality and Security 2.33.0.9826 (textenterprise)

2025-11-25T12:46:52.9842550Z 12:46:52.979 DEBUG   * JaCoCo 1.3.0.1538 (jacoco)

2025-11-25T12:46:52.9843970Z 12:46:52.980 DEBUG   * IaC Code Quality and Security 1.53.0.16993 (iacenterprise)

2025-11-25T12:46:52.9845670Z 12:46:52.980 DEBUG   * IaC Code Quality and Security 1.53.0.16993 (iac)

2025-11-25T12:46:52.9847670Z 12:46:52.980 DEBUG --> GET https://sonarcloud.io/api/server/version

2025-11-25T12:46:53.1195460Z 12:46:53.118 DEBUG <-- 200 https://sonarcloud.io/api/server/version (137ms, 11-byte body)

2025-11-25T12:46:53.1234820Z 12:46:53.122 DEBUG Updated analysis started with a difference of 105 milliseconds

2025-11-25T12:46:53.1485720Z 12:46:53.135 DEBUG Started at Tue Nov 25 12:46:49 UTC 2025

2025-11-25T12:46:53.2239390Z 12:46:53.206 INFO  Loaded core extensions: a3s, sca, architecture

2025-11-25T12:46:53.2257620Z 12:46:53.215 DEBUG Installed scanner extension: a3s

2025-11-25T12:46:53.2293880Z 12:46:53.219 DEBUG Installed scanner extension: sca

2025-11-25T12:46:53.2536090Z 12:46:53.221 DEBUG Installed scanner extension: architecture

2025-11-25T12:46:53.4905810Z 12:46:53.420 DEBUG register org.eclipse.jgit.util.FS$FileStoreAttributes$$Lambda$413/0x0000000800432c78@697a34af with shutdown hook

2025-11-25T12:46:53.9314860Z 12:46:53.910 INFO  Process project properties

2025-11-25T12:46:53.9786320Z 12:46:53.924 DEBUG Process project properties (done) | time=14ms

2025-11-25T12:46:53.9788370Z 12:46:53.936 INFO  Project key: companyName_company_.NET_AppName_iOS

2025-11-25T12:46:53.9790800Z 12:46:53.936 INFO  Base dir: /Users/runner/work/1/s

2025-11-25T12:46:53.9793140Z 12:46:53.937 INFO  Working dir: /Users/runner/work/1/s/.scannerwork

2025-11-25T12:46:53.9796480Z 12:46:53.937 DEBUG Project global encoding: UTF-8, default locale: en_US

2025-11-25T12:46:53.9799260Z 12:46:53.966 INFO  Found an active CI vendor: 'Azure DevOps'

2025-11-25T12:46:53.9801630Z 12:46:53.973 INFO  Load project branches

2025-11-25T12:46:53.9803960Z 12:46:53.976 DEBUG --> GET https://sonarcloud.io/api/project_branches/list?project=companyName_company_.NET_AppName_iOS

2025-11-25T12:46:54.3307860Z 12:46:54.329 DEBUG <-- 200 https://sonarcloud.io/api/project_branches/list?project=companyName_company_.NET_AppName_iOS (351ms, unknown-length body)

2025-11-25T12:46:54.5041240Z 12:46:54.439 INFO  Load project branches (done) | time=465ms

2025-11-25T12:46:54.6048230Z 12:46:54.483 INFO  Load project settings for component key: 'companyName_company_.NET_AppName_iOS'

2025-11-25T12:46:54.6227460Z 12:46:54.484 DEBUG --> GET https://sonarcloud.io/api/settings/values.protobuf?component=companyName_company_.NET_AppName_iOS

2025-11-25T12:46:54.8852210Z 12:46:54.877 DEBUG <-- 200 https://sonarcloud.io/api/settings/values.protobuf?component=companyName_company_.NET_AppName_iOS (392ms, unknown-length body)

2025-11-25T12:46:54.8959620Z 12:46:54.883 INFO  Load project settings for component key: 'companyName_company_.NET_AppName_iOS' (done) | time=397ms

2025-11-25T12:46:54.9144140Z 12:46:54.905 DEBUG Initialize DomainApiWsClient

2025-11-25T12:46:54.9344540Z 12:46:54.905 DEBUG Loading OS trusted SSL certificates...

2025-11-25T12:46:54.9392940Z 12:46:54.906 DEBUG This operation might be slow or even get stuck. You can skip it by passing the scanner property 'sonar.scanner.skipSystemTruststore=true'

2025-11-25T12:46:54.9399560Z 12:46:54.933 DEBUG Successfully loaded KeyStore of the type [KeychainStore] having [0] entries

2025-11-25T12:46:55.2416420Z 12:46:55.240 DEBUG Loaded [162] system trusted certificates

2025-11-25T12:46:55.2852810Z 12:46:55.273 DEBUG Loaded truststore from '/Users/runner/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.16-8/x64/Contents/Home/lib/security/cacerts' containing 143 certificates

2025-11-25T12:46:55.3182920Z 12:46:55.307 DEBUG Request URL: https://api.sonarcloud.io/feature-flags-provisioning/feature-flags

2025-11-25T12:46:55.3202350Z 12:46:55.310 DEBUG --> GET https://api.sonarcloud.io/feature-flags-provisioning/feature-flags?organizationKey=companyName

2025-11-25T12:46:55.9219660Z 12:46:55.919 DEBUG <-- 200 https://api.sonarcloud.io/feature-flags-provisioning/feature-flags?organizationKey=companyName (606ms, 328-byte body)

2025-11-25T12:46:55.9688930Z 12:46:55.949 DEBUG Response: FeatureFlagResponse[featureFlags={design-architecture-squad-enable-advanced=false, security-insights-enable-asast-csharp=false, security-insights-enable-asast-vbnet=false, cloud-security-enable-generic-yaml-and-json-analyzer=false, design-architecture-squad-enable-basic=false, analysis-processing-a3s-ci-context-collector-enabled=false}]

2025-11-25T12:46:55.9703760Z 12:46:55.952 INFO  Check ALM binding of project 'companyName_company_.NET_AppName_iOS'

2025-11-25T12:46:55.9729810Z 12:46:55.953 DEBUG --> GET https://sonarcloud.io/api/alm_integration/is_project_bound?project=companyName_company_.NET_AppName_iOS

2025-11-25T12:46:56.1488150Z 12:46:56.145 DEBUG <-- 200 https://sonarcloud.io/api/alm_integration/is_project_bound?project=companyName_company_.NET_AppName_iOS (192ms, unknown-length body)

2025-11-25T12:46:56.1540400Z 12:46:56.147 INFO  Detected project binding: BOUND

2025-11-25T12:46:56.1542940Z 12:46:56.147 INFO  Check ALM binding of project 'companyName_company_.NET_AppName_iOS' (done) | time=195ms

2025-11-25T12:46:56.1544830Z 12:46:56.151 INFO  Load project pull requests

2025-11-25T12:46:56.1546570Z 12:46:56.153 DEBUG --> GET https://sonarcloud.io/api/project_pull_requests/list?project=companyName_company_.NET_AppName_iOS

2025-11-25T12:46:56.3486860Z 12:46:56.345 DEBUG <-- 200 https://sonarcloud.io/api/project_pull_requests/list?project=companyName_company_.NET_AppName_iOS (191ms, unknown-length body)

2025-11-25T12:46:56.3822110Z 12:46:56.349 INFO  Load project pull requests (done) | time=198ms

2025-11-25T12:46:56.3824230Z 12:46:56.358 INFO  Load branch configuration

2025-11-25T12:46:56.3826650Z 12:46:56.359 DEBUG Found manual configuration of branch/PR analysis. Skipping automatic configuration.

2025-11-25T12:46:56.3829420Z 12:46:56.359 DEBUG --> GET https://sonarcloud.io/api/alm_integration/show_pullrequest?project=companyName_company_.NET_AppName_iOS&pullrequestKey=63137

2025-11-25T12:46:56.5406090Z 12:46:56.533 DEBUG <-- 404 https://sonarcloud.io/api/alm_integration/show_pullrequest?project=companyName_company_.NET_AppName_iOS&pullrequestKey=63137 (174ms, unknown-length body)

2025-11-25T12:46:56.6160920Z 12:46:56.596 DEBUG Cleanup org.eclipse.jgit.util.FS$FileStoreAttributes$$Lambda$413/0x0000000800432c78@697a34af during JVM shutdown

2025-11-25T12:46:56.6281000Z ##[error]12:46:56.609 ERROR Could not find the pullrequest with key '63137'

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jdk.internal.loader.ClassLoaders$AppClassLoader@31ea9581-org.sonar.scanner.scan.ModuleIndexer': Unsatisfied dependency expressed through constructor parameter 0: Error creating bean with name 'jdk.internal.loader.ClassLoaders$AppClassLoader@31ea9581-org.sonar.scanner.scan.filesystem.InputComponentStore': Unsatisfied dependency expressed through constructor parameter 0: Error creating bean with name 'BranchConfiguration' defined in org.sonar.scanner.scan.branch.BranchConfigurationProvider: Failed to instantiate [org.sonar.scanner.scan.branch.BranchConfiguration]: Factory method 'provide' threw exception with message: Could not find the pullrequest with key '63137'

at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:804)

at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:240)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1395)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1232)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:569)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:529)

at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:339)

at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:373)

at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:337)

at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.instantiateSingleton(DefaultListableBeanFactory.java:1221)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingleton(DefaultListableBeanFactory.java:1187)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:1123)

at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:987)

at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:627)

at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:209)

at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:189)

at org.sonar.scanner.bootstrap.SpringGlobalContainer.doAfterStart(SpringGlobalContainer.java:146)

at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:210)

at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:189)

at org.sonar.scanner.bootstrap.ScannerMain.runScannerEngine(ScannerMain.java:143)

at org.sonar.scanner.bootstrap.ScannerMain.run(ScannerMain.java:58)

at org.sonar.scanner.bootstrap.ScannerMain.main(ScannerMain.java:42)

Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jdk.internal.loader.ClassLoaders$AppClassLoader@31ea9581-org.sonar.scanner.scan.filesystem.InputComponentStore': Unsatisfied dependency expressed through constructor parameter 0: Error creating bean with name 'BranchConfiguration' defined in org.sonar.scanner.scan.branch.BranchConfigurationProvider: Failed to instantiate [org.sonar.scanner.scan.branch.BranchConfiguration]: Factory method 'provide' threw exception with message: Could not find the pullrequest with key '63137'

at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:804)

at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:240)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1395)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1232)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:569)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:529)

at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:339)

at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:373)

at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:337)

at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)

at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1760)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1643)

at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:913)

at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)

... 22 common frames omitted

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'BranchConfiguration' defined in org.sonar.scanner.scan.branch.BranchConfigurationProvider: Failed to instantiate [org.sonar.scanner.scan.branch.BranchConfiguration]: Factory method 'provide' threw exception with message: Could not find the pullrequest with key '63137'

at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:657)

at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:645)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1375)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1205)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:569)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:529)

at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:339)

at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:373)

at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:337)

at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)

at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1760)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1643)

at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:913)

at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)

... 3

2025-11-25T12:46:56.6360960Z ##[debug]Processed: ##vso[task.logissue type=error;]12:46:56.609 ERROR Could not find the pullrequest with key '63137'

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jdk.internal.loader.ClassLoaders$AppClassLoader@31ea9581-org.sonar.scanner.scan.ModuleIndexer': Unsatisfied dependency expressed through constructor parameter 0: Error creating bean with name 'jdk.internal.loader.ClassLoaders$AppClassLoader@31ea9581-org.sonar.scanner.scan.filesystem.InputComponentStore': Unsatisfied dependency expressed through constructor parameter 0: Error creating bean with name 'BranchConfiguration' defined in org.sonar.scanner.scan.branch.BranchConfigurationProvider: Failed to instantiate [org.sonar.scanner.scan.branch.BranchConfiguration]: Factory method 'provide' threw exception with message: Could not find the pullrequest with key '63137'

at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:804)

at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:240)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1395)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1232)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:569)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:529)

at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:339)

at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:373)

at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:337)

at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.instantiateSingleton(DefaultListableBeanFactory.java:1221)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingleton(DefaultListableBeanFactory.java:1187)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:1123)

at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:987)

at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:627)

at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:209)

at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:189)

at org.sonar.scanner.bootstrap.SpringGlobalContainer.doAfterStart(SpringGlobalContainer.java:146)

at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:210)

at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:189)

at org.sonar.scanner.bootstrap.ScannerMain.runScannerEngine(ScannerMain.java:143)

at org.sonar.scanner.bootstrap.ScannerMain.run(ScannerMain.java:58)

at org.sonar.scanner.bootstrap.ScannerMain.main(ScannerMain.java:42)

Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jdk.internal.loader.ClassLoaders$AppClassLoader@31ea9581-org.sonar.scanner.scan.filesystem.InputComponentStore': Unsatisfied dependency expressed through constructor parameter 0: Error creating bean with name 'BranchConfiguration' defined in org.sonar.scanner.scan.branch.BranchConfigurationProvider: Failed to instantiate [org.sonar.scanner.scan.branch.BranchConfiguration]: Factory method 'provide' threw exception with message: Could not find the pullrequest with key '63137'

at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:804)

at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:240)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1395)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1232)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:569)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:529)

at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:339)

at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:373)

at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:337)

at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)

at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1760)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1643)

at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:913)

at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)

... 22 common frames omitted

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'BranchConfiguration' defined in org.sonar.scanner.scan.branch.BranchConfigurationProvider: Failed to instantiate [org.sonar.scanner.scan.branch.BranchConfiguration]: Factory method 'provide' threw exception with message: Could not find the pullrequest with key '63137'

at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:657)

at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:645)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1375)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1205)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:569)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:529)

at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:339)

at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:373)

at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:337)

at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)

at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1760)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1643)

at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:913)

at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)

... 3

2025-11-25T12:46:56.6433690Z 12:46:56.609 ERROR Could not find the pullrequest with key '63137'

2025-11-25T12:46:56.6525270Z org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jdk.internal.loader.ClassLoaders$AppClassLoader@31ea9581-org.sonar.scanner.scan.ModuleIndexer': Unsatisfied dependency expressed through constructor parameter 0: Error creating bean with name 'jdk.internal.loader.ClassLoaders$AppClassLoader@31ea9581-org.sonar.scanner.scan.filesystem.InputComponentStore': Unsatisfied dependency expressed through constructor parameter 0: Error creating bean with name 'BranchConfiguration' defined in org.sonar.scanner.scan.branch.BranchConfigurationProvider: Failed to instantiate [org.sonar.scanner.scan.branch.BranchConfiguration]: Factory method 'provide' threw exception with message: Could not find the pullrequest with key '63137'

2025-11-25T12:46:56.6531630Z at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:804)

2025-11-25T12:46:56.6533910Z at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:240)

2025-11-25T12:46:56.6536840Z at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1395)

2025-11-25T12:46:56.6539380Z at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1232)

2025-11-25T12:46:56.6542950Z at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:569)

2025-11-25T12:46:56.6552130Z at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:529)

2025-11-25T12:46:56.6554550Z at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:339)

2025-11-25T12:46:56.6557770Z at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:373)

2025-11-25T12:46:56.6560380Z at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:337)

2025-11-25T12:46:56.6563100Z at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)

2025-11-25T12:46:56.6565850Z at org.springframework.beans.factory.support.DefaultListableBeanFactory.instantiateSingleton(DefaultListableBeanFactory.java:1221)

2025-11-25T12:46:56.6568830Z at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingleton(DefaultListableBeanFactory.java:1187)

2025-11-25T12:46:56.6573160Z at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:1123)

2025-11-25T12:46:56.6577110Z at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:987)

2025-11-25T12:46:56.6580740Z at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:627)

2025-11-25T12:46:56.6583580Z at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:209)

2025-11-25T12:46:56.6587610Z at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:189)

2025-11-25T12:46:56.6590460Z at org.sonar.scanner.bootstrap.SpringGlobalContainer.doAfterStart(SpringGlobalContainer.java:146)

2025-11-25T12:46:56.6594100Z at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:210)

2025-11-25T12:46:56.6597760Z at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:189)

2025-11-25T12:46:56.6601620Z at org.sonar.scanner.bootstrap.ScannerMain.runScannerEngine(ScannerMain.java:143)

2025-11-25T12:46:56.6605200Z at org.sonar.scanner.bootstrap.ScannerMain.run(ScannerMain.java:58)

2025-11-25T12:46:56.6608830Z at org.sonar.scanner.bootstrap.ScannerMain.main(ScannerMain.java:42)

2025-11-25T12:46:56.6611500Z Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'jdk.internal.loader.ClassLoaders$AppClassLoader@31ea9581-org.sonar.scanner.scan.filesystem.InputComponentStore': Unsatisfied dependency expressed through constructor parameter 0: Error creating bean with name 'BranchConfiguration' defined in org.sonar.scanner.scan.branch.BranchConfigurationProvider: Failed to instantiate [org.sonar.scanner.scan.branch.BranchConfiguration]: Factory method 'provide' threw exception with message: Could not find the pullrequest with key '63137'

2025-11-25T12:46:56.6614370Z at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:804)

2025-11-25T12:46:56.6616370Z at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:240)

2025-11-25T12:46:56.6618730Z at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1395)

2025-11-25T12:46:56.6621420Z at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1232)

2025-11-25T12:46:56.6624190Z at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:569)

2025-11-25T12:46:56.6626690Z at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:529)

2025-11-25T12:46:56.6629770Z at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:339)

2025-11-25T12:46:56.6633230Z at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:373)

2025-11-25T12:46:56.6638880Z at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:337)

2025-11-25T12:46:56.6642150Z at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)

2025-11-25T12:46:56.6645400Z at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254)

2025-11-25T12:46:56.6648780Z at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1760)

2025-11-25T12:46:56.6653540Z at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1643)

2025-11-25T12:46:56.6658360Z at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:913)

2025-11-25T12:46:56.6662440Z at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)

2025-11-25T12:46:56.6665640Z ... 22 common frames omitted

2025-11-25T12:46:56.6668430Z Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'BranchConfiguration' defined in org.sonar.scanner.scan.branch.BranchConfigurationProvider: Failed to instantiate [org.sonar.scanner.scan.branch.BranchConfiguration]: Factory method 'provide' threw exception with message: Could not find the pullrequest with key '63137'

2025-11-25T12:46:56.6673950Z at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:657)

2025-11-25T12:46:56.6676690Z at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:645)

2025-11-25T12:46:56.6680860Z at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1375)

2025-11-25T12:46:56.6684020Z at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1205)

2025-11-25T12:46:56.6686540Z at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:569)

2025-11-25T12:46:56.6689120Z at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:529)

2025-11-25T12:46:56.6691610Z at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:339)

2025-11-25T12:46:56.6694060Z at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:373)

2025-11-25T12:46:56.6696510Z at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:337)

2025-11-25T12:46:56.6698830Z at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)

2025-11-25T12:46:56.6701110Z at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254)

2025-11-25T12:46:56.6702970Z at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1760)

2025-11-25T12:46:56.6705490Z at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1643)

2025-11-25T12:46:56.6708540Z at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:913)

2025-11-25T12:46:56.6711720Z at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)

2025-11-25T12:46:56.6764570Z ##[error]6 common frames omitted

Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.sonar.scanner.scan.branch.BranchConfiguration]: Factory method 'provide' threw exception with message: Could not find the pullrequest with key '63137'

at org.springframework.beans.factory.support.SimpleInstantiationStrategy.lambda$instantiate$0(SimpleInstantiationStrategy.java:200)

at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiateWithFactoryMethod(SimpleInstantiationStrategy.java:89)

at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:169)

at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653)

... 50 common frames omitted

Caused by: org.sonar.api.utils.MessageException: Could not find the pullrequest with key '63137'

Caused by: com.sonarsource.scanner.engine.webapi.client.HttpException: Error 404 on https://sonarcloud.io/api/alm_integration/show_pullrequest?project=companyName_company_.NET_AppName_iOS&pullrequestKey=63137 : {"errors":[{"msg":"You don\u0027t have permission, or the provided pullrequest with key \u002763137\u0027 doesn\u0027t exist."}]}

at com.sonarsource.scanner.engine.webapi.client.BaseResponse.failIfNotSuccessful(BaseResponse.java:22)

at org.sonar.scanner.http.DefaultScannerWsClient.failIfUnauthorized(DefaultScannerWsClient.java:85)

at org.sonar.scanner.http.DefaultScannerWsClient.call(DefaultScannerWsClient.java:58)

at com.sonarsource.branch.pr.PullRequestClient.getPullRequest(PullRequestClient.java:30)

at com.sonarsource.branch.PrBranchConfigurationBuilder.buildForBoundProject(PrBranchConfigurationBuilder.java:68)

at com.sonarsource.branch.PrBranchConfigurationBuilder.build(PrBranchConfigurationBuilder.java:56)

at com.sonarsource.branch.BranchConfigurationLoaderImpl.load(BranchConfigurationLoaderImpl.java:65)

at org.sonar.scanner.scan.branch.BranchConfigurationProvider.provide(BranchConfigurationProvider.java:31)

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.springframework.beans.factory.support.SimpleInstantiationStrategy.lambda$instantiate$0(SimpleInstantiationStrategy.java:172)

at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiateWithFactoryMethod(SimpleInstantiationStrategy.java:89)

at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:169)

at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653)

at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:645)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1375)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1205)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:569)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:529)

at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:339)

at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:373)

at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:337)

at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)

at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1760)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1643)

at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:913)

at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)

at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:240)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1395)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1232)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:569)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:529)

at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:339)

at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:373)

at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:337)

at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)

at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1760)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1643)

at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:913)

at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)

at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:240)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1395)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1232)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:569)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:529)

at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:339)

at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:373)

at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:337)

at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.instantiateSingleton(DefaultListableBeanFactory.java:1221)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingleton(DefaultListableBeanFactory.java:1187)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:1123)

at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:987)

at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:627)

at org.sonar.cor

2025-11-25T12:46:56.6808610Z ##[debug]Processed: ... 3##vso[task.logissue type=error;]6 common frames omitted

Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.sonar.scanner.scan.branch.BranchConfiguration]: Factory method 'provide' threw exception with message: Could not find the pullrequest with key '63137'

at org.springframework.beans.factory.support.SimpleInstantiationStrategy.lambda$instantiate$0(SimpleInstantiationStrategy.java:200)

at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiateWithFactoryMethod(SimpleInstantiationStrategy.java:89)

at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:169)

at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653)

... 50 common frames omitted

Caused by: org.sonar.api.utils.MessageException: Could not find the pullrequest with key '63137'

Caused by: com.sonarsource.scanner.engine.webapi.client.HttpException: Error 404 on https://sonarcloud.io/api/alm_integration/show_pullrequest?project=companyName_company_.NET_AppName_iOS&pullrequestKey=63137 : {"errors":[{"msg":"You don\u0027t have permission, or the provided pullrequest with key \u002763137\u0027 doesn\u0027t exist."}]}

at com.sonarsource.scanner.engine.webapi.client.BaseResponse.failIfNotSuccessful(BaseResponse.java:22)

at org.sonar.scanner.http.DefaultScannerWsClient.failIfUnauthorized(DefaultScannerWsClient.java:85)

at org.sonar.scanner.http.DefaultScannerWsClient.call(DefaultScannerWsClient.java:58)

at com.sonarsource.branch.pr.PullRequestClient.getPullRequest(PullRequestClient.java:30)

at com.sonarsource.branch.PrBranchConfigurationBuilder.buildForBoundProject(PrBranchConfigurationBuilder.java:68)

at com.sonarsource.branch.PrBranchConfigurationBuilder.build(PrBranchConfigurationBuilder.java:56)

at com.sonarsource.branch.BranchConfigurationLoaderImpl.load(BranchConfigurationLoaderImpl.java:65)

at org.sonar.scanner.scan.branch.BranchConfigurationProvider.provide(BranchConfigurationProvider.java:31)

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.springframework.beans.factory.support.SimpleInstantiationStrategy.lambda$instantiate$0(SimpleInstantiationStrategy.java:172)

at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiateWithFactoryMethod(SimpleInstantiationStrategy.java:89)

at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:169)

at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653)

at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:645)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1375)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1205)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:569)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:529)

at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:339)

at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:373)

at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:337)

at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)

at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1760)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1643)

at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:913)

at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)

at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:240)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1395)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1232)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:569)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:529)

at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:339)

at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:373)

at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:337)

at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)

at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1760)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1643)

at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:913)

at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)

at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:240)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1395)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1232)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:569)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:529)

at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:339)

at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:373)

at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:337)

at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.instantiateSingleton(DefaultListableBeanFactory.java:1221)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingleton(DefaultListableBeanFactory.java:1187)

at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:1123)

at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:987)

at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:627)

at org.sonar.cor

2025-11-25T12:46:56.6828760Z 6 common frames omitted

2025-11-25T12:46:56.6831480Z Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.sonar.scanner.scan.branch.BranchConfiguration]: Factory method 'provide' threw exception with message: Could not find the pullrequest with key '63137'

2025-11-25T12:46:56.6836130Z at org.springframework.beans.factory.support.SimpleInstantiationStrategy.lambda$instantiate$0(SimpleInstantiationStrategy.java:200)

2025-11-25T12:46:56.6838740Z at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiateWithFactoryMethod(SimpleInstantiationStrategy.java:89)

2025-11-25T12:46:56.6841260Z at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:169)

2025-11-25T12:46:56.6849030Z at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653)

2025-11-25T12:46:56.6851440Z ... 50 common frames omitted

2025-11-25T12:46:56.6853230Z Caused by: org.sonar.api.utils.MessageException: Could not find the pullrequest with key '63137'

2025-11-25T12:46:56.6856050Z Caused by: com.sonarsource.scanner.engine.webapi.client.HttpException: Error 404 on https://sonarcloud.io/api/alm_integration/show_pullrequest?project=companyName_company_.NET_AppName_iOS&pullrequestKey=63137 : {"errors":[{"msg":"You don\u0027t have permission, or the provided pullrequest with key \u002763137\u0027 doesn\u0027t exist."}]}

2025-11-25T12:46:56.6858910Z at com.sonarsource.scanner.engine.webapi.client.BaseResponse.failIfNotSuccessful(BaseResponse.java:22)

2025-11-25T12:46:56.6861320Z at org.sonar.scanner.http.DefaultScannerWsClient.failIfUnauthorized(DefaultScannerWsClient.java:85)

2025-11-25T12:46:56.6863350Z at org.sonar.scanner.http.DefaultScannerWsClient.call(DefaultScannerWsClient.java:58)

2025-11-25T12:46:56.6866070Z at com.sonarsource.branch.pr.PullRequestClient.getPullRequest(PullRequestClient.java:30)

2025-11-25T12:46:56.6869130Z at com.sonarsource.branch.PrBranchConfigurationBuilder.buildForBoundProject(PrBranchConfigurationBuilder.java:68)

2025-11-25T12:46:56.6871870Z at com.sonarsource.branch.PrBranchConfigurationBuilder.build(PrBranchConfigurationBuilder.java:56)

2025-11-25T12:46:56.6873730Z at com.sonarsource.branch.BranchConfigurationLoaderImpl.load(BranchConfigurationLoaderImpl.java:65)

2025-11-25T12:46:56.6875620Z at org.sonar.scanner.scan.branch.BranchConfigurationProvider.provide(BranchConfigurationProvider.java:31)

2025-11-25T12:46:56.6877860Z at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2025-11-25T12:46:56.6880290Z at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

2025-11-25T12:46:56.6882900Z at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

2025-11-25T12:46:56.6894150Z at java.base/java.lang.reflect.Method.invoke(Unknown Source)

2025-11-25T12:46:56.6896840Z at org.springframework.beans.factory.support.SimpleInstantiationStrategy.lambda$instantiate$0(SimpleInstantiationStrategy.java:172)

2025-11-25T12:46:56.6899590Z at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiateWithFactoryMethod(SimpleInstantiationStrategy.java:89)

2025-11-25T12:46:56.6903010Z at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:169)

2025-11-25T12:46:56.6906050Z at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653)

2025-11-25T12:46:56.6908650Z at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:645)

2025-11-25T12:46:56.6911330Z at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1375)

2025-11-25T12:46:56.6914130Z at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1205)

2025-11-25T12:46:56.6916930Z at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:569)

2025-11-25T12:46:56.6921150Z at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:529)

2025-11-25T12:46:56.6925120Z at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:339)

2025-11-25T12:46:56.6928140Z at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:373)

2025-11-25T12:46:56.6931880Z at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:337)

2025-11-25T12:46:56.6934680Z at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)

2025-11-25T12:46:56.6937370Z at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254)

2025-11-25T12:46:56.6940690Z at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1760)

2025-11-25T12:46:56.6943450Z at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1643)

2025-11-25T12:46:56.6946190Z at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:913)

2025-11-25T12:46:56.6948880Z at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)

2025-11-25T12:46:56.6951550Z at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:240)

2025-11-25T12:46:56.6954350Z at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1395)

2025-11-25T12:46:56.6957160Z at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1232)

2025-11-25T12:46:56.6960040Z at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:569)

2025-11-25T12:46:56.6962150Z at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:529)

2025-11-25T12:46:56.6964760Z at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:339)

2025-11-25T12:46:56.6967450Z at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:373)

2025-11-25T12:46:56.6969770Z at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:337)

2025-11-25T12:46:56.6971940Z at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)

2025-11-25T12:46:56.6974160Z at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254)

2025-11-25T12:46:56.6976430Z at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1760)

2025-11-25T12:46:56.6978470Z at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1643)

2025-11-25T12:46:56.6980340Z at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:913)

2025-11-25T12:46:56.6982260Z at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791)

2025-11-25T12:46:56.6984280Z at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:240)

2025-11-25T12:46:56.6986570Z at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1395)

2025-11-25T12:46:56.6988750Z at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1232)

2025-11-25T12:46:56.6991510Z at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:569)

2025-11-25T12:46:56.6993720Z at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:529)

2025-11-25T12:46:56.6996370Z at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:339)

2025-11-25T12:46:56.7016850Z at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:373)

2025-11-25T12:46:56.7019850Z at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:337)

2025-11-25T12:46:56.7022400Z at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)

2025-11-25T12:46:56.7025050Z at org.springframework.beans.factory.support.DefaultListableBeanFactory.instantiateSingleton(DefaultListableBeanFactory.java:1221)

2025-11-25T12:46:56.7029190Z at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingleton(DefaultListableBeanFactory.java:1187)

2025-11-25T12:46:56.7032700Z at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:1123)

2025-11-25T12:46:56.7036380Z at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:987)

2025-11-25T12:46:56.7039110Z at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:627)

2025-11-25T12:46:56.7045890Z ##[error]e.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:209)

at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:189)

at org.sonar.scanner.bootstrap.SpringGlobalContainer.doAfterStart(SpringGlobalContainer.java:146)

at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:210)

at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:189)

at org.sonar.scanner.bootstrap.ScannerMain.runScannerEngine(ScannerMain.java:143)

at org.sonar.scanner.bootstrap.ScannerMain.run(ScannerMain.java:58)

at org.sonar.scanner.bootstrap.ScannerMain.main(ScannerMain.java:42)

2025-11-25T12:46:56.7051720Z ##[debug]Processed: at org.sonar.cor##vso[task.logissue type=error;]e.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:209)

at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:189)

at org.sonar.scanner.bootstrap.SpringGlobalContainer.doAfterStart(SpringGlobalContainer.java:146)

at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:210)

at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:189)

at org.sonar.scanner.bootstrap.ScannerMain.runScannerEngine(ScannerMain.java:143)

at org.sonar.scanner.bootstrap.ScannerMain.run(ScannerMain.java:58)

at org.sonar.scanner.bootstrap.ScannerMain.main(ScannerMain.java:42)

2025-11-25T12:46:56.7056760Z e.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:209)

2025-11-25T12:46:56.7059500Z at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:189)

2025-11-25T12:46:56.7062870Z at org.sonar.scanner.bootstrap.SpringGlobalContainer.doAfterStart(SpringGlobalContainer.java:146)

2025-11-25T12:46:56.7065170Z at org.sonar.core.platform.SpringComponentContainer.startComponents(SpringComponentContainer.java:210)

2025-11-25T12:46:56.7067210Z at org.sonar.core.platform.SpringComponentContainer.execute(SpringComponentContainer.java:189)

2025-11-25T12:46:56.7068990Z at org.sonar.scanner.bootstrap.ScannerMain.runScannerEngine(ScannerMain.java:143)

2025-11-25T12:46:56.7070420Z at org.sonar.scanner.bootstrap.ScannerMain.run(ScannerMain.java:58)

2025-11-25T12:46:56.7072720Z at org.sonar.scanner.bootstrap.ScannerMain.main(ScannerMain.java:42)

2025-11-25T12:46:56.7073860Z 

2025-11-25T12:46:57.5172270Z 12:46:57.516 DEBUG Java command exited with code 1

2025-11-25T12:46:57.5176640Z 12:46:57.516 INFO  EXECUTION FAILURE

2025-11-25T12:46:57.5188280Z 12:46:57.518 INFO  Total time: 26.149s

2025-11-25T12:46:58.4131300Z 

2025-11-25T12:46:58.4187670Z ##[debug]Process exited with code 3 and signal null for tool '/Users/runner/work/_tasks/SonarCloudAnalyze_ce096e50-6155-4de8-8800-4221aaeed4a1/3.4.3/sonar-scanner/bin/sonar-scanner'

2025-11-25T12:46:58.4197460Z ##[debug]STDIO streams have closed and received exit code 3 and signal null for tool '/Users/runner/work/_tasks/SonarCloudAnalyze_ce096e50-6155-4de8-8800-4221aaeed4a1/3.4.3/sonar-scanner/bin/sonar-scanner'

2025-11-25T12:46:58.4224930Z ##[error][ERROR] SonarQube Cloud: Error while executing task Analyze: The process '/Users/runner/work/_tasks/SonarCloudAnalyze_ce096e50-6155-4de8-8800-4221aaeed4a1/3.4.3/sonar-scanner/bin/sonar-scanner' failed with exit code 3

2025-11-25T12:46:58.4226950Z ##[debug]Processed: ##vso[task.issue type=error;source=TaskInternal;][ERROR] SonarQube Cloud: Error while executing task Analyze: The process '/Users/runner/work/_tasks/SonarCloudAnalyze_ce096e50-6155-4de8-8800-4221aaeed4a1/3.4.3/sonar-scanner/bin/sonar-scanner' failed with exit code 3

2025-11-25T12:46:58.4302960Z ##[debug]task result: Failed

2025-11-25T12:46:58.4308030Z ##[error]The process '/Users/runner/work/_tasks/SonarCloudAnalyze_ce096e50-6155-4de8-8800-4221aaeed4a1/3.4.3/sonar-scanner/bin/sonar-scanner' failed with exit code 3

2025-11-25T12:46:58.4310240Z ##[debug]Processed: ##vso[task.issue type=error;source=TaskInternal;]The process '/Users/runner/work/_tasks/SonarCloudAnalyze_ce096e50-6155-4de8-8800-4221aaeed4a1/3.4.3/sonar-scanner/bin/sonar-scanner' failed with exit code 3

2025-11-25T12:46:58.4315190Z ##[debug]Processed: ##vso[task.complete result=Failed;]The process '/Users/runner/work/_tasks/SonarCloudAnalyze_ce096e50-6155-4de8-8800-4221aaeed4a1/3.4.3/sonar-scanner/bin/sonar-scanner' failed with exit code 3

2025-11-25T12:46:58.4332220Z ##[section]Finishing: Run SonarCloud Analysis

The PR that runs the pipeline and triggers the scan has the id 63137.
If you need more information, please let me know.

Hi,

Thanks for the log.

Many systems will return a 404 error (i.e. what you’ve asked for doesn’t exist) rather than a 403 error, thus admitting that the resource exists but you just don’t have access to it.

You should double-check the PAT you’ve configured SonarQube Cloud with.

 
HTH,
Ann

I have a PAT for the user that is created to do the PR decoration and also a PAT that is used by sonarcloud. I already recreated the PAT for the user. Would it make sense to try a different user for PR Decoration?
Should i also check the PAT that SonarQube Cloud uses? Because the scan itself is executed and i can see the results in the SonarQube Cloud project for the app.
Thank you for your time.
Niko

Hi Niko,

I’m confused. Where are these two PATs set / used?

 
Ann

I use the PAT of the Service Principal in Azure (the one that sonarcloud should use for PR decoration) in the following section of the project settings:
General Settings → Pull Requests → Integration with Azure DevOps Services → Personal Access Token.
The Token for SonarCloud access from the Pipeline is set up in the Service Connection from Azure that is used by the pipeline to communicate with SonarCloud.
I thought according to the documentation this is the right way to set up a SonarCloud project from Azure repo.
Could it be that PR decoration only works, when the main branch has been analyzed? Becuase this is not yet the case, as we do not have merged back to the main branch in this project.
Have i missed something?
Best regards,
Niko

Hi Niko,

You really should get that main branch analyzed, but that lack is not going to cause this error. You need to reset that project-level PAT.

 
HTH,
Ann