-
Notifications
You must be signed in to change notification settings - Fork 50
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
SonarQube 7.9.3 LTS Exception #190
Comments
Hi @jolt23, thanks for reporting this. It seems there is a conflicting version of Guava on the classpath. At a glance, the way Guava is managed as a dependency seems in line with the recommendations so we're not sure where the root cause is yet. In theory, every plugin should use its own classloader and I can see that Guava 28 gets included in the Jar file. This could have to do with the dependencies on the Java plugin and the HTML plugin, although I'd expect this bug to crop up immediately after installing the plugin anywhere if that were the only cause. It may have to do with one of the other plugins you have installed. The configuration attached is very helpful. We'll reproduce this and try to find it. |
Quick note, other than solving the dependency conflict, we could consider a quick fix and rewrite those lines to use a more widely available API. That way this conflict may be rendered harmless. Worth a try before jumping down the rabbit hole. Interestingly, the top two lines of the stack trace belong to Guava.
In other words, a version of |
Hi @jolt23, |
@jplucinski we tried changing sonar-java-plugin back to 6.1 from 6.3 but still having the same issue with the dependency clash. For now we will keep version aem-rules 1.0 as it works. I will try to do more testing today and will let you know if I find anything else. |
Fresh installation of SonarQube 8.3.1 in docker (official image) -> Developer Edition |
Hi @jolt23, we're releasing v1.2, which should fix this. Sorry it took so long. |
@toniedzwiedz no worries, I will add this on our next sprint to upgrade the plugin and validate. |
@toniedzwiedz this issue can be closed we validated in several environments no issues during startup with v1.2. |
We are currently upgrading to 7.9.3 Developer Edition LTS and have stumbled on the following exeption being drown during start up when aem-rules 1.1 plugin is installed.
We can reproduce this on our locals, running docker containers as well. Switching back to version 1.0 of the plugin has worked however we have yet run analysis to test the results.
I have attached a sample of what our configuration / plugin installation looks like.
sonarqube-support-info-46AF5D23-AXHLLS0UyRA2i4P9ZRxN-2020-5-5-14-13.json.zip
The text was updated successfully, but these errors were encountered: