Issue Type: Bug Bug
Assignee: Unassigned
Attachments: 389-build.xml, 389-log, job-config.xml
Components: p4-plugin
Created: 11/Nov/14 9:51 PM
Description:

Jenkins jobs fail with an IndexOutOfBoundsException using the latest p4-plugin.

Console output from a job:

Started by user anonymous
Building remotely on yeti (centos6 centos) in workspace /home/jenkins/yeti/workspace/tofino-basic
FATAL: Index: 0, Size: 0
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
	at java.util.ArrayList.rangeCheck(ArrayList.java:635)
	at java.util.ArrayList.get(ArrayList.java:411)
	at org.jenkinsci.plugins.p4.PerforceScm.setBuildLabel(PerforceScm.java:237)
	at org.jenkinsci.plugins.p4.PerforceScm.checkout(PerforceScm.java:200)
	at hudson.model.AbstractProject.checkout(AbstractProject.java:1259)
	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:622)
	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:528)
	at hudson.model.Run.execute(Run.java:1759)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:89)
	at hudson.model.Executor.run(Executor.java:240)

Attached are the build.xml file and the job config/log files. (Note: I've switched back to the 1.0.17-SNAPSHOT build that fixed JENKINS-25300

Environment: Jenkins 1.589
p4-plugin 1.0.17
Project: Jenkins
Priority: Critical Critical
Reporter: Glen Gibb
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to