at org.sonarqube.ws.client.BaseResponse.failIfNotSuccessful(BaseResponse.java:36)
at org.sonar.scanner.http.DefaultScannerWsClient.failIfUnauthorized(DefaultScannerWsClient.java:136)
at org.sonar.scanner.http.DefaultScannerWsClient.call(DefaultScannerWsClient.java:89)
at com.sonarsource.a3s.scanner.A3SServerContextCollector.fetchIsEnabledFromApi(A3SServerContextCollector.java:94)
at com.sonarsource.a3s.scanner.A3SServerContextCollector.isEnabled(A3SServerContextCollector.java:76)
at com.sonar.security.B.F.A(na:2919)
at com.sonar.security.B.F.execute(na:882)\`\`\`
After that, the analysis stops and the build succeeds!
sonar-scanner CLI and Maven plugin reports this as a warning and continue analysis, but the gradle plugin stops execution.
Hello @kars_blom_triodos, welcome to the Community! In theory, this error message is benign and shouldn’t crash your analysis. It’s associated with a new feature, and when it’s disabled, the scanner logs an exception but keeps going. Can you share the scanner logs from the run that is failing? Perhaps there’s another error which is the cause causing it to crash.
So I see. After further inspection of the logs, I see something strange going on. For some reason, “Sensor Kotlin Sensor [kotlin]” and “Sensor Gradle Sensor [kotlin]” only triggers for 2 of our 14 modules, which leaves them empty. This is new since the server upgrade to 2026.5.2. What could cause this?
Hey @kars_blom_triodos, I guess that the scanner is aborting halfway through the multi-module run and therefore only seeing 2 modules. It’s difficult to tell without seeing debug-level scanner logs.
Hey @kars_blom_triodos, glad you are on your way to diagnosing the issue yourself. Just FYI I won’t delete this post, we don’t typically do that, I wouldn’t say there’s any particular need for it.