[opencms-dev] Error when uploading pictures
Michael Schäfer
ms at ethikom.de
Mon Oct 22 19:31:50 CEST 2001
I'm using OpenCms 4.4.6 under Tomcat 4.0.1 on a Linux machine (IBM JDK 1.3).
When trying to upload pictures I get the following error-message from my
dear friend Catalina:
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.RuntimeException.(RuntimeException.java:49)
at java.lang.IndexOutOfBoundsException.(IndexOutOfBoundsException.java:46)
at
java.lang.StringIndexOutOfBoundsException.(StringIndexOutOfBoundsException.j
ava:59)
at java.lang.StringBuffer.setLength(StringBuffer.java(Compiled Code))
at
com.opencms.core.CmsMultipartInputStreamHandler.readLine(CmsMultipartInputSt
reamHandler.java:116)
at
com.opencms.core.CmsRequestHttpServlet.readNextPart(CmsRequestHttpServlet.ja
va:513)
at
com.opencms.core.CmsRequestHttpServlet.readRequest(CmsRequestHttpServlet.jav
a:655)
at com.opencms.core.CmsRequestHttpServlet.(CmsRequestHttpServlet.java:134)
at com.opencms.core.OpenCmsHttpServlet.doPost(OpenCmsHttpServlet.java:522)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.opencms.boot.OpenCmsServlet.service(OpenCmsServlet.java:117)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(C
ompiled Code))
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compi
led Code))
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java(Compiled
Code))
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:201)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(C
ompiled Code))
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compi
led Code))
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java(Compiled
Code))
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(C
ompiled Code))
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(C
ompiled Code))
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(C
ompiled Code))
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compi
led Code))
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java(Compiled
Code))
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:163)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java(C
ompiled Code))
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compi
led Code))
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java(Compiled
Code))
at
org.apache.catalina.connector.warp.WarpRequestHandler.handle(WarpRequestHand
ler.java(Compiled Code))
at
org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java:19
4)
at java.lang.Thread.run(Thread.java:498)
----------------------
Its no matter whether I use the picture gallery or the normal
explorer-upload.
Does anybody know what it means and how to handle the situation?
Thanks a lot
Michael
More information about the opencms-dev
mailing list