I don’t know why I suddenly get a StackOverflowError whatever task I’m calling in my multiproject build. The curious thing is: I did not change but removed a dependsOn statement on the WAR task. (the plugin: ‘eclipse-wtp’ is only defined in those projects which produce WAR artifact.)
Now, wenn running with “–stacktrace” I can see Gradle is apparently running in some endless loop:
Caused by: java.lang.StackOverflowError
at org.gradle.plugins.ide.eclipse.EclipseWtpPlugin$this$3$eachDependedUponEclipseProject.callCurrent(Unknown Sou
rce)
at org.gradle.plugins.ide.eclipse.EclipseWtpPlugin.eachDependedUponEclipseProject(EclipseWtpPlugin.groovy:231)
at org.gradle.plugins.ide.eclipse.EclipseWtpPlugin.this$3$eachDependedUponEclipseProject(EclipseWtpPlugin.groovy
)
at org.gradle.plugins.ide.eclipse.EclipseWtpPlugin$this$3$eachDependedUponEclipseProject.callCurrent(Unknown Sou
rce)
at org.gradle.plugins.ide.eclipse.EclipseWtpPlugin.eachDependedUponEclipseProject(EclipseWtpPlugin.groovy:231)
at org.gradle.plugins.ide.eclipse.EclipseWtpPlugin.this$3$eachDependedUponEclipseProject(EclipseWtpPlugin.groovy
)
at org.gradle.plugins.ide.eclipse.EclipseWtpPlugin$this$3$eachDependedUponEclipseProject.callCurrent(Unknown Sou
rce)
at org.gradle.plugins.ide.eclipse.EclipseWtpPlugin.eachDependedUponEclipseProject(EclipseWtpPlugin.groovy:231)
at org.gradle.plugins.ide.eclipse.EclipseWtpPlugin.this$3$eachDependedUponEclipseProject(EclipseWtpPlugin.groovy
)
....
Any idea what’s going wrong here?