- ALM used: GitHub
- CI system used: GitHub Actions & Automatic Analysis (Autoscan)
- Organization Key:
saltydata-org - Project Key:
saltydata-org-a1 - Failing Analysis ID (Autoscan):
1f584cc0-4152-45ff-aac0-0aebff1ca5db
Issue Description:
We are attempting to onboard our repository (saltydata-org-a1) to SonarQube Cloud, but both Automatic Analysis (Autoscan) and GitHub Actions CI analysis fail consistently.
1. Automatic Analysis (Autoscan) Failure:
When Automatic Analysis is enabled, SonarQube Cloud fails with:
“The last attempt wasn’t successful because this project didn’t meet the compatibility criteria.”
Failing Analysis ID:1f584cc0-4152-45ff-aac0-0aebff1ca5db
2. GitHub Actions Scanner CLI Failure:
When switching to GitHub Actions (SonarSource/sonarqube-scan-action@v6), the scanner crashes with exit code 3 during Quality Profile fetching due to a 500 Internal Server Error response from SonarCloud:
**HTTP Debug Log (-X mode):
**
GET https://sonarcloud.io/api/qualityprofiles/search.protobuf?projectKey=saltydata-org-a1&organization=saltydata-org ← 500 https://sonarcloud.io/api/qualityprofiles/search.protobuf?projectKey=saltydata-org-a1&organization=saltydata-org (555ms)
**Stacktrace:
**
ERROR Error during SonarScanner Engine execution org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘QualityProfiles’ defined in org.sonar.scanner.repository.QualityProfilesProvider: Failed to instantiate [org.sonar.scanner.rule.QualityProfiles]: Failed to load the quality profiles of project ‘saltydata-org-a1’: An unexpected error occurred. Please try again later. Caused by: java.lang.IllegalStateException: Failed to load the quality profiles of project ‘saltydata-org-a1’: An unexpected error occurred. Please try again later. at org.sonar.scanner.repository.DefaultQualityProfileLoader.handleErrors(DefaultQualityProfileLoader.java:61) at org.sonar.scanner.repository.DefaultQualityProfileLoader.load(DefaultQualityProfileLoader.java:47) at org.sonar.scanner.repository.QualityProfilesProvider.provide(QualityProfilesProvider.java:26)
Could you please inspect backend logs for Failing Analysis ID 1f584cc0-4152-45ff-aac0-0aebff1ca5db and verify why Quality Profiles return HTTP 500 for our project?
Thank you!