[opencms-dev] Flexcache Problem: StringIndexOutOfBoundsException
Marc Johnen
opencms at johnen.biz
Wed Feb 19 23:52:38 CET 2014
Hello everyone,
I get a strange Exception occasionally, on seemingly random pages. Everytime
I publish something, it hits an other page, but stays the same till the next
publish. It seems to have to do with the Flexcache. Below you find the
stacktrace. Does this seem familiar to anyone?
Thanks and greetings
Marc
19 Feb 2014 23:47:06,519 ERROR [ org.opencms.main.OpenCmsCore:2083] String
index out of range: -1 rendering URL
http://test/opencms/Abteilungen/Bestandsmanagement/
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1937)
at java.lang.String.substring(String.java:1904)
at
org.apache.tomcat.util.http.RequestUtil.normalize(RequestUtil.java:71)
at
org.apache.tomcat.util.http.RequestUtil.normalize(RequestUtil.java:35)
at
org.apache.catalina.core.ApplicationContext.getRequestDispatcher(ApplicationContext.java:445)
at
org.apache.catalina.core.ApplicationContextFacade.getRequestDispatcher(ApplicationContextFacade.java:223)
at
org.apache.catalina.core.ApplicationHttpRequest.getRequestDispatcher(ApplicationHttpRequest.java:303)
at
javax.servlet.ServletRequestWrapper.getRequestDispatcher(ServletRequestWrapper.java:284)
at
org.opencms.flex.CmsFlexRequest.getRequestDispatcher(CmsFlexRequest.java:505)
at
org.opencms.flex.CmsFlexCacheEntry.service(CmsFlexCacheEntry.java:372)
at
org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:311)
at
org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:167)
at
org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:946)
at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:523)
at
org.opencms.loader.CmsXmlContainerPageLoader.load(CmsXmlContainerPageLoader.java:114)
at
org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:1183)
at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1680)
at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:153)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:471)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:402)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:329)
at
com.dcampus.opencms.web.UriRewriteFilter$RewriteForward.forward(UriRewriteFilter.java:74)
at
com.dcampus.opencms.web.UriRewriteFilter.doFilter(UriRewriteFilter.java:45)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
-----
Greetings
Marc Johnen
http://www.johnen.biz
--
View this message in context: http://opencms.996256.n3.nabble.com/Flexcache-Problem-StringIndexOutOfBoundsException-tp24015.html
Sent from the OpenCMS mailing list archive at Nabble.com.
More information about the opencms-dev
mailing list