You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Ross Burton <ro...@mail.com> on 2000/10/12 21:47:14 UTC
[C2] StringIndexOutOfBounds exception
Hi,
Fed up with Tomcat 3.x, I took the plunge and installed Tomcat 4M2.
Following the instructions on how to install Tomcat + Cocoon
("./build.sh .... install" didn't work, btw) I managed to install C2,
and get another exception. This time even earlier!
The offending line is looking at the URI passed from Tomcat - which
appears to be an empty string. Is this a known bug with Tomcat 4M2? Or
is everything broken?
Ross Burton
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
at java.lang.Throwable.(Throwable.java:96)
at java.lang.Exception.(Exception.java:44)
at java.lang.RuntimeException.(RuntimeException.java:49)
at
java.lang.IndexOutOfBoundsException.(IndexOutOfBoundsException.java:46)
at
java.lang.StringIndexOutOfBoundsException.(StringIndexOutOfBoundsException.java:59)
at java.lang.String.charAt(String.java(Compiled Code))
at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:162)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterWrapper.doFilter(ApplicationFilterWrapper.java:159)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:265)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:165)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:1765)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
at
org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:343)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:975)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:159)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:787)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:904)
at java.lang.Thread.run(Thread.java:498)