Findbugs plugin-3.8.0 in Sonarqube version 7.4 causing error


(Sree Susmitha) #1

I’m trying to analyse using Sonarqube version 7.4 passing maven goal sonar:sonar and getting the following error which is related to findbugs plugin

org.sonar.plugins.findbugs.FindbugsConfiguration has unsatisfied dependency ‘class org.sonar.plugins.findbugs.FindbugsProfileExporter’ for constructor ‘public org.sonar.plugins.findbugs.FindbugsConfiguration(org.sonar.api.batch.fs.FileSystem,org.sonar.api.config.Configuration,org.sonar.api.profiles.RulesProfile,org.sonar.plugins.findbugs.FindbugsProfileExporter,org.sonar.plugins.java.api.JavaResourceLocator)’ from org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer@60f21960:312<[Immutable]:org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer@e76b097:233<[Immutable]:org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer@3dffc764:9<[Immutable]:org.sonar.core.platform.ComponentContainer$ExtendedDefaultPicoContainer@58dad04a:50<

Please reply ASAP. Thank you.


Sonarqube-7.4- No Option to import Findbugs report
(Adam Gabryś) #2

FindBugs Sonar plugin is not maintained by SonarSource.

The issue has been reported some time ago in FindBugs issue tracker:


(Sree Susmitha) #3

But in sonarqube documentation plugin matrix its been mentioned that findbugs -3.8.0 is compatible with SonarQube-7.4


(Adam Gabryś) #4

Yes, you are right. I don’t know how the Plugin Version Matrix page is updated.

@ganncamp Could you let us know how this page is updated? Does it read data from matadata? Or is it filled manually?


(G Ann Campbell) #5

Hi,

The plugin matrix and what you see in the marketplace are generated from manually updated files. By default, when a new version is added, we set up compatibility with the start version declared by the maintainer through “latest” which means it’s by default declared compatible with each new SonarQube version as it’s released.

I’ve just updated the FB data file to end FB 3.8.0 compatibility at 7.3.

Thanks both of you for the notification and you for the summon Adam.

 
Ann


(Sree Susmitha) #6

Thank u Ann


(Sree Susmitha) #7

Thank you Adam.


(Sree Susmitha) #8

Since findbugs is made incompatible in Sonarqube 7.4 i have to import the reports.But under external analysers section only options for checkstyle and pmd is available and no option to import findbugs reports.Please help me with a solution that how can I add those reports.


(Colin Mueller) #10

SonarQube 7.2+ w/ SonarJava 5.6+ does support the import of SpotBugs reports (which, due to sharing the same output format, supports FindBugs reports as well)

See: https://docs.sonarqube.org/display/PLUG/Importing+SpotBugs%2C+FindSecBugs%2C+PMD%2C+Checkstyle+Issues+Reports


Sonarqube-7.4- No Option to import Findbugs report