Sonar analysis is failing in maven stage

  • sonarqube is deployed on azurevm ,

  • current version is Developer Edition

  • Version 9.9

  • sonarqube prepare stage is working fine but maven stage is failing
    with below error

Load/download plugins

[INFO] Load plugins index

[INFO] Load plugins index (done) | time=75ms

[INFO] Load/download plugins (done) | time=180252ms

[INFO] ------------------------------------------------------------------------


[INFO] ------------------------------------------------------------------------

[INFO] Total time: 03:39 min

[INFO] Finished at: 2023-03-15T06:12:57Z

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin: (default-cli) on project pdh-changefeedprocessor: Error creating bean with name 'org.sonarsource.scanner.api.internal.IsolatedClassloader@5b628376-org.sonar.scanner.bootstrap.ScannerPluginRepository': Initialization of bean failed; nested exception is java.lang.IllegalStateException: Fail to download plugin [cpp] into /home/vsts/.sonar/_tmp/fileCache10979693248543075232.tmp: EOFException -> [Help 1]


[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.


[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1]


Welcome to the community!

You filed this under ‘9.9 LTS Upgrade’, so I guess this was working in your previous version of SonarQube and only started failing after upgrade?

You got an End Of File exception. Looks like transmission was cut off abruptly. If there’s nothing in your server logs about this (and I suspect there’s not) then you’ll need to talk to your network folks to see what “helpful” thing on the network is interfering with the download.


Yes it was network issue , we just upgraded download package stage to 1.1.1 and it worked

Thanks for your support

Also may i know sonarqube:9.9.0 supports which version of postgres , specifically does it support postgres 15 or above


The docs should help.