org.tmatesoft.svn.core.SVNCancelException: svn: E200015: authentication cancelled

Jenkins JIRA | Romuald Fleury | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    The NullPointerException below sometimes occures when Jenkins starts an SVN checkout (at the beginning of the job), only with secured HTTP (HTTPS). Can you please catch this exception and log a message with the root cause ? It is a blocker for us to use SVN over HTTPS. We use last versions of every components: Jenkins 1.608 Subversion Plug-in : 2.5 23:00:46 Started by upstream project "Build Pipeline Job" build number 193 23:00:46 originally caused by: 23:00:46 Started by timer 23:00:46 [EnvInject] - Loading node environment variables. 23:00:46 Building remotely on linux-slave1 in workspace /home/app_jenkins/slave1/workspace/XXX Nightly Trunk 23:00:47 Checking out a fresh workspace because there's no workspace at /home/app_jenkins/slave1/workspace/XXX Nightly Trunk 23:00:47 Cleaning local Directory . 23:00:47 Checking out https://svn.company.com/products/xxx/trunk at revision '2015-04-15T23:00:46.930 +0200' 23:00:47 ERROR: Failed to check out https://svn.company.com/products/xxx/trunk 23:00:47 org.tmatesoft.svn.core.SVNCancelException: svn: E200015: authentication cancelled 23:00:47 at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.cancel(SVNErrorManager.java:37) 23:00:47 at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.cancel(SVNErrorManager.java:32) 23:00:47 at org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager.getNextAuthentication(DefaultSVNAuthenticationManager.java:215) 23:00:47 at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:685) 23:00:47 at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:371) 23:00:47 at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:359) 23:00:47 at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.performHttpRequest(DAVConnection.java:710) 23:00:47 at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVConnection.java:627) 23:00:47 at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:102) 23:00:47 at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepository.java:1032) 23:00:47 at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getLatestRevision(DAVRepository.java:175) 23:00:47 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgRepositoryAccess.getRevisionNumber(SvnNgRepositoryAccess.java:118) 23:00:47 at org.tmatesoft.svn.core.internal.wc2.SvnRepositoryAccess.getLocations(SvnRepositoryAccess.java:184) 23:00:47 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgRepositoryAccess.createRepositoryFor(SvnNgRepositoryAccess.java:45) 23:00:47 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.checkout(SvnNgAbstractUpdate.java:756) 23:00:47 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCheckout.run(SvnNgCheckout.java:26) 23:00:47 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCheckout.run(SvnNgCheckout.java:11) 23:00:47 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner.run(SvnNgOperationRunner.java:20) 23:00:47 at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:21) 23:00:47 at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1259) 23:00:47 at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294) 23:00:47 at hudson.scm.subversion.CheckoutUpdater$1.perform(CheckoutUpdater.java:115) 23:00:47 at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:162) 23:00:47 at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:170) 23:00:47 at hudson.scm.subversion.UpdateUpdater$TaskImpl.perform(UpdateUpdater.java:133) 23:00:47 at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:162) 23:00:47 at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:991) 23:00:47 at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:972) 23:00:47 at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:948) 23:00:47 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2688) 23:00:47 at hudson.remoting.UserRequest.perform(UserRequest.java:118) 23:00:47 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 23:00:47 at hudson.remoting.Request$2.run(Request.java:328) 23:00:47 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 23:00:47 at java.util.concurrent.FutureTask.run(FutureTask.java:262) 23:00:47 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 23:00:47 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 23:00:47 at java.lang.Thread.run(Thread.java:744) 23:00:47 FATAL: null 23:00:47 java.lang.NullPointerException 23:00:47 at java.util.ArrayList.addAll(ArrayList.java:559) 23:00:47 at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:897) 23:00:47 at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:833) 23:00:47 at hudson.scm.SCM.checkout(SCM.java:484) 23:00:47 at hudson.model.AbstractProject.checkout(AbstractProject.java:1270) 23:00:47 at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609) 23:00:47 at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) 23:00:47 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:531) 23:00:47 at hudson.model.Run.execute(Run.java:1741) 23:00:47 at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531) 23:00:47 at hudson.model.ResourceController.execute(ResourceController.java:98) 23:00:47 at hudson.model.Executor.run(Executor.java:374)

    Jenkins JIRA | 2 years ago | Romuald Fleury
    org.tmatesoft.svn.core.SVNCancelException: svn: E200015: authentication cancelled
  2. 0

    The NullPointerException below sometimes occures when Jenkins starts an SVN checkout (at the beginning of the job), only with secured HTTP (HTTPS). Can you please catch this exception and log a message with the root cause ? It is a blocker for us to use SVN over HTTPS. We use last versions of every components: Jenkins 1.608 Subversion Plug-in : 2.5 23:00:46 Started by upstream project "Build Pipeline Job" build number 193 23:00:46 originally caused by: 23:00:46 Started by timer 23:00:46 [EnvInject] - Loading node environment variables. 23:00:46 Building remotely on linux-slave1 in workspace /home/app_jenkins/slave1/workspace/XXX Nightly Trunk 23:00:47 Checking out a fresh workspace because there's no workspace at /home/app_jenkins/slave1/workspace/XXX Nightly Trunk 23:00:47 Cleaning local Directory . 23:00:47 Checking out https://svn.company.com/products/xxx/trunk at revision '2015-04-15T23:00:46.930 +0200' 23:00:47 ERROR: Failed to check out https://svn.company.com/products/xxx/trunk 23:00:47 org.tmatesoft.svn.core.SVNCancelException: svn: E200015: authentication cancelled 23:00:47 at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.cancel(SVNErrorManager.java:37) 23:00:47 at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.cancel(SVNErrorManager.java:32) 23:00:47 at org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager.getNextAuthentication(DefaultSVNAuthenticationManager.java:215) 23:00:47 at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:685) 23:00:47 at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:371) 23:00:47 at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:359) 23:00:47 at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.performHttpRequest(DAVConnection.java:710) 23:00:47 at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVConnection.java:627) 23:00:47 at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:102) 23:00:47 at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepository.java:1032) 23:00:47 at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getLatestRevision(DAVRepository.java:175) 23:00:47 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgRepositoryAccess.getRevisionNumber(SvnNgRepositoryAccess.java:118) 23:00:47 at org.tmatesoft.svn.core.internal.wc2.SvnRepositoryAccess.getLocations(SvnRepositoryAccess.java:184) 23:00:47 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgRepositoryAccess.createRepositoryFor(SvnNgRepositoryAccess.java:45) 23:00:47 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.checkout(SvnNgAbstractUpdate.java:756) 23:00:47 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCheckout.run(SvnNgCheckout.java:26) 23:00:47 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCheckout.run(SvnNgCheckout.java:11) 23:00:47 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner.run(SvnNgOperationRunner.java:20) 23:00:47 at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:21) 23:00:47 at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1259) 23:00:47 at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294) 23:00:47 at hudson.scm.subversion.CheckoutUpdater$1.perform(CheckoutUpdater.java:115) 23:00:47 at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:162) 23:00:47 at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:170) 23:00:47 at hudson.scm.subversion.UpdateUpdater$TaskImpl.perform(UpdateUpdater.java:133) 23:00:47 at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:162) 23:00:47 at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:991) 23:00:47 at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:972) 23:00:47 at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:948) 23:00:47 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2688) 23:00:47 at hudson.remoting.UserRequest.perform(UserRequest.java:118) 23:00:47 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 23:00:47 at hudson.remoting.Request$2.run(Request.java:328) 23:00:47 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 23:00:47 at java.util.concurrent.FutureTask.run(FutureTask.java:262) 23:00:47 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 23:00:47 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 23:00:47 at java.lang.Thread.run(Thread.java:744) 23:00:47 FATAL: null 23:00:47 java.lang.NullPointerException 23:00:47 at java.util.ArrayList.addAll(ArrayList.java:559) 23:00:47 at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:897) 23:00:47 at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:833) 23:00:47 at hudson.scm.SCM.checkout(SCM.java:484) 23:00:47 at hudson.model.AbstractProject.checkout(AbstractProject.java:1270) 23:00:47 at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609) 23:00:47 at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) 23:00:47 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:531) 23:00:47 at hudson.model.Run.execute(Run.java:1741) 23:00:47 at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531) 23:00:47 at hudson.model.ResourceController.execute(ResourceController.java:98) 23:00:47 at hudson.model.Executor.run(Executor.java:374)

    Jenkins JIRA | 2 years ago | Romuald Fleury
    org.tmatesoft.svn.core.SVNCancelException: svn: E200015: authentication cancelled
  3. 0

    [JIRA] [subversion-plugin] (JENKINS-31662) Check out of project wth svn:externals to files fails

    Google Groups | 2 years ago | mpruemm@gmail.com (JIRA)
    org.tmatesoft.svn.core.SVNCancelException: svn: E200015: authentication cancelled
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Checking out a project with two file externals fails with the following errors: {noformat} [...] A web-app/WEB-INF/instruments/ESPRESSO-1.01/ESPRESSO_multiMR_obs.tsf A web-app/WEB-INF/instruments/ESPRESSO-1.01/test_ESPRESSO_TPL_sci.tsf A web-app/WEB-INF/instruments/ESPRESSO-1.01/ESPRESSERROR: Failed to check out http://<host>/trunk/DFS/p2 org.tmatesoft.svn.core.SVNCancelException: svn: E200015: authentication cancelled at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.cancel(SVNErrorManager.java:37) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.cancel(SVNErrorManager.java:32) at org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager.getNextAuthentication(DefaultSVNAuthenticationManager.java:215) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:685) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:371) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:359) at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.performHttpRequest(DAVConnection.java:710) at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVConnection.java:627) at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:102) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepository.java:1032) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.hasCapability(DAVRepository.java:860) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.runReport(DAVRepository.java:1278) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.update(DAVRepository.java:845) at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.switchFileExternal(SvnNgAbstractUpdate.java:587) at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.handleExternalItemChange(SvnNgAbstractUpdate.java:395) at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.handleExternalsChange(SvnNgAbstractUpdate.java:310) at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.handleExternals(SvnNgAbstractUpdate.java:246) at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.updateInternal(SvnNgAbstractUpdate.java:224) at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.update(SvnNgAbstractUpdate.java:72) at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.checkout(SvnNgAbstractUpdate.java:802) at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCheckout.run(SvnNgCheckout.java:26) at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCheckout.run(SvnNgCheckout.java:11) at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner.run(SvnNgOperationRunner.java:20) at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:21) at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1259) at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294) at hudson.scm.subversion.CheckoutUpdater$1.perform(CheckoutUpdater.java:121) at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:162) at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:992) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:973) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:949) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2691) at hudson.remoting.UserRequest.perform(UserRequest.java:121) at hudson.remoting.UserRequest.perform(UserRequest.java:49) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) O_singleUHR_cal_pix.tsf A web-app/WEB-INF/instruments/ESPRESSO-1.01/ESPRESSO_single_acq_obj.tsf A web-app/WEB-INF/instruments/evmAPI.tcl [...] A grailsw.bat A application.properties U . Fetching 'http://<host>/trunk/DFS/OHS/esoAuthenticator/src/main/java/org/eso/ohs/esoAuthenticator/BCrypt.java' at -1 into '/diska/home/jenkins/workspace/p2web/src/java/org/eso/ohs/esoAuthenticator/BCrypt.java' FATAL: null java.lang.NullPointerException at java.util.ArrayList.addAll(ArrayList.java:559) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:898) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:834) at hudson.scm.SCM.checkout(SCM.java:485) at hudson.model.AbstractProject.checkout(AbstractProject.java:1284) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:610) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:532) at hudson.model.Run.execute(Run.java:1741) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:381) }} {noformat} Note that the URL reported for the {{SVNCancelException}} is the URL of the project I am checking out. The URL reported with NPE is the URL of one of the file externals. Extra credentials for the externals are set up as described in JENKINS-21785 (and they work in other projects that use externals to directories). The externals are in the "new" format, that list the URL first, followed by the destination. The svn:externals property is set on the directory into which the files will be checked-out. I tried this with '-rXXX <URL> filename', '<URL>@XXX filename' format, and the same without pinning the version of the external file(s). All result in the same errors.

    Jenkins JIRA | 2 years ago | M P
    org.tmatesoft.svn.core.SVNCancelException: svn: E200015: authentication cancelled
  6. 0

    Checking out a project with two file externals fails with the following errors: {noformat} [...] A web-app/WEB-INF/instruments/ESPRESSO-1.01/ESPRESSO_multiMR_obs.tsf A web-app/WEB-INF/instruments/ESPRESSO-1.01/test_ESPRESSO_TPL_sci.tsf A web-app/WEB-INF/instruments/ESPRESSO-1.01/ESPRESSERROR: Failed to check out http://<host>/trunk/DFS/p2 org.tmatesoft.svn.core.SVNCancelException: svn: E200015: authentication cancelled at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.cancel(SVNErrorManager.java:37) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.cancel(SVNErrorManager.java:32) at org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager.getNextAuthentication(DefaultSVNAuthenticationManager.java:215) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:685) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:371) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:359) at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.performHttpRequest(DAVConnection.java:710) at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVConnection.java:627) at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:102) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepository.java:1032) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.hasCapability(DAVRepository.java:860) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.runReport(DAVRepository.java:1278) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.update(DAVRepository.java:845) at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.switchFileExternal(SvnNgAbstractUpdate.java:587) at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.handleExternalItemChange(SvnNgAbstractUpdate.java:395) at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.handleExternalsChange(SvnNgAbstractUpdate.java:310) at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.handleExternals(SvnNgAbstractUpdate.java:246) at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.updateInternal(SvnNgAbstractUpdate.java:224) at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.update(SvnNgAbstractUpdate.java:72) at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.checkout(SvnNgAbstractUpdate.java:802) at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCheckout.run(SvnNgCheckout.java:26) at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCheckout.run(SvnNgCheckout.java:11) at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner.run(SvnNgOperationRunner.java:20) at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:21) at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1259) at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294) at hudson.scm.subversion.CheckoutUpdater$1.perform(CheckoutUpdater.java:121) at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:162) at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:992) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:973) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:949) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2691) at hudson.remoting.UserRequest.perform(UserRequest.java:121) at hudson.remoting.UserRequest.perform(UserRequest.java:49) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) O_singleUHR_cal_pix.tsf A web-app/WEB-INF/instruments/ESPRESSO-1.01/ESPRESSO_single_acq_obj.tsf A web-app/WEB-INF/instruments/evmAPI.tcl [...] A grailsw.bat A application.properties U . Fetching 'http://<host>/trunk/DFS/OHS/esoAuthenticator/src/main/java/org/eso/ohs/esoAuthenticator/BCrypt.java' at -1 into '/diska/home/jenkins/workspace/p2web/src/java/org/eso/ohs/esoAuthenticator/BCrypt.java' FATAL: null java.lang.NullPointerException at java.util.ArrayList.addAll(ArrayList.java:559) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:898) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:834) at hudson.scm.SCM.checkout(SCM.java:485) at hudson.model.AbstractProject.checkout(AbstractProject.java:1284) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:610) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:532) at hudson.model.Run.execute(Run.java:1741) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:381) }} {noformat} Note that the URL reported for the {{SVNCancelException}} is the URL of the project I am checking out. The URL reported with NPE is the URL of one of the file externals. Extra credentials for the externals are set up as described in JENKINS-21785 (and they work in other projects that use externals to directories). The externals are in the "new" format, that list the URL first, followed by the destination. The svn:externals property is set on the directory into which the files will be checked-out. I tried this with '-rXXX <URL> filename', '<URL>@XXX filename' format, and the same without pinning the version of the external file(s). All result in the same errors.

    Jenkins JIRA | 2 years ago | M P
    org.tmatesoft.svn.core.SVNCancelException: svn: E200015: authentication cancelled

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.tmatesoft.svn.core.SVNCancelException

      svn: E200015: authentication cancelled

      at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.cancel()
    2. SVNKit Library
      SvnOperation.run
      1. org.tmatesoft.svn.core.internal.wc.SVNErrorManager.cancel(SVNErrorManager.java:37)
      2. org.tmatesoft.svn.core.internal.wc.SVNErrorManager.cancel(SVNErrorManager.java:32)
      3. org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager.getNextAuthentication(DefaultSVNAuthenticationManager.java:215)
      4. org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:685)
      5. org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:371)
      6. org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:359)
      7. org.tmatesoft.svn.core.internal.io.dav.DAVConnection.performHttpRequest(DAVConnection.java:710)
      8. org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVConnection.java:627)
      9. org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:102)
      10. org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepository.java:1032)
      11. org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getLatestRevision(DAVRepository.java:175)
      12. org.tmatesoft.svn.core.internal.wc2.ng.SvnNgRepositoryAccess.getRevisionNumber(SvnNgRepositoryAccess.java:118)
      13. org.tmatesoft.svn.core.internal.wc2.SvnRepositoryAccess.getLocations(SvnRepositoryAccess.java:184)
      14. org.tmatesoft.svn.core.internal.wc2.ng.SvnNgRepositoryAccess.createRepositoryFor(SvnNgRepositoryAccess.java:45)
      15. org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.checkout(SvnNgAbstractUpdate.java:756)
      16. org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCheckout.run(SvnNgCheckout.java:26)
      17. org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCheckout.run(SvnNgCheckout.java:11)
      18. org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner.run(SvnNgOperationRunner.java:20)
      19. org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:21)
      20. org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1259)
      21. org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294)
      21 frames
    3. Hudson Subversion Plug-in
      WorkspaceUpdater$UpdateTask.delegateTo
      1. hudson.scm.subversion.CheckoutUpdater$1.perform(CheckoutUpdater.java:115)
      2. hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:162)
      3. hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:170)
      4. hudson.scm.subversion.UpdateUpdater$TaskImpl.perform(UpdateUpdater.java:133)
      5. hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:162)
      5 frames
    4. Hudson
      FilePath$FileCallableWrapper.call
      1. hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:991)
      2. hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:972)
      3. hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:948)
      4. hudson.FilePath$FileCallableWrapper.call(FilePath.java:2688)
      4 frames
    5. Hudson :: Remoting Layer
      InterceptingExecutorService$1.call
      1. hudson.remoting.UserRequest.perform(UserRequest.java:118)
      2. hudson.remoting.UserRequest.perform(UserRequest.java:48)
      3. hudson.remoting.Request$2.run(Request.java:328)
      4. hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      4 frames
    6. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      4. java.lang.Thread.run(Thread.java:744)
      4 frames