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

Unable to start a concurrent build when there are nodeParameterValues

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I am unable to start a concurrent build in my project, following is the stack trace

      next nodes: [master]FATAL: Source does not fit in dest
      java.lang.IndexOutOfBoundsException: Source does not fit in dest
      at java.util.Collections.copy(Collections.java:531)
      at org.jvnet.jenkins.plugins.nodelabelparameter.wrapper.TriggerNextBuildWrapper.triggerAllBuildsConcurrent(TriggerNextBuildWrapper.java:110)
      at org.jvnet.jenkins.plugins.nodelabelparameter.wrapper.TriggerNextBuildWrapper.setUp(TriggerNextBuildWrapper.java:75)
      at hudson.model.Build$RunnerImpl.doRun(Build.java:133)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:475)
      at hudson.model.Run.run(Run.java:1421)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:238)

      Fix:

      Change line TriggerNextBuildWrapper.java:109
      From List<ParameterValue> copies = new ArrayList<ParameterValue>(newPrams.size());
      To List<ParameterValue> copies = new ArrayList<ParameterValue>(newPrams);

      Ref : http://stackoverflow.com/questions/6147650/java-lang-indexoutofboundsexception-source-does-not-fit-in-dest

        Attachments

          Activity

          sbalagiri BalagiriPrasad S created issue -
          scm_issue_link SCM/JIRA link daemon made changes -
          Field Original Value New Value
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 144171 ] JNJira + In-Review [ 190946 ]

            People

            • Assignee:
              domi Dominik Bartholdi
              Reporter:
              sbalagiri BalagiriPrasad S
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: