AnsweredAssumed Answered

Can't access documentLibrary for any site

Question asked by rockshore on Nov 15, 2011
Please can someone let me know what this issue might be? Any advice really appreciated.

Receiving this in the front-end:

A problem has occurred. 
This page could not be rendered:
documentlibrary
Please notify your system administrator.

Seeing this in catalina.out:

13:31:19,009 TP-Processor5 ERROR [surf.render.RenderService] Unable to process template: documentlibrary
13:31:19,073 TP-Processor5 ERROR [surf.render.RenderService] An exception occurred while rendering: documentlibrary
org.springframework.extensions.surf.exception.RendererExecutionException: WebTemplateProcessor failed to process template uri: org/alfresco/documentlibrary
   at org.springframework.extensions.webscripts.WebTemplateProcessor.executeBody(WebTemplateProcessor.java:377)
   at org.springframework.extensions.surf.render.AbstractProcessor.execute(AbstractProcessor.java:57)
   at org.springframework.extensions.surf.render.RenderService.processTemplate(RenderService.java:378)
   at org.springframework.extensions.surf.render.bean.TemplateInstanceRenderer.body(TemplateInstanceRenderer.java:123)
   at org.springframework.extensions.surf.render.AbstractRenderer.render(AbstractRenderer.java:75)
   at org.springframework.extensions.surf.render.bean.PageRenderer.body(PageRenderer.java:85)
   at org.springframework.extensions.surf.render.AbstractRenderer.render(AbstractRenderer.java:75)
   at org.springframework.extensions.surf.render.RenderService.renderPage(RenderService.java:408)
   at org.springframework.extensions.surf.mvc.PageView.dispatchPage(PageView.java:388)
   at org.springframework.extensions.surf.mvc.PageView.renderView(PageView.java:329)
   at org.springframework.extensions.surf.mvc.AbstractWebFrameworkView.renderMergedOutputModel(AbstractWebFrameworkView.java:285)
   at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:250)
   at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1060)
   at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:798)
   at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:716)
   at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:647)
   at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:552)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.alfresco.web.site.servlet.MTAuthenticationFilter.doFilter(MTAuthenticationFilter.java:74)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.alfresco.web.site.servlet.SSOAuthenticationFilter.doFilter(SSOAuthenticationFilter.java:301)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
   at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
   at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
   at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)
   at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698)
   at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891)
   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
   at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 102
   at java.lang.String.substring(String.java:1934)
   at org.apache.catalina.util.RequestUtil.normalize(RequestUtil.java:131)
   at org.apache.catalina.util.RequestUtil.normalize(RequestUtil.java:96)
   at org.apache.catalina.core.ApplicationContext.getResource(ApplicationContext.java:467)
   at org.apache.catalina.core.ApplicationContextFacade.getResource(ApplicationContextFacade.java:176)
   at org.springframework.web.context.support.ServletContextResource.exists(ServletContextResource.java:102)
   at org.springframework.extensions.webscripts.ClassPathStoreResourceResolver.getResource(ClassPathStoreResourceResolver.java:66)
   at org.springframework.extensions.webscripts.ClassPathStore.getDocumentResource(ClassPathStore.java:394)
   at org.springframework.extensions.webscripts.ClassPathStore.lastModified(ClassPathStore.java:295)
   at org.springframework.extensions.webscripts.ClassPathStore$ClassPathTemplateSource.lastModified(ClassPathStore.java:927)
   at org.springframework.extensions.webscripts.ClassPathStore$ClassPathTemplateLoader.getLastModified(ClassPathStore.java:894)
   at freemarker.cache.MultiTemplateLoader$MultiSource.getLastModified(MultiTemplateLoader.java:172)
   at freemarker.cache.MultiTemplateLoader.getLastModified(MultiTemplateLoader.java:126)
   at freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:363)
   at freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:235)
   at freemarker.template.Configuration.getTemplate(Configuration.java:487)
   at freemarker.template.Configuration.getTemplate(Configuration.java:452)
   at org.springframework.extensions.webscripts.processor.FTLTemplateProcessor.hasTemplate(FTLTemplateProcessor.java:260)
   at org.springframework.extensions.webscripts.TemplateProcessorRegistry.findValidTemplatePath(TemplateProcessorRegistry.java:214)
   at org.springframework.extensions.webscripts.WebScriptProcessor.executeHeader(WebScriptProcessor.java:164)
   at org.springframework.extensions.surf.render.AbstractProcessor.execute(AbstractProcessor.java:66)
   at org.springframework.extensions.surf.render.RenderService.processComponent(RenderService.java:264)
   at org.springframework.extensions.surf.render.RenderService.renderComponent(RenderService.java:581)
   at org.springframework.extensions.surf.render.bean.TemplateInstanceRenderer.header(TemplateInstanceRenderer.java:94)
   at org.springframework.extensions.surf.render.RenderService.renderTemplateHeaderAsString(RenderService.java:792)
   at org.springframework.extensions.webscripts.ProcessorModelHelper.populateTemplateModel(ProcessorModelHelper.java:494)
   at org.springframework.extensions.webscripts.WebTemplateProcessor.executeBody(WebTemplateProcessor.java:300)
   … 39 more

Outcomes