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

Build failing with Sonar [SPR-15888] #20443

spring-issuemaster opened this issue Aug 22, 2017 · 1 comment


None yet
2 participants
Copy link

commented Aug 22, 2017

Stéphane Nicoll opened SPR-15888 and commented

The sonar build is failing for quite some time. I can reproduce that locally by having Sonar running on my machine + ./gradlew sonarqube

java.lang.IllegalStateException: Multiple matching methods: ResolvableMethod.Builder[
	objectClass = org.springframework.web.reactive.result.method.annotation.ResponseBodyResultHandlerTests$TestController,
	filters = [
		annotationNotPresent=[interface org.springframework.web.bind.annotation.ResponseBody]
	private static boolean[] org.springframework.web.reactive.result.method.annotation.ResponseBodyResultHandlerTests$TestController.$jacocoInit(),
	public java.lang.String org.springframework.web.reactive.result.method.annotation.ResponseBodyResultHandlerTests$TestController.doWork()
	at org.springframework.util.Assert.state(
	at org.springframework.web.method.ResolvableMethod$
	at org.springframework.web.method.ResolvableMethod$Builder.resolveMethod(
	at org.springframework.web.reactive.result.method.annotation.ResponseBodyResultHandlerTests.supports(
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(
	at java.lang.reflect.Method.invoke(
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(
	at org.junit.internal.runners.statements.RunBefores.evaluate(
	at org.junit.runners.ParentRunner.runLeaf(
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(
	at org.junit.runners.ParentRunner$

Looks like Jacoco is messing up something

Affects: 5.0 RC3

Referenced from: commits 5a51351


This comment has been minimized.

Copy link
Collaborator Author

commented Aug 22, 2017

Stéphane Nicoll commented

The build failure is now fixed but we have other issues with sonarqube executing findbugs itself (related to the Gradle upgrade most probably). Let's park this one for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.