[ 
https://issues.jenkins-ci.org/browse/JENKINS-13704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=162694#comment-162694
 ] 

SCM/JIRA link daemon commented on JENKINS-13704:
------------------------------------------------

Code changed in jenkins
User: imod
Path:
 
src/main/java/org/jvnet/jenkins/plugins/nodelabelparameter/wrapper/TriggerNextBuildWrapper.java
http://jenkins-ci.org/commit/nodelabelparameter-plugin/15bbd1ad02391476d98e5ad5b17e9be15a386450
Log:
  [FIXED JENKINS-13704] Unable to start a concurrent build when there are 
nodeParameterValues



                
> Unable to start a concurrent build when there are nodeParameterValues
> ---------------------------------------------------------------------
>
>                 Key: JENKINS-13704
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-13704
>             Project: Jenkins
>          Issue Type: Bug
>          Components: nodelabelparameter
>    Affects Versions: current
>         Environment: Master : Windows, Node : Linux
>            Reporter: BalagiriPrasad S
>            Assignee: domi
>            Priority: Blocker
>              Labels: exception, jenkins, nodelabelparameter, plugin
>
> 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to