Project showing an issue from a rule which is not there in the selected Quality Profile

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension): Enterprise Edition - Version 9.9.1 (build 69595)
  • how is SonarQube deployed: zip, Docker, Helm: zip
  • what are you trying to achieve: Find the rule from which an issue is showing from
  • what have you tried so far to achieve this: Went through the Sonarqube Dashboard UI to navigate to the selected profile, but the profile doesn’t have a rule showing for that particular issue.
    Also, the selected Profile is a parent profile, & no other quality profile is inherited from or to the selected profile.

Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!

Hey there.

Can you give an example of the specific rule?

Hi @Colin,

As per your request, I have attached a few screenshots to showcase the issue.

So this is the rule which lies in the mentioned in one of the quality profiles:

And here is the list of quality profiles having this rule:

But if I try to search this rule in the Quality Profile selected for my project, it shows none:

Then why is this rule showing as an issue in my code?:

See the quality profile selected in the project, it does not contain the mentioned rule, still it is showing in the project as an issue.

Also, I checked, the Quality profiles donot have any inheritance from any/each other.

Please let me know if you need anything else.


It looks like the issue is coming from GitHub - spotbugs/sonar-findbugs: SpotBugs plugin for SonarQube

I’d suggest raising an issue with the maintainer.

Thank you @Colin ,
We have raised a support request to the SpotBugs plugin maintainer.
Here’s the reference:

Thanks for the support.
Kind regards,

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