FYI I solved this and fixed the bug in the CVS client being used
(https://github.com/mc1arke/cvsclient/pull/1). Do I need to raise a
JIRA issue to make sure it is included in the next plugin release?

Thanks,
James

On Mon, Mar 19, 2012 at 12:59 PM, James Carr <[email protected]> wrote:
> Hi All,
>
> I recently upgraded the CVS plugin to fix the issue identified by
> issue 
> https://issues.jenkins-ci.org/browse/JENKINS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel.
> Although this works for all of our projects, projects hosted on one
> particular CVS server now get this error when checking out:
>
> Started by an SCM change
> cvs checkout -P -D 19 Mar 2012 11:30:54 CDT -d workspace traveler-webapp
> cvs checkout: Updating workspace
> ERROR: CVS Command failed: 1
> java.lang.ArrayIndexOutOfBoundsException: 1
>        at 
> org.netbeans.lib.cvsclient.file.DefaultFileHandler.setFileMode(DefaultFileHandler.java:588)
>        at 
> org.netbeans.lib.cvsclient.file.DefaultFileHandler.writeAndPostProcessTextFile(DefaultFileHandler.java:341)
>        at 
> org.netbeans.lib.cvsclient.file.DefaultFileHandler.writeTextFile(DefaultFileHandler.java:303)
>        at 
> org.netbeans.lib.cvsclient.response.UpdatedResponse.process(UpdatedResponse.java:178)
>        at 
> org.netbeans.lib.cvsclient.response.CreatedResponse.process(CreatedResponse.java:54)
>        at org.netbeans.lib.cvsclient.Client.handleResponse(Client.java:648)
>        at org.netbeans.lib.cvsclient.Client.processRequests(Client.java:598)
>        at 
> org.netbeans.lib.cvsclient.command.checkout.CheckoutCommand.postExpansionExecute(CheckoutCommand.java:462)
>        at 
> org.netbeans.lib.cvsclient.command.checkout.CheckoutCommand.execute(CheckoutCommand.java:355)
>        at org.netbeans.lib.cvsclient.Client.executeCommand(Client.java:710)
>        at hudson.scm.CVSSCM$2.invoke(CVSSCM.java:893)
>        at hudson.scm.CVSSCM$2.invoke(CVSSCM.java:873)
>        at hudson.FilePath.act(FilePath.java:785)
>        at hudson.FilePath.act(FilePath.java:767)
>        at hudson.scm.CVSSCM.perform(CVSSCM.java:873)
>        at hudson.scm.CVSSCM.checkout(CVSSCM.java:805)
>        at hudson.model.AbstractProject.checkout(AbstractProject.java:1195)
>        at 
> hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:568)
>        at 
> hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:456)
>        at hudson.model.Run.run(Run.java:1404)
>        at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
>        at hudson.model.ResourceController.execute(ResourceController.java:88)
>        at hudson.model.Executor.run(Executor.java:230)
> ERROR: Cvs task failed
> Recording test results
> Finished: FAILURE
>
>
> I am digging in and trying to figure out what the heck the problem is,
> but if anyone has an idea I'd be happy to know!
>
> Thanks,
> James

Reply via email to