When Clicking A Folder That Contains Build Pipelines Causes An Oops! Screen With This Stack Trace

Issue

The Build Pipeline Plugin v1.4.6 or greater causes a Class Cast Exception:

javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: jar:file:/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-1.580.13.jar!/hudson/model/View/index.jelly:42:43: <st:include> java.lang.ClassCastException 
 at org.kohsuke.stapler.jelly.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.java:117) 
 at org.kohsuke.stapler.jelly.JellyFacet.handleIndexRequest(JellyFacet.java:127) 
 at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:734) 
 at org.kohsuke.stapler.Stapler.invoke(Stapler.java:875) 
 at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:812) 
 at org.kohsuke.stapler.Stapler.invoke(Stapler.java:875) 
 at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:249) 
 at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) 
 at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:745) 
 at org.kohsuke.stapler.Stapler.invoke(Stapler.java:875) 
 at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:249) 
 at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) 
 at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:745) 
 at org.kohsuke.stapler.Stapler.invoke(Stapler.java:875) 
 at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:249)

Environment

CloudBees Jenkins Enterprise

Jenkins

Resolution

Downgrade the Build Pipeline Plugin to v1.4.5 as workaround to avoid this issue.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.