[GRADLE-2092] Gradle misbehaves when there is a cycle in the chain of parent POMs Created: 09/Feb/12  Updated: 10/Feb/17  Resolved: 10/Feb/17

Status: Resolved
Project: Gradle
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Gradle Forums Assignee: Unassigned
Resolution: Won't Fix Votes: 0


 Description   

Hi

I'm trying to perform a build using a script that works just fine on our build server, but I get the following error when building locally. I've tried this on milestone 6 and 7, both give the same error. Does anyone have any ideas?

I notice "Caused by: java.lang.NumberFormatException: For input string: "61D??????????????
??????????????????????"" in the log, but there's no 61D in the pom file that it was checking when the error occurred.

Thanks
Lee

> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [1]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [2]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [3]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [4]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [5]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [6]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [7]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [8]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [9]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [10]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [11]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [12]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [13]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [14]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [15]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [16]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [17]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [18]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [19]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [20]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [21]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [22]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [23]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [24]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [25]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [26]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [27]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [28]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [29]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [30]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [31]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [32]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [33]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [34]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [35]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [36]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [37]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [38]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [39]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [40]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [41]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [42]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [43]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [44]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [45]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [46]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [47]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [48]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [49]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [50]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [51]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [52]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
Download [53]http://192.168.0.52:8081/artifactory/...
g/1.2/displaytag-1.2.pom
> Building > :compileJava > Resolving dependencies ':compile' > 4 KB/4 KB downlo
> Building > :compileJava > Resolving dependencies ':compile'org.gradle.listener
.ListenerNotificationException: Failed to notify output event listener.
at org.gradle.messaging.dispatch.BroadcastDispatch.dispatch(BroadcastDis
patch.java:97)
at org.gradle.messaging.dispatch.BroadcastDispatch.dispatch(BroadcastDis
patch.java:32)
at org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocat
ionHandler.invoke(ProxyDispatchAdapter.java:75)
at $Proxy0.onOutput(Unknown Source)
at org.gradle.logging.internal.OutputEventRenderer.onOutput(OutputEventR
enderer.java:168)
at org.gradle.logging.internal.Slf4jLoggingConfigurer$Appender.append(Sl
f4jLoggingConfigurer.java:158)
at org.gradle.logging.internal.Slf4jLoggingConfigurer$Appender.append(Sl
f4jLoggingConfigurer.java:145)
at ch.qos.logback.core.AppenderBase.doAppend(AppenderBase.java:85)
at ch.qos.logback.core.spi.AppenderAttachableImpl.appendLoopOnAppenders(
AppenderAttachableImpl.java:53)
at ch.qos.logback.classic.Logger.appendLoopOnAppenders(Logger.java:282)
at ch.qos.logback.classic.Logger.callAppenders(Logger.java:269)
at ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:
470)
at ch.qos.logback.classic.Logger.filterAndLog_0_Or3Plus(Logger.java:424)

at ch.qos.logback.classic.Logger.error(Logger.java:587)
at org.gradle.messaging.dispatch.ExceptionTrackingFailureHandler.dispatc
hFailed(ExceptionTrackingFailureHandler.java:32)
at org.gradle.messaging.dispatch.BroadcastDispatch.dispatch(BroadcastDis
patch.java:92)
at org.gradle.messaging.dispatch.BroadcastDispatch.dispatch(BroadcastDis
patch.java:32)
at org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocat
ionHandler.invoke(ProxyDispatchAdapter.java:75)
at $Proxy8.buildFinished(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionD
ispatch.java:35)
at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionD
ispatch.java:24)
at org.gradle.messaging.dispatch.BroadcastDispatch.dispatch(BroadcastDis
patch.java:88)
at org.gradle.messaging.dispatch.BroadcastDispatch.dispatch(BroadcastDis
patch.java:32)
at org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocat
ionHandler.invoke(ProxyDispatchAdapter.java:75)
at $Proxy8.buildFinished(Unknown Source)
at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradle
Launcher.java:113)
at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLaun
cher.java:76)
at org.gradle.launcher.cli.RunBuildAction.execute(RunBuildAction.java:42
)
at org.gradle.launcher.cli.RunBuildAction.execute(RunBuildAction.java:28
)
at org.gradle.launcher.exec.ExceptionReportingAction.execute(ExceptionRe
portingAction.java:32)
at org.gradle.launcher.exec.ExceptionReportingAction.execute(ExceptionRe
portingAction.java:21)
at org.gradle.launcher.cli.CommandLineActionFactory$WithLoggingAction.ex
ecute(CommandLineActionFactory.java:238)
at org.gradle.launcher.cli.CommandLineActionFactory$WithLoggingAction.ex
ecute(CommandLineActionFactory.java:222)
at org.gradle.launcher.Main.doAction(Main.java:48)
at org.gradle.launcher.exec.EntryPoint$1.execute(EntryPoint.java:53)
at org.gradle.launcher.exec.EntryPoint$1.execute(EntryPoint.java:51)
at org.gradle.launcher.exec.Execution.execute(Execution.java:28)
at org.gradle.launcher.exec.EntryPoint.run(EntryPoint.java:39)
at org.gradle.launcher.Main.main(Main.java:39)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.gradle.launcher.ProcessBootstrap.runNoExit(ProcessBootstrap.java:
51)
at org.gradle.launcher.ProcessBootstrap.run(ProcessBootstrap.java:33)
at org.gradle.launcher.GradleMain.main(GradleMain.java:24)
Caused by: java.lang.NumberFormatException: For input string: "61D??????????????
??????????????????????"
at java.lang.NumberFormatException.forInputString(NumberFormatException.
java:48)
at java.lang.Integer.parseInt(Integer.java:458)
at java.lang.Integer.(Integer.java:660)
at org.fusesource.jansi.AnsiOutputStream.write(AnsiOutputStream.java:114
)
at java.io.FilterOutputStream.write(FilterOutputStream.java:108)
at java.io.PrintStream.write(PrintStream.java:430)
at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:202)
at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:272)
at sun.nio.cs.StreamEncoder.flushBuffer(StreamEncoder.java:85)
at java.io.OutputStreamWriter.flushBuffer(OutputStreamWriter.java:168)
at java.io.PrintStream.write(PrintStream.java:477)
at java.io.PrintStream.print(PrintStream.java:619)
at java.io.PrintStream.append(PrintStream.java:1015)
at java.io.PrintStream.append(PrintStream.java:38)
at org.gradle.logging.internal.AnsiConsole.render(AnsiConsole.java:68)
at org.gradle.logging.internal.AnsiConsole.access$400(AnsiConsole.java:2
9)
at org.gradle.logging.internal.AnsiConsole$Screen.redraw(AnsiConsole.jav
a:102)
at org.gradle.logging.internal.AnsiConsole$TextAreaImpl.doAppend(AnsiCon
sole.java:225)
at org.gradle.logging.internal.AbstractStyledTextOutput.text(AbstractSty
ledTextOutput.java:70)
at org.gradle.logging.internal.StyledTextOutputBackedRenderer$OutputEven
tTextOutputImpl.doAppend(StyledTextOutputBackedRenderer.java:80)
at org.gradle.logging.internal.AbstractStyledTextOutput.text(AbstractSty
ledTextOutput.java:70)
at org.gradle.logging.internal.StyledTextOutputEvent.render(StyledTextOu
tputEvent.java:86)
at org.gradle.logging.internal.StyledTextOutputBackedRenderer.onOutput(S
tyledTextOutputBackedRenderer.java:58)
at org.gradle.logging.internal.ProgressLogEventGenerator$Operation.compl
eteHeader(ProgressLogEventGenerator.java:125)
at org.gradle.logging.internal.ProgressLogEventGenerator.doOutput(Progre
ssLogEventGenerator.java:56)
at org.gradle.logging.internal.ProgressLogEventGenerator.onOutput(Progre
ssLogEventGenerator.java:48)
at org.gradle.logging.internal.ConsoleBackedProgressRenderer.onOutput(Co
nsoleBackedProgressRenderer.java:46)
at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionD
ispatch.java:35)
at org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionD
ispatch.java:24)
at org.gradle.messaging.dispatch.BroadcastDispatch.dispatch(BroadcastDis
patch.java:88)
... 49 more
----------------------------------------------------------------------------------------
[1] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[2] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[3] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[4] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[5] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[6] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[7] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[8] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[9] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[10] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[11] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[12] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[13] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[14] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[15] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[16] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[17] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[18] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[19] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[20] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[21] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[22] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[23] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[24] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[25] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[26] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[27] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[28] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[29] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[30] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[31] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[32] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[33] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[34] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[35] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[36] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[37] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[38] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[39] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[40] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[41] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[42] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[43] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[44] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[45] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[46] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[47] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[48] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[49] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[50] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[51] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[52] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta
[53] http://192.168.0.52:8081/artifactory/BTF_3rd_party/displaytag/displayta



 Comments   
Comment by Gradle Forums [ 09/Feb/12 ]

Can you give some details about the platform you run gradle? And also the output of gradle -v?

If you could also create a small project that reproduces the problem that would be awesome.

A workaround that might be useful for a time being is to run gradle in quiet mode. From the stack trace I gather that gradle is downloading dependencies and for one of those dependencies the progress logger cannot be notified and hence a failure. Maybe you could nail down this dependency and we could reproduce it.

Hope that helps!

Comment by Gradle Forums [ 09/Feb/12 ]

Thanks for the reply

I found the problem. We had a dependency on displaytag, which worked fine when pointing at maven central, but broke when pointing at our local artifactory. I compared the poms and somehow our pom had a parent project defined that referenced itself. It seemed to cause gradle to go into an infinite loop for a while and then crashed.

Not sure there's anything to be done from a gradle perspective, although a more helpful error message would have been nice!

Comment by Gradle Forums [ 09/Feb/12 ]

Are you saying that one of the POMs was referencing itself as its parent? I think this should be handled gracefully. I've created a JIRA issue.

Comment by Daz DeBoer [ 19/Jan/13 ]

As of Gradle-1.4-rc-1, a self-referencing parent POM will result in:

Caused by: org.gradle.api.internal.artifacts.ivyservice.ModuleVersionResolveException: Could not resolve org:child:1.0.
Required by:
:unknown-test-32:unspecified
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.UserResolverChain.resolve(UserResolverChain.java:65)
at org.gradle.api.internal.artifacts.ivyservice.clientmodule.ClientModuleResolver.resolve(ClientModuleResolver.java:36)
at org.gradle.api.internal.artifacts.ivyservice.projectmodule.ProjectDependencyResolver.resolve(ProjectDependencyResolver.java:45)
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.LazyDependencyToModuleResolver$StaticVersionResolveResult.resolve(LazyDependencyToModuleResolver.java:91)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.DependencyGraphBuilder$ModuleVersionSelectorResolveState.resolve(DependencyGraphBuilder.java:936)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.DependencyGraphBuilder$DefaultModuleRevisionResolveState.getDescriptor(DependencyGraphBuilder.java:650)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.DependencyGraphBuilder$DependencyEdge.calculateTargetConfigurations(DependencyGraphBuilder.java:333)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.DependencyGraphBuilder$DependencyEdge.attachToTargetConfigurations(DependencyGraphBuilder.java:309)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.DependencyGraphBuilder.traverseGraph(DependencyGraphBuilder.java:128)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.DependencyGraphBuilder.resolve(DependencyGraphBuilder.java:64)
at org.gradle.api.internal.artifacts.ivyservice.resolveengine.DefaultDependencyResolver.resolve(DefaultDependencyResolver.java:69)
at org.gradle.api.internal.artifacts.ivyservice.CacheLockingArtifactDependencyResolver$1.create(CacheLockingArtifactDependencyResolver.java:36)
at org.gradle.api.internal.artifacts.ivyservice.CacheLockingArtifactDependencyResolver$1.create(CacheLockingArtifactDependencyResolver.java:34)
at org.gradle.cache.internal.DefaultCacheAccess.useCache(DefaultCacheAccess.java:124)
at org.gradle.cache.internal.DefaultPersistentDirectoryStore.useCache(DefaultPersistentDirectoryStore.java:130)
at org.gradle.api.internal.artifacts.ivyservice.DefaultCacheLockingManager.useCache(DefaultCacheLockingManager.java:53)
at org.gradle.api.internal.artifacts.ivyservice.CacheLockingArtifactDependencyResolver.resolve(CacheLockingArtifactDependencyResolver.java:34)
at org.gradle.api.internal.artifacts.ivyservice.SelfResolvingDependencyResolver.resolve(SelfResolvingDependencyResolver.java:39)
at org.gradle.api.internal.artifacts.ivyservice.ShortcircuitEmptyConfigsArtifactDependencyResolver.resolve(ShortcircuitEmptyConfigsArtifactDependencyResolver.java:44)
at org.gradle.api.internal.artifacts.ivyservice.ErrorHandlingArtifactDependencyResolver.resolve(ErrorHandlingArtifactDependencyResolver.java:37)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.resolveNow(DefaultConfiguration.java:240)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.getResolvedConfiguration(DefaultConfiguration.java:230)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration$ConfigurationFileCollection.getFiles(DefaultConfiguration.java:459)
... 61 more
Caused by: org.gradle.api.internal.artifacts.ivyservice.ModuleVersionResolveException: Could not resolve org:parent:1.0.
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.UserResolverChain.resolve(UserResolverChain.java:65)
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.LoopbackDependencyResolver$1.create(LoopbackDependencyResolver.java:69)
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.LoopbackDependencyResolver$1.create(LoopbackDependencyResolver.java:63)
at org.gradle.cache.internal.DefaultCacheAccess.useCache(DefaultCacheAccess.java:124)
at org.gradle.cache.internal.DefaultPersistentDirectoryStore.useCache(DefaultPersistentDirectoryStore.java:130)
at org.gradle.api.internal.artifacts.ivyservice.DefaultCacheLockingManager.useCache(DefaultCacheLockingManager.java:53)
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.LoopbackDependencyResolver.getDependency(LoopbackDependencyResolver.java:63)
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.parser.GradlePomModuleDescriptorParser.parseOtherPom(GradlePomModuleDescriptorParser.java:269)
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.parser.GradlePomModuleDescriptorParser.parseDescriptor(GradlePomModuleDescriptorParser.java:106)
at org.gradle.api.internal.artifacts.repositories.cachemanager.AbstractRepositoryCacheManager.parseModuleDescriptor(AbstractRepositoryCacheManager.java:80)
at org.gradle.api.internal.artifacts.repositories.cachemanager.DownloadingRepositoryCacheManager.cacheModuleDescriptor(DownloadingRepositoryCacheManager.java:149)
at org.gradle.api.internal.artifacts.repositories.resolver.ExternalResourceResolver.parse(ExternalResourceResolver.java:226)
at org.gradle.api.internal.artifacts.repositories.resolver.ExternalResourceResolver.getDependency(ExternalResourceResolver.java:189)
at org.gradle.api.internal.artifacts.repositories.resolver.MavenResolver.getDependency(MavenResolver.java:76)
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.ExternalResourceResolverAdapter.getDependency(ExternalResourceResolverAdapter.java:35)
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.CacheLockingModuleVersionRepository$1.run(CacheLockingModuleVersionRepository.java:50)
at org.gradle.internal.Factories$1.create(Factories.java:22)
at org.gradle.cache.internal.DefaultCacheAccess.longRunningOperation(DefaultCacheAccess.java:179)
at org.gradle.cache.internal.DefaultCacheAccess.longRunningOperation(DefaultCacheAccess.java:232)
at org.gradle.cache.internal.DefaultPersistentDirectoryStore.longRunningOperation(DefaultPersistentDirectoryStore.java:142)
at org.gradle.api.internal.artifacts.ivyservice.DefaultCacheLockingManager.longRunningOperation(DefaultCacheLockingManager.java:49)
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.CacheLockingModuleVersionRepository.getDependency(CacheLockingModuleVersionRepository.java:48)
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.CachingModuleVersionRepository.getDependency(CachingModuleVersionRepository.java:88)
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.IvyContextualiser$1.invoke(IvyContextualiser.java:44)
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.UserResolverChain$RepositoryResolveState.resolve(UserResolverChain.java:185)
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.UserResolverChain.findLatestModule(UserResolverChain.java:97)
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.UserResolverChain.findLatestModule(UserResolverChain.java:80)
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.UserResolverChain.resolve(UserResolverChain.java:54)
... 83 more
Caused by: java.lang.UnsupportedOperationException
at org.gradle.api.internal.artifacts.repositories.resolver.ExternalResourceResolver.getDependency(ExternalResourceResolver.java:148)
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.parser.GradlePomModuleDescriptorParser.parseOtherPom(GradlePomModuleDescriptorParser.java:269)
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.parser.GradlePomModuleDescriptorParser.parseDescriptor(GradlePomModuleDescriptorParser.java:106)
at org.gradle.api.internal.artifacts.repositories.cachemanager.AbstractRepositoryCacheManager.parseModuleDescriptor(AbstractRepositoryCacheManager.java:80)
at org.gradle.api.internal.artifacts.repositories.cachemanager.DownloadingRepositoryCacheManager.cacheModuleDescriptor(DownloadingRepositoryCacheManager.java:149)
at org.gradle.api.internal.artifacts.repositories.resolver.ExternalResourceResolver.parse(ExternalResourceResolver.java:226)
at org.gradle.api.internal.artifacts.repositories.resolver.ExternalResourceResolver.getDependency(ExternalResourceResolver.java:189)
at org.gradle.api.internal.artifacts.repositories.resolver.MavenResolver.getDependency(MavenResolver.java:76)
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.ExternalResourceResolverAdapter.getDependency(ExternalResourceResolverAdapter.java:35)
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.CacheLockingModuleVersionRepository$1.run(CacheLockingModuleVersionRepository.java:50)
at org.gradle.internal.Factories$1.create(Factories.java:22)
at org.gradle.cache.internal.DefaultCacheAccess.longRunningOperation(DefaultCacheAccess.java:179)
at org.gradle.cache.internal.DefaultCacheAccess.longRunningOperation(DefaultCacheAccess.java:232)
at org.gradle.cache.internal.DefaultPersistentDirectoryStore.longRunningOperation(DefaultPersistentDirectoryStore.java:142)
at org.gradle.api.internal.artifacts.ivyservice.DefaultCacheLockingManager.longRunningOperation(DefaultCacheLockingManager.java:49)
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.CacheLockingModuleVersionRepository.getDependency(CacheLockingModuleVersionRepository.java:48)
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.CachingModuleVersionRepository.getDependency(CachingModuleVersionRepository.java:88)
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.IvyContextualiser$1.invoke(IvyContextualiser.java:44)
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.UserResolverChain$RepositoryResolveState.resolve(UserResolverChain.java:185)
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.UserResolverChain.findLatestModule(UserResolverChain.java:97)
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.UserResolverChain.findLatestModule(UserResolverChain.java:80)
at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.UserResolverChain.resolve(UserResolverChain.java:54)
... 110 more

Comment by Benjamin Muschko [ 15/Nov/16 ]

As announced on the Gradle blog we are planning to completely migrate issues from JIRA to GitHub.

We intend to prioritize issues that are actionable and impactful while working more closely with the community. Many of our JIRA issues are inactionable or irrelevant. We would like to request your help to ensure we can appropriately prioritize JIRA issues you’ve contributed to.

Please confirm that you still advocate for your JIRA issue before December 10th, 2016 by:

  • Checking that your issues contain requisite context, impact, behaviors, and examples as described in our published guidelines.
  • Leave a comment on the JIRA issue or open a new GitHub issue confirming that the above is complete.

We look forward to collaborating with you more closely on GitHub. Thank you for your contribution to Gradle!

Comment by Benjamin Muschko [ 10/Feb/17 ]

Thanks again for reporting this issue. We haven't heard back from you after our inquiry from November 15th. We are closing this issue now. Please create an issue on GitHub if you still feel passionate about getting it resolved.

Generated at Wed Jun 30 12:12:35 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.