I've got the following exception when trying to process REST requests 

2011-03-21 14:06:17,989 | ERROR    | 1189263173@pool-jetty-17  |
JaxRsDispatcherServlet         | Unexpected runtime exception from
CxfServlet while processing the requst: String index out of range: -14 | 
java.lang.StringIndexOutOfBoundsException: String index out of range: -14
        at java.lang.String.substring(String.java:1937)
        at
org.apache.cxf.transport.servlet.AbstractServletController.getBaseURL(AbstractServletController.java:112)
        at
org.apache.cxf.transport.servlet.ServletController.updateDests(ServletController.java:83)
        at
org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:145)
        at
org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:148)
        at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:179)
        at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:108)


The problem seems to be into getBaseURL method. Is it a known issue ? 
Thanks!

--
View this message in context: 
http://cxf.547215.n5.nabble.com/java-lang-StringIndexOutOfBoundsException-String-index-out-of-range-tp4225629p4225629.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to