Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-27977

NullPointer & authentication cancelled occure immediately on SVN checkout

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Cannot Reproduce
    • Component/s: subversion-plugin
    • Labels:
      None
    • Environment:
      Linux + LDAP (Microsoft Server) + SvnKit
    • Similar Issues:

      Description

      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)

        Attachments

          Issue Links

            Activity

            fleuryro Romuald Fleury created issue -
            fleuryro Romuald Fleury made changes -
            Field Original Value New Value
            Link This issue is related to JENKINS-27084 [ JENKINS-27084 ]
            fleuryro Romuald Fleury made changes -
            Summary NullPointer occures immediately on SVN checkout NullPointer & Auoccures immediately on SVN checkout
            fleuryro Romuald Fleury made changes -
            Summary NullPointer & Auoccures immediately on SVN checkout NullPointer & authentication cancelled occure immediately on SVN checkout
            recena Manuel Recena Soto made changes -
            Assignee Manuel Jesús Recena Soto [ recena ]
            recena Manuel Recena Soto made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            recena Manuel Recena Soto made changes -
            Status In Progress [ 3 ] Resolved [ 5 ]
            Resolution Cannot Reproduce [ 5 ]
            recena Manuel Recena Soto made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 162576 ] JNJira + In-Review [ 208694 ]

              People

              • Assignee:
                recena Manuel Recena Soto
                Reporter:
                fleuryro Romuald Fleury
              • Votes:
                1 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: