SonarQube server report for a project : "The Project Analysis has failed"

  • Community Edition, Version 9.2.3

Hello, I’m a new user of SonarQube. I installed the zip version, because I’m not familiar with docker.
I have some projects to analyse, in Java, with Maven.
When I start an analysis from a terminal, sonar tells me that the analysis has succeed, and build so :

> [INFO] ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard?id=ID_OF_THE_PROJECT
> [INFO] Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
> [INFO] More about the report processing at http://localhost:9000/api/ce/task?id=AX6XMeK367bvreUUUY0s
> [INFO] Analysis total time: 1:18.578 s
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS

But on the sonarqube server dashboard, I got this message :
“The Project Analysis has failed. More details available on the Background Tasks”

All of my analysis have failed on all my projects, never one have been passed. I don’t understand why, I followed the documentation.
(I just don’t have a database, just the embedded one, because when I add the lines for psql DB, the prompt of sonar shuts down.)

The dashboard displays those information :

But when I click on “bugs” for example, no bugs appears, it seems to be empty

And when I click on “duplication”, I have some information :

I don’t understand those behaviours. Could someone explain me why the analysis always fails, and why the dashboard shows or don’t show information ?

Thank you :slightly_smiling_face:

Hi,

Welcome to the Community!

Your second screenshot shows a red banner across the top of the page. It’s telling you to go to the Background Tasks page. There you’ll see a list of background tasks, and you can see what the errors were for the ones that failed.

Take a look and come back to us if the errors don’t make sense to you.

 
Ann

Hi Ann,

Thanks a lot ! There was not enough empty space on my disk for elasticsarch process (es.log file).

Thank you ! :blush:

1 Like

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