Jesse Glick commented on Bug JENKINS-18953

CloverDecoratingLauncher makes no attempt to check whether the command it is decorating is even an Ant command at all! For example:

[…] $ cleartool endview -server …

FATAL: Index: 2, Size: 2
java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
	at java.util.ArrayList.rangeCheck(ArrayList.java:604)
	at java.util.ArrayList.get(ArrayList.java:382)
	at hudson.plugins.clover.CloverBuildWrapper$CloverDecoratingLauncher.decorateArgs(CloverBuildWrapper.java:224)
	at hudson.plugins.clover.CloverBuildWrapper$CloverDecoratingLauncher.launch(CloverBuildWrapper.java:199)
	at hudson.Launcher$ProcStarter.start(Launcher.java:353)
	at hudson.plugins.clearcase.HudsonClearToolLauncher.getLaunchedProc(HudsonClearToolLauncher.java:71)
	at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:143)
	at hudson.plugins.clearcase.ClearToolExec.version(ClearToolExec.java:865)
	at hudson.plugins.clearcase.ClearToolExec.doesSetcsSupportOverride(ClearToolExec.java:181)
	at hudson.plugins.clearcase.ClearToolExec.setcs(ClearToolExec.java:1079)
	at hudson.plugins.clearcase.ClearToolExec.setcs2(ClearToolExec.java:770)
	at hudson.plugins.clearcase.action.BaseSnapshotCheckoutAction.checkout(BaseSnapshotCheckoutAction.java:80)
	at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:383)
	at hudson.model.AbstractProject.checkout(AbstractProject.java:1411)
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