Background Task and Error

I am using Sonarqube 8.4 and SonarScanner’s log shows EXECUTION SUCCESS
but in GUI there is an Error that status is failed

Error Details

java.lang.IllegalStateException: Unrecoverable indexation failures: 1 errors among 1 requests
	at org.sonar.server.measure.index.ProjectMeasuresIndexer.doIndex(
	at org.sonar.server.measure.index.ProjectMeasuresIndexer.indexOnAnalysis(
	at org.sonar.ce.task.projectanalysis.step.IndexAnalysisStep.execute(
	at org.sonar.ce.task.step.ComputationStepExecutor.executeStep(
	at org.sonar.ce.task.step.ComputationStepExecutor.executeSteps(
	at org.sonar.ce.task.step.ComputationStepExecutor.execute(
	at org.sonar.ce.task.projectanalysis.taskprocessor.ReportTaskProcessor.process(
	at org.sonar.ce.taskprocessor.CeWorkerImpl$ExecuteTask.executeTask(
	at org.sonar.ce.taskprocessor.CeWorkerImpl$
	at org.sonar.ce.taskprocessor.CeWorkerImpl.findAndProcessTask(
	at org.sonar.ce.taskprocessor.CeWorkerImpl$TrackRunningState.get(
	at java.base/java.util.concurrent.Executors$
	at java.base/
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(
	at java.base/java.util.concurrent.ThreadPoolExecutor$
	at java.base/

How to fix it?

Hi, is there anything else in the stacktrace bellow ? There is no “caused by” here.

The most common issue for indexation issues is a “no space left on device” error. After resolving the root cause of the issue, you can simply re-analyse your project.

1 Like

Hi @pierreguillot
I free space about 50G and re-analysis it but again same error.
How to figure out how much space is needed?
what is meaning of the Final Memory: 7M/40M in the sonar-scanner analysis ?

Please share with us more logs. web.log and es.log may contain the message explaining the issue.

1 Like

Thanks @pierreguillot
just web, access and ce logs were created for last project so “es.log” was not:
The web log is :
web.log (137.6 KB)

The logs indicate that your disk space is full. You have reach the 95% watermark, and elasticsearch indexes have switched to read-only. Free some space for /data/es6/, and restart SonarQube

1 Like

I am working in windows and sonarqube is located in C drive . I freed space and now it has 50 G free space. Is not 50 G enough? but my RAM is lower than 2G and if I add RAM my license will be disabled :frowning:

Low RAM can be resulted to this error?

It should definitely be enough :slight_smile:

a Licence is valid for a serverId, which is based on the jdbc URL & the dataset. As long as you keep the DB and the jdbc URL, you can change any hardware you want!

No, only disk space.

Now that you freed some space, please wipe out your sonarqube logs folder, start again, and if it fails upload here all the logs :slight_smile:


Yes, I implemented the offer and finally got the report correctly. I wish I had restarted from the beginning. :slight_smile:

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