Scanning fails after upgrade

Hi,

We tried to upgrade our SonarQube instance from version 8.2 to version 8.9, but since the upgrade our scans are failing with the following error message:

12:32:38.240 DEBUG: Get bootstrap index…
12:32:38.240 DEBUG: Download: http://sonarqube.sd.dika.be:9083/batch/index
12:32:38.333 DEBUG: Get bootstrap completed
12:32:38.333 INFO: ------------------------------------------------------------------------
12:32:38.333 INFO: EXECUTION FAILURE
12:32:38.333 INFO: ------------------------------------------------------------------------

##[error]Caused by: java.lang.IllegalStateException: Fail to parse entry in bootstrap index:

We are scanning a .NET Core project and get the same error both with Azure Devops and with the local .NET Core Global SonarScanner Tool.

When navigating manually to http://sonarqube.sd.dika.be:9083/batch/index, the result is an empty file, while we would expected something like “sonar-scanner-engine-shaded-8.9.1.44547-all.jar|893b5f52d4775ec456e4c6d8ab9bd529”.

Does someone has an idea how this “batch/index” file could end up empty and how to fix it?

Regards,
Cédric

Hello Cedric.

The file in question should be located in {sonarqube_home}/lib/scanner. Perhaps the installation is corrupted and the file is missing?

1 Like

Hi Duarte,
Thanks for pointing that out!
The file under {sonarqube_home}/lib/scanner was indeed missing, re-adding it solved the problem.

Regards,
Cédric

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.