Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-14828

Rebuilder plugin crashes when used in conjunction with Extended Choice Parameter

      If you click the Rebuild button on a project that uses extended choice parameter, you get an exception similar to:

      Status Code: 500
      Exception: org.apache.commons.jelly.JellyTagException: file:/disk01/jenkins/plugins/rebuild/WEB-INF/classes/com/sonyericsson/rebuild/RebuildAction/index.jelly:54:63: <st:include> No page found 'ExtendedChoiceParameterValue.jelly' for class com.sonyericsson.rebuild.RebuildAction
      Stacktrace:

      javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: file:/disk01/jenkins/plugins/rebuild/WEB-INF/classes/com/sonyericsson/rebuild/RebuildAction/index.jelly:54:63: <st:include> No page found 'ExtendedChoiceParameterValue.jelly' for class com.sonyericsson.rebuild.RebuildAction
      at org.kohsuke.stapler.jelly.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.java:112)
      at org.kohsuke.stapler.jelly.JellyFacet.handleIndexRequest(JellyFacet.java:127)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:563)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)
      at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:384)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)
      at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:384)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)
      at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:488)
      at org.kohsuke.stapler.Stapler.service(Stapler.java:162)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
      at winstone.ServletConfiguration.execute(ServletConfiguration.java:248)
      at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95)
      at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:202)
      at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:175)
      at net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:86)
      at org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:84)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98)
      at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:63)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
      at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:50)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      at winstone.RequestDispatcher.forward(RequestDispatcher.java:331)
      at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:215)
      at winstone.RequestHandlerThread.run(RequestHandlerThread.java:138)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      at java.lang.Thread.run(Thread.java:679)
      Caused by: org.apache.commons.jelly.JellyTagException: file:/disk01/jenkins/plugins/rebuild/WEB-INF/classes/com/sonyericsson/rebuild/RebuildAction/index.jelly:54:63: <st:include> No page found 'ExtendedChoiceParameterValue.jelly' for class com.sonyericsson.rebuild.RebuildAction
      at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:124)
      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.TagSupport.invokeBody(TagSupport.java:161)
      at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150)
      at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270)
      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.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
      at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119)
      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)
      at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119)
      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.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
      at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119)
      at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
      at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:81)
      at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:63)
      at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:53)
      at org.kohsuke.stapler.jelly.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.java:107)
      ... 69 more

          [JENKINS-14828] Rebuilder plugin crashes when used in conjunction with Extended Choice Parameter

          evernat added a comment - - edited

          @Josh
          (Sorry for resolving and reopening)

          Do you confirm that the issue which was fixed with JENKINS-8937 in the rebuild plugin v1.7, is now present again ?

          Perhaps, it is because of code removed in this commit of v1.10:
          https://github.com/jenkinsci/rebuild-plugin/commit/40d96a8e5076d7285d7ec10b6a51eb6506b2b650

          evernat added a comment - - edited @Josh (Sorry for resolving and reopening) Do you confirm that the issue which was fixed with JENKINS-8937 in the rebuild plugin v1.7, is now present again ? Perhaps, it is because of code removed in this commit of v1.10: https://github.com/jenkinsci/rebuild-plugin/commit/40d96a8e5076d7285d7ec10b6a51eb6506b2b650

          Danny Staple added a comment - - edited

          The issue is currently still present - but:

          • If you start the build from the UI - the view shows the parameter without a box (as a label, not a text widget), and rebuild will result in the above error.
          • If you start the build via a build.properties file - the view shows the parameter with a box (a text widget), and rebuild will work.

          This is using extended choice plugin 0.23, rebuilder 1.14, and Jenkins ver. 1.480.2.

          Danny Staple added a comment - - edited The issue is currently still present - but: If you start the build from the UI - the view shows the parameter without a box (as a label, not a text widget), and rebuild will result in the above error. If you start the build via a build.properties file - the view shows the parameter with a box (a text widget), and rebuild will work. This is using extended choice plugin 0.23, rebuilder 1.14, and Jenkins ver. 1.480.2.

          Benny Chew added a comment - - edited

          I've updated our Jenkins core to the latest LTS (1.509.1), rebuilder (1.19), extended choice parameter (0.28) - issue is still present.

          However, I've worked around this issue for our use case (which was a single select) by duplicating StringParameterValue.jelly file and naming it as ExtendedChoiceParameterValue.jelly (https://github.com/bchew/rebuild-plugin) which is similar to the workaround posted by centic in this issue: JENKINS-16661

          Benny Chew added a comment - - edited I've updated our Jenkins core to the latest LTS (1.509.1), rebuilder (1.19), extended choice parameter (0.28) - issue is still present. However, I've worked around this issue for our use case (which was a single select) by duplicating StringParameterValue.jelly file and naming it as ExtendedChoiceParameterValue.jelly ( https://github.com/bchew/rebuild-plugin ) which is similar to the workaround posted by centic in this issue: JENKINS-16661

          Code changed in jenkins
          User: Rino
          Path:
          src/main/resources/com/sonyericsson/rebuild/RebuildAction/ExtendedChoiceParameterValue.jelly
          http://jenkins-ci.org/commit/rebuild-plugin/2102137b5b988d46283368c1fb61dd216183b7be
          Log:
          Fixed: JENKINS-14828 - Rebuild plugin crashes when used in conjuction with Extended Choice Parameter
          Added the Jelly file that makes it possible to change the value of the parameter when rebuilding (simple string input box). Unfortunately the type of parameter is not serialized in the job, so it's hard to present a nice gui when rebuilding based on the type of extended choice parameter. We could use the current job configuration, however this might conflict with builds that ran in the past with a different configuration.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Rino Path: src/main/resources/com/sonyericsson/rebuild/RebuildAction/ExtendedChoiceParameterValue.jelly http://jenkins-ci.org/commit/rebuild-plugin/2102137b5b988d46283368c1fb61dd216183b7be Log: Fixed: JENKINS-14828 - Rebuild plugin crashes when used in conjuction with Extended Choice Parameter Added the Jelly file that makes it possible to change the value of the parameter when rebuilding (simple string input box). Unfortunately the type of parameter is not serialized in the job, so it's hard to present a nice gui when rebuilding based on the type of extended choice parameter. We could use the current job configuration, however this might conflict with builds that ran in the past with a different configuration.

          Dirk Richter added a comment - - edited
          • i confirm issue in Jenkins 2.150.2 + Extended Choice Parameter Plug-In 0.76 + Rebuilder 1.29
          • same issue if i try 'Extension Choice Parameter plugin' 1.6.0

          Dirk Richter added a comment - - edited i confirm issue in Jenkins 2.150.2 + Extended Choice Parameter Plug-In 0.76 + Rebuilder 1.29 same issue if i try 'Extension Choice Parameter plugin' 1.6.0

          ethorsa added a comment -

          I run into the same problem as in JENKINS-22197:

          • Jenkins 2.176.1
          • Extended Choice Parameter 0.78
          • Rebuilder 1.31

          ethorsa added a comment - I run into the same problem as in  JENKINS-22197 : Jenkins 2.176.1 Extended Choice Parameter 0.78 Rebuilder 1.31

          Geoff Alexander added a comment - - edited

          Can I get a status update on when a fix for this issue might be made available?  What is the general status of the Rebuilder plugin?  The reason I ask because the latest release of the Rebuilder plugin was nearly two years ago (Apr 28, 2019).

          Geoff Alexander added a comment - - edited Can I get a status update on when a fix for this issue might be made available?  What is the general status of the Rebuilder plugin?  The reason I ask because the latest release of the Rebuilder plugin was nearly two years ago (Apr 28, 2019).

          Max Cascone added a comment -

          Seconding gdlxn's request. Can we get this back on people's radar please?

          Max Cascone added a comment - Seconding gdlxn 's request. Can we get this back on people's radar please?

            ragesh_nair ragesh_nair
            davidsj2 Josh Davidson
            Votes:
            13 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated: