Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clirr is not compatible with SonarQube 6.0 #4

Closed
amedee opened this issue Oct 5, 2016 · 3 comments
Closed

Clirr is not compatible with SonarQube 6.0 #4

amedee opened this issue Oct 5, 2016 · 3 comments

Comments

@amedee
Copy link

amedee commented Oct 5, 2016

Clirr 1.3 installed in SonarQube 6.0.

Running an analysis gives this error:

Caused by: java.lang.NoSuchMethodError: org.sonar.plugins.java.api.JavaResourceLocator.findResourceByClassName(Ljava/lang/String;)Lorg/sonar/api/resources/Resource;
    at org.sonar.plugins.clirr.ClirrSensor.saveIssues(ClirrSensor.java:94)
    at org.sonar.plugins.clirr.ClirrSensor.analyse(ClirrSensor.java:76)

Full error at http://stackoverflow.com/questions/39849825/sonarqube-6-0-analysis-fails-on-module-without-code

@henryju
Copy link
Contributor

henryju commented Oct 5, 2016

This is an incompatibility with the Java plugin. No (direct) relation with SonarQube 6.0.

@amedee
Copy link
Author

amedee commented Oct 6, 2016

  1. Does that make this issue a duplicate of Fix compatibility with recent versions of Java plugin #3 ?
  2. The code base of the Clirr plugin isn't too big, how easy/hard would it be if I would attempt to solve it myself and submit a pull request? No idea where to start, I know Java but I never did any "real" Java development.

@henryju
Copy link
Contributor

henryju commented Oct 7, 2016

Indeed, that's a duplicate so let's close this issue and continue discussion on #3. This plugin is no more maintained by SonarSource so you can provide a fix. I don't know how hard it is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants