[Issue 1329] New - Form validation problem with file:// SVN URL

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Issue 1329] New - Form validation problem with file:// SVN URL

kohsuke-djn
https://hudson.dev.java.net/issues/show_bug.cgi?id=1329
                 Issue #|1329
                 Summary|Form validation problem with file:// SVN URL
               Component|hudson
                 Version|current
                Platform|All
              OS/Version|All
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|subversion
             Assigned to|issues@hudson
             Reported by|kohsuke






------- Additional comments from [hidden email] Sat Feb 23 13:02:31 +0000 2008 -------
When I try URLs like "file:///c:/kohsuke/My Projects/hudson/fosdem/sv", svnkit
dies with NPE like

Status Code: 500
Exception:
Stacktrace:

java.lang.StringIndexOutOfBoundsException: String index out of range: -3
        at java.lang.String.substring(String.java:1768)
        at org.tmatesoft.svn.core.internal.io.fs.FSFS.findRepositoryRoot(FSFS.java:886)
        at
org.tmatesoft.svn.core.internal.io.fs.FSRepository.openRepositoryRoot(FSRepository.java:111)
        at
org.tmatesoft.svn.core.internal.io.fs.FSRepository.openRepository(FSRepository.java:90)
        at
org.tmatesoft.svn.core.internal.io.fs.FSRepository.testConnection(FSRepository.java:82)
        at
hudson.scm.SubversionSCM$DescriptorImpl.checkRepositoryPath(SubversionSCM.java:1220)
        at hudson.scm.SubversionSCM$DescriptorImpl$2.check(SubversionSCM.java:1158)
        at hudson.util.FormFieldValidator.process(FormFieldValidator.java:54)
        at
hudson.scm.SubversionSCM$DescriptorImpl.doSvnRemoteLocationCheck(SubversionSCM.java:1137)
        at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
        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:103)
        at org.kohsuke.stapler.Function.bindAndinvoke(Function.java:59)
        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:361)
        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:361)
        at org.kohsuke.stapler.Stapler.invoke(Stapler.java:298)
        at org.kohsuke.stapler.Stapler.service(Stapler.java:98)
        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.security.HudsonFilter.doFilter(HudsonFilter.java:88)
        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)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 1329] Form validation problem with file:// SVN URL

Kohsuke Kawaguchi
Administrator
https://hudson.dev.java.net/issues/show_bug.cgi?id=1329



User kohsuke changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|NEW                       |RESOLVED
--------------------------------------------------------------------------------
              Resolution|                          |WORKSFORME
--------------------------------------------------------------------------------




------- Additional comments from [hidden email] Thu Jul  9 22:42:32 +0000 2009 -------
As of 1.315 no longer reproducible.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]