Hello Vincent,
the SVN repository has been updated with the fix! Thanks for your report.
Best regards,
Thierry Boileau
Jerome Louvel a écrit :
FYI, I have moved this thread into a bug report at:
http://restlet.tigris.org/issues/show_bug.cgi?id=249
Thanks for reporting it Vincent.
Best regards,
Jerome
-----Message d'origine-----
De : news [mailto:[EMAIL PROTECTED] De la part de Vincent
Envoyé : vendredi 19 janvier 2007 08:47
À : discuss@restlet.tigris.org
Objet : StringIndexOutOfBoundsException
Steps to reproduce:
- create a restlet app
- GET http://localhost:8182// (note the two slashes).
-Vincent
SEVERE: Unhandled exception or error intercepted
java.lang.StringIndexOutOfBoundsException: String index out
of range: -11
at java.lang.String.substring(String.java:1768)
at java.lang.String.substring(String.java:1735)
at
org.restlet.data.Reference.getRemainingPart(Reference.java:768)
at org.restlet.Route.score(Route.java:419)
at org.restlet.util.RouteList.getBest(RouteList.java:91)
at org.restlet.Router.getNext(Router.java:295)
at org.restlet.Router.handle(Router.java:391)
at org.restlet.Filter.doHandle(Filter.java:107)
at org.restlet.Filter.handle(Filter.java:136)
at org.restlet.Router.handle(Router.java:393)
at org.restlet.Filter.doHandle(Filter.java:107)
at
com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:87)
at org.restlet.Filter.handle(Filter.java:136)
at org.restlet.Filter.doHandle(Filter.java:107)
at org.restlet.Filter.handle(Filter.java:136)
at c