Export to GitHub

build-pipeline-plugin - issue #93

Plugin fails on projects with circular pipelines


Posted on May 15, 2012 by Happy Bird

What steps will reproduce the problem? 1. Create a 3-4 projects 2. Make them trigger each other as downstream A->B->C->D->A 3. Create a pipeline view with one of these projects as the starting point

What is the expected output? What do you see instead? > I don't know exactly what to expect, as I don't necessarily expect the plugin to "support" this scenario, but it should at least not crash with a StackOverflowError.

What version of the product are you using? On what operating system? 1.2.3 on some variant of Windows

Please provide any additional information below.

commons.jelly.JellyTagException: jar:file:/C:/Users/Administrator/.hudson/war/WEB-INF/lib/jenkins-core-1.448.jar!/hudson/model/View/index.jelly:39:43: <st:include> java.lang.StackOverflowError at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:735) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:290) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98) at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)

Status: New

Labels:
Type-Defect Priority-Medium