Exception - Unrecoverable indexation failures

Running analysis for a combined C#/C++ solution. Everything appears to run fine in the build environment (last message is “post-processing succeeded”). Then the following error appears in the UI. Any ideas?

Using SonarQube 8.2, MSBuild.SonarQube 4.7.1, C++ build wrapper. As far as I know I am using the latest versions available.

 **Error Details**
 java.lang.IllegalStateException: Unrecoverable indexation failures: 1 errors among 1 requests
 	at org.sonar.server.es.IndexingListener$1.onFinish(IndexingListener.java:39)
 	at org.sonar.server.es.BulkIndexer.stop(BulkIndexer.java:122)
 	at org.sonar.server.measure.index.ProjectMeasuresIndexer.doIndex(ProjectMeasuresIndexer.java:157)
 	at org.sonar.server.measure.index.ProjectMeasuresIndexer.indexOnAnalysis(ProjectMeasuresIndexer.java:82)
 	at org.sonar.ce.task.projectanalysis.step.IndexAnalysisStep.execute(IndexAnalysisStep.java:45)
 	at org.sonar.ce.task.step.ComputationStepExecutor.executeStep(ComputationStepExecutor.java:81)
 	at org.sonar.ce.task.step.ComputationStepExecutor.executeSteps(ComputationStepExecutor.java:72)
 	at org.sonar.ce.task.step.ComputationStepExecutor.execute(ComputationStepExecutor.java:59)
 	at org.sonar.ce.task.projectanalysis.taskprocessor.ReportTaskProcessor.process(ReportTaskProcessor.java:81)
 	at org.sonar.ce.taskprocessor.CeWorkerImpl$ExecuteTask.executeTask(CeWorkerImpl.java:209)
 	at org.sonar.ce.taskprocessor.CeWorkerImpl$ExecuteTask.run(CeWorkerImpl.java:191)
 	at org.sonar.ce.taskprocessor.CeWorkerImpl.findAndProcessTask(CeWorkerImpl.java:158)
 	at org.sonar.ce.taskprocessor.CeWorkerImpl$TrackRunningState.get(CeWorkerImpl.java:133)
 	at org.sonar.ce.taskprocessor.CeWorkerImpl.call(CeWorkerImpl.java:85)
 	at org.sonar.ce.taskprocessor.CeWorkerImpl.call(CeWorkerImpl.java:53)
 	at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:125)
 	at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:69)
 	at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:78)
 	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
 	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
 	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
 	at java.base/java.lang.Thread.run(Thread.java:834)

Hi,

Did you see any error log before the stack trace?

Looks like there was an error indexing the measures of the branch that was being analyzed but If the subsequent analysis of the same branch succeeds without errors, everything should be fine.

Hi, this is the only error we see. Everything is fine on the scanner, this error is only seen on the web UI. Second run also resulted in an error.

Anyone able to help with this issue? Thanks

Hi,

You may find one of these threads helpful:

 
Ann

1 Like

Thanks. Surprisingly adding more disk space solved the problem, even though there was plenty of space, it seems that 50% free was required before it would work.

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