-
Bug
-
Resolution: Not A Defect
-
Major
I have jenkins running with tomcat 5.
When I log in as tomcat or as username I can perform a check out of my project :
export CVS_RSH=/usr/bin/ssh export CVSROOT=:ext:username@server:/path/to/my/cvs cvs co myproject # enter password
When I let jenkins perform the check out it fails :
Started by an SCM change Building remotely on Local slave in workspace .jenkins-slave/workspace/MYPROJECT Using locally configured password for connection to :ext:username@server:/path/to/my/cvs cvs checkout -P -D 24 Apr 2013 09:06:19 +0200 -d MYPROJECT myproject ERROR: CVS Command failed: Can't find bundle for base name org.netbeans.lib.cvsclient.response.Bundle, locale en_US java.util.MissingResourceException: Can't find bundle for base name org.netbeans.lib.cvsclient.response.Bundle, locale en_US at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1539) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1278) at java.util.ResourceBundle.getBundle(ResourceBundle.java:733) at org.netbeans.lib.cvsclient.response.ResponseFactory.createResponse(ResponseFactory.java:126) at org.netbeans.lib.cvsclient.Client.handleResponse(Client.java:645) at org.netbeans.lib.cvsclient.Client.processRequests(Client.java:598) at org.netbeans.lib.cvsclient.command.checkout.CheckoutCommand.execute(CheckoutCommand.java:348) at org.netbeans.lib.cvsclient.Client.executeCommand(Client.java:710) at hudson.scm.AbstractCvs$1.invoke(AbstractCvs.java:262) at hudson.scm.AbstractCvs$1.invoke(AbstractCvs.java:242) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2387) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:679) ERROR: Cvs task failed An attempt to send an e-mail to empty list of recipients, ignored. Finished: FAILURE
I don't understand the error and I don't see why it wouldn't work when jenkins does it.
Any idea ?
It seems that the cvs client is attempting to perform a locale specific action, but can't find the resource bundles to allow it to do this (the bundles are there in Git so there seems to be an issue with the build packaging them in the JAR).
The action being attempted at the time you get this exception was the building of an exception message for an unknown response from the CVS server:
where
{0}= responseName,
{1}= cvsServer,
{2}= cvsExe
Could you confirm what version of CVS Server you're running, since that should be the only factor in this error message that impacts you?