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

Exception is thrown during SVN authentication test

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • subversion-plugin
    • None
    • Platform: All, OS: All

      Configuration:
      hudson 1.112 using the included container (java -jar hudson.war)
      Suse Linux SLES9
      JDK 1.5.0_11

      To reproduce the issue:

      1. Create a job and start configuring it
      2. Enter SVN repository URL: https://hostname/foobar/trunk
      3. Wait until it tries to test the URL
      4. The following text is shown. It looks like that for some reason the exception
      is printed together with the regular HTML response. Also the HTML tags are
      printed too, they are not evaluated by the browser.

      Unable to access https://hostname/foobar/trunk :
      svn: authentication cancelled <a href='#' id=svnerrorlink
      onclick='javascript:document.getElementById("svnerror").style.display="block";document.getElementById("svnerrorlink").style.display="none";return
      false;'>(show details)</a><pre id=svnerror
      style='display:none'>org.tmatesoft.svn.core.SVNCancelException: svn:
      authentication cancelled
      at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:45)
      at
      org.tmatesoft.svn.core.internal.io.dav.DAVUtil.findStartingProperties(DAVUtil.java:124)
      at
      org.tmatesoft.svn.core.internal.io.dav.DAVConnection.fetchRepositoryUUID(DAVConnection.java:88)
      at
      org.tmatesoft.svn.core.internal.io.dav.DAVRepository.testConnection(DAVRepository.java:84)
      at hudson.scm.SubversionSCM$DescriptorImpl$2.check(SubversionSCM.java:940)
      at hudson.util.FormFieldValidator.process(FormFieldValidator.java:40)
      at
      hudson.scm.SubversionSCM$DescriptorImpl.doSvnRemoteLocationCheck(SubversionSCM.java:914)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:95)
      at org.kohsuke.stapler.Function.bindAndinvoke(Function.java:51)
      at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:63)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:270)
      at org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:240)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:270)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:207)
      at org.kohsuke.stapler.Stapler.service(Stapler.java:72)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
      at winstone.ServletConfiguration.execute(ServletConfiguration.java:249)
      at winstone.RequestDispatcher.forward(RequestDispatcher.java:335)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378)
      at hudson.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:78)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
      at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
      at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
      at java.lang.Thread.run(Thread.java:595)
      </pre> (Maybe you need to <a
      href='/scm/SubversionSCM/enterCredential?https://hostname/foobar/trunk'>enter
      credential</a>?)<br>

            Unassigned Unassigned
            kis_gergely kis_gergely
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: