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

Parameter Configuration Slicing exception

    Details

    • Type: Bug
    • Status: Fixed but Unreleased (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Labels:
      None
    • Environment:
      Jenkins 1.532.1 Configuration Slicing plugin 1.38.3
    • Similar Issues:

      Description

      I get the following exception whenever I try to use the configuration slicer to edit job parameters:

      2014-02-11_21:05:50.75242 java.lang.reflect.InvocationTargetException
      2014-02-11_21:05:50.75243 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2014-02-11_21:05:50.75246 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      2014-02-11_21:05:50.75247 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      2014-02-11_21:05:50.75247 at java.lang.reflect.Method.invoke(Method.java:616)
      2014-02-11_21:05:50.75248 at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:297)
      2014-02-11_21:05:50.75248 at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:160)
      2014-02-11_21:05:50.75249 at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:95)
      2014-02-11_21:05:50.75249 at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111)
      2014-02-11_21:05:50.75250 at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      2014-02-11_21:05:50.75250 at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:685)
      2014-02-11_21:05:50.75250 at org.kohsuke.stapler.Stapler.invoke(Stapler.java:799)
      2014-02-11_21:05:50.75251 at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:381)
      2014-02-11_21:05:50.75252 at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:685)
      2014-02-11_21:05:50.75253 at org.kohsuke.stapler.Stapler.invoke(Stapler.java:799)
      2014-02-11_21:05:50.75253 at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:381)
      2014-02-11_21:05:50.75254 at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:685)
      2014-02-11_21:05:50.75254 at org.kohsuke.stapler.Stapler.invoke(Stapler.java:799)
      2014-02-11_21:05:50.75255 at org.kohsuke.stapler.Stapler.invoke(Stapler.java:587)
      2014-02-11_21:05:50.75255 at org.kohsuke.stapler.Stapler.service(Stapler.java:218)
      2014-02-11_21:05:50.75256 at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
      2014-02-11_21:05:50.75256 at winstone.ServletConfiguration.execute(ServletConfiguration.java:248)
      2014-02-11_21:05:50.75256 at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
      2014-02-11_21:05:50.75257 at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376)
      2014-02-11_21:05:50.75257 at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:96)
      2014-02-11_21:05:50.75258 at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:203)
      2014-02-11_21:05:50.75258 at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:181)
      2014-02-11_21:05:50.75259 at net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:86)
      2014-02-11_21:05:50.75259 at org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:90)
      2014-02-11_21:05:50.75263 at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:99)
      2014-02-11_21:05:50.75265 at hudson.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:66)
      2014-02-11_21:05:50.75267 at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:99)
      2014-02-11_21:05:50.75269 at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88)
      2014-02-11_21:05:50.75271 at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      2014-02-11_21:05:50.75273 at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      2014-02-11_21:05:50.75275 at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48)
      2014-02-11_21:05:50.75277 at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      2014-02-11_21:05:50.75279 at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      2014-02-11_21:05:50.75281 at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      2014-02-11_21:05:50.75282 at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
      2014-02-11_21:05:50.75284 at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      2014-02-11_21:05:50.75286 at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)
      2014-02-11_21:05:50.75289 at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      2014-02-11_21:05:50.75291 at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
      2014-02-11_21:05:50.75293 at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      2014-02-11_21:05:50.75295 at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
      2014-02-11_21:05:50.75297 at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      2014-02-11_21:05:50.75299 at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
      2014-02-11_21:05:50.75301 at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      2014-02-11_21:05:50.75303 at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174)
      2014-02-11_21:05:50.75305 at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      2014-02-11_21:05:50.75307 at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:64)
      2014-02-11_21:05:50.75312 at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      2014-02-11_21:05:50.75314 at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
      2014-02-11_21:05:50.75316 at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67)
      2014-02-11_21:05:50.75318 at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      2014-02-11_21:05:50.75320 at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      2014-02-11_21:05:50.75324 at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
      2014-02-11_21:05:50.75326 at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      2014-02-11_21:05:50.75330 at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      2014-02-11_21:05:50.75335 at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:46)
      2014-02-11_21:05:50.75337 at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      2014-02-11_21:05:50.75339 at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      2014-02-11_21:05:50.75342 at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
      2014-02-11_21:05:50.75344 at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      2014-02-11_21:05:50.75347 at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      2014-02-11_21:05:50.75350 at winstone.RequestDispatcher.forward(RequestDispatcher.java:331)
      2014-02-11_21:05:50.75354 at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:227)
      2014-02-11_21:05:50.75356 at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
      2014-02-11_21:05:50.75358 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      2014-02-11_21:05:50.75361 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      2014-02-11_21:05:50.75364 at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      2014-02-11_21:05:50.75366 at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
      2014-02-11_21:05:50.75367 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
      2014-02-11_21:05:50.75369 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      2014-02-11_21:05:50.75372 at java.lang.Thread.run(Thread.java:679)
      2014-02-11_21:05:50.75375 Caused by: java.lang.IllegalArgumentException: No choices found
      2014-02-11_21:05:50.75376 at hudson.model.ChoiceParameterDefinition.<init>(ChoiceParameterDefinition.java:26)
      2014-02-11_21:05:50.75378 at configurationslicing.parameters.ParametersSlicer$ParametersSliceSpec.newParameterDefinition(ParametersSlicer.java:128)
      2014-02-11_21:05:50.75383 at configurationslicing.parameters.ParametersSlicer$ParametersSliceSpec.replace(ParametersSlicer.java:117)
      2014-02-11_21:05:50.75385 at configurationslicing.parameters.ParametersSlicer$ParametersSliceSpec.setValues(ParametersSlicer.java:99)
      2014-02-11_21:05:50.75388 at configurationslicing.parameters.ParametersSlicer$ParametersSliceSpec.setValues(ParametersSlicer.java:33)
      2014-02-11_21:05:50.75390 at configurationslicing.UnorderedStringSlicer.transform(UnorderedStringSlicer.java:100)
      2014-02-11_21:05:50.75392 at configurationslicing.UnorderedStringSlicer.transform(UnorderedStringSlicer.java:6)
      2014-02-11_21:05:50.75394 at configurationslicing.ConfigurationSlicing$SliceExecutor.transform(ConfigurationSlicing.java:135)
      2014-02-11_21:05:50.75398 at configurationslicing.ConfigurationSlicing$SliceExecutor.doSliceconfigSubmit(ConfigurationSlicing.java:179)
      2014-02-11_21:05:50.75400 ... 75 more

        Attachments

          Activity

            People

            • Assignee:
              mdonohue mdonohue
              Reporter:
              hhmw M W
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: