Sonar-Unable to inspect code smells

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    I am using Developer Edition Version 9.2.4 (build 50792)

  • what are you trying to achieve
    I want to see where the code smells Sonar is reporting are originating from.


I have this project per eg : (it is not on the main branch)

On the overall code I can see that there are 2 code smells :

On the New Code we have nothing :

The thing is , after I click on the 2 Code smells I arrive here :

Where I cannot see anything, code smells or anything else.

If I’m going to 4 min Debt , I can see this

and If I click on one of them , I have the Technical Debt report where I can see 1 code smell inside but it is not highlighting me anything or show me where the issue was.

What are we missing ? Is this a normal behavior ? What Should I do ?

Also , when we work with Community Edition and click on the Code Smell

Sonar will highlight this for us and let us know what we should do to make it clean.

There’s a big red banner on your project dashboard stating the last analysis failed – can you click into the Background Tasks link and and get more details?

Sure, here it is :

It looks like you have corrupted Elasticsearch indices. You should:

  1. Stop SonarQube
  2. Delete the data/es7 directory
  3. Restart SonarQube

Hi @Colin

Deleting that directory whether it deletes any useful data?