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

IllegalArgumentException when Rebuilding a project with nodelabel

XMLWordPrintable

      When rebuilding a parameterized job with a node label parameter I get the following exception (I am not sure if it is an error in the nodelabelparameter or rebuild plugin):

      Caused by: java.lang.IllegalArgumentException: at least one label must be given!
      at org.jvnet.jenkins.plugins.nodelabelparameter.NodeParameterValue.<init>(NodeParameterValue.java:47)
      at org.jvnet.jenkins.plugins.nodelabelparameter.NodeParameterDefinition.createValue(NodeParameterDefinition.java:182)
      at com.sonyericsson.rebuild.RebuildAction.getParameterValue(RebuildAction.java:295)
      at com.sonyericsson.rebuild.RebuildAction.doConfigSubmit(RebuildAction.java:237)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:288)
      at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:151)
      at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:90)
      at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:573)
      ... 73 more

            domi Dominik Bartholdi
            bruce Dirk Kuypers
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: