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

Unable to specify an Subversion Authentication

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • subversion-plugin
    • None
    • Platform: PC, OS: Windows XP

      Hi !

      When i field the form Subversion Authentication with Username/password
      authentication on valid SVN Url.

      I've got this :

      Etat HTTP 500 -

      exception

      javax.servlet.ServletException
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:279)
      org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:240)
      org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:270)
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:207)
      org.kohsuke.stapler.Stapler.service(Stapler.java:72)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

      cause mère

      java.lang.NullPointerException
      hudson.scm.SubversionSCM$DescriptorImpl.doPostCredential(SubversionSCM.java:777)
      sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      java.lang.reflect.Method.invoke(Method.java:585)
      org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:95)
      org.kohsuke.stapler.Function.bindAndinvoke(Function.java:51)
      org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:63)
      org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:270)
      org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:240)
      org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:270)
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:207)
      org.kohsuke.stapler.Stapler.service(Stapler.java:72)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

      Regards !

      Gerald Reinhart

          [JENKINS-560] Unable to specify an Subversion Authentication

          gex77 added a comment -

          Is it possible to specify this authentification in the config.xml of my Project ?
          (...)
          <scm class="hudson.scm.SubversionSCM">
          <locations>
          <hudson.scm.SubversionSCM_-ModuleLocation>
          <remote>http://localhost/svn/repository/projets/TestMaven/trunk</remote>

          <!-- authentification ? -->

          <local>trunk</local>
          </hudson.scm.SubversionSCM_-ModuleLocation>
          </locations>
          <useUpdate>false</useUpdate>
          </scm>
          (...)

          Regards,

          Gérald Reinhart

          gex77 added a comment - Is it possible to specify this authentification in the config.xml of my Project ? (...) <scm class="hudson.scm.SubversionSCM"> <locations> <hudson.scm.SubversionSCM_-ModuleLocation> <remote> http://localhost/svn/repository/projets/TestMaven/trunk </remote> <!-- authentification ? --> <local>trunk</local> </hudson.scm.SubversionSCM_-ModuleLocation> </locations> <useUpdate>false</useUpdate> </scm> (...) Regards, Gérald Reinhart

          Which version of Hudson are you using? The line number doesn't match up with the
          source code that I have.

          If you can try the latest (1.108) and report the stack trace again, that would
          be very helpful.

          Kohsuke Kawaguchi added a comment - Which version of Hudson are you using? The line number doesn't match up with the source code that I have. If you can try the latest (1.108) and report the stack trace again, that would be very helpful.

          gex77 added a comment -

          It was the 1.06 version.

          Now with the 1.08 version, it works well. Great !

          Thanks.

          gex77 added a comment - It was the 1.06 version. Now with the 1.08 version, it works well. Great ! Thanks.

          The submitter confirmed that it works with 1.108.

          Kohsuke Kawaguchi added a comment - The submitter confirmed that it works with 1.108.

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

              Created:
              Updated:
              Resolved: