Hi all,
We have been successfully using Xwiki and started with the 1.2rc1 without this problem.
I updated with 1.2 version recently and we are no more able to upload any files. Below the log extract.
We are running on a ScientificLinux 5.0 server, with tomcat 5.5.25, and java 1.5.
The same thing occurs with xwiki 1.2.2, and java 1.6 (last update).
I saw a similar messages posted in december 2006 without answer.
Is there any workaround that I could apply or should I do something else ?
Cheers.
--Vincent
10:35:01,437 [http://myxwiki:9090/xwiki/bin] [http-9090-Processor24] WARN web.XWikiAction - Uncaught exception: Error number 0 in 11: Uncaught exception
Wrapped Exception: String index out of range: -1
com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception
Wrapped Exception: String index out of range: -1
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:164)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1768)
at java.lang.String.substring(String.java:1735)
at com.xpn.xwiki.XWiki.getDocumentNameFromPath(XWiki.java:1118)
at com.xpn.xwiki.XWiki.getDocumentName(XWiki.java:4005)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4035)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:132)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)