Uploaded image for project: 'Alfresco One Platform'
  1. Alfresco One Platform
  2. ACE-3713

WebScriptException - Failed to process template org/alfresco/share/header/share-header.get.html.ftl

    Details

    • Type: Bug
    • Status: Verified (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Cloud 43
    • Fix Version/s: Cloud 43
    • Component/s: Web Scripts and Surf
    • Labels:
      None
    • Environment:
      Cloud2 myAlfrescoHead-Bug-Fix build 999 rel39rc6
    • Code Branch:
      HEAD-BUG-FIX
    • Cloud or Enterprise:
      Cloud Only

      Description

      Create Cloud environment from Head-Bug-Fix branch
      in particular; Cloud2 myAlfrescoHead-Bug-Fix build 999 rel39rc6 (DP)
      try to login as any user.
      as a result surf web script error is displayed.

      The Web Script /share/service/share-header has responded with a status of 500 - Internal Error.
      
      500 Description:	An error inside the HTTP server which prevented it from fulfilling the request.
       
      Message:	00090000 Failed to process template org/alfresco/share/header/share-header.get.html.ftl
       
      Exception:	org.springframework.extensions.webscripts.WebScriptException - 00090000 Failed to process template org/alfresco/share/header/share-header.get.html.ftl
       
      org.springframework.extensions.webscripts.processor.FTLTemplateProcessor.process(FTLTemplateProcessor.java:175)
       
      Server:	Spring WebScripts - v5.0.0 (Release) schema 1,000
      Time:	Jan 9, 2015 7:49:15 AM
       
      Diagnostics:	Inspect Web Script (org/alfresco/share/header/share-header.get)
      

      share log contains the following error:

      2015-01-09 07:49:17,323 ERROR [org.springframework.extensions.webscripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 00090001 Failed to process template org/alfresco/share/header/share-header.get.html.ftl
      org.springframework.extensions.webscripts.WebScriptException: 00090001 Failed to process template org/alfresco/share/header/share-header.get.html.ftl
              at org.springframework.extensions.webscripts.processor.FTLTemplateProcessor.process(FTLTemplateProcessor.java:175)
              at org.springframework.extensions.webscripts.AbstractWebScript.renderTemplate(AbstractWebScript.java:934)
              at org.springframework.extensions.webscripts.DeclarativeWebScript.renderFormatTemplate(DeclarativeWebScript.java:267)
              at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:147)
              at org.springframework.extensions.webscripts.PresentationContainer.executeScript(PresentationContainer.java:70)
              at org.springframework.extensions.webscripts.LocalWebScriptRuntimeContainer.executeScript(LocalWebScriptRuntimeContainer.java:236)
              at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:378)
              at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209)
              at org.springframework.extensions.webscripts.WebScriptProcessor.executeBody(WebScriptProcessor.java:310)
              at org.springframework.extensions.surf.render.AbstractProcessor.execute(AbstractProcessor.java:57)
              at org.springframework.extensions.surf.render.RenderService.process(RenderService.java:598)
              at org.springframework.extensions.surf.render.RenderService.renderSubComponent(RenderService.java:504)
              at org.springframework.extensions.surf.render.RenderService.processComponent(RenderService.java:418)
              at org.springframework.extensions.surf.render.RenderService.renderComponent(RenderService.java:941)
              at org.springframework.extensions.surf.render.RenderService.renderRegionComponents(RenderService.java:899)
              at org.springframework.extensions.surf.render.bean.RegionRenderer.body(RegionRenderer.java:89)
              at org.springframework.extensions.surf.render.AbstractRenderer.render(AbstractRenderer.java:77)
              at org.springframework.extensions.surf.render.RenderService.renderRegion(RenderService.java:850)
              at org.springframework.extensions.directives.RegionDirectiveData.render(RegionDirectiveData.java:91)
              at org.springframework.extensions.surf.extensibility.impl.ExtensibilityModelImpl.merge(ExtensibilityModelImpl.java:414)
              at org.springframework.extensions.surf.extensibility.impl.AbstractExtensibilityDirective.merge(AbstractExtensibilityDirective.java:169)
              at org.springframework.extensions.surf.extensibility.impl.AbstractExtensibilityDirective.execute(AbstractExtensibilityDirective.java:137)
              at freemarker.core.Environment.visit(Environment.java:341)
              at freemarker.core.UnifiedCall.accept(UnifiedCall.java:136)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.MixedContent.accept(MixedContent.java:93)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.Environment$1.render(Environment.java:313)
              at org.springframework.extensions.surf.extensibility.impl.DefaultExtensibilityDirectiveData.render(DefaultExtensibilityDirectiveData.java:119)
              at org.springframework.extensions.surf.extensibility.impl.ExtensibilityModelImpl.merge(ExtensibilityModelImpl.java:414)
              at org.springframework.extensions.surf.extensibility.impl.AbstractExtensibilityDirective.merge(AbstractExtensibilityDirective.java:169)
              at org.springframework.extensions.surf.extensibility.impl.AbstractExtensibilityDirective.execute(AbstractExtensibilityDirective.java:137)
       at freemarker.core.Environment.visit(Environment.java:341)
              at freemarker.core.UnifiedCall.accept(UnifiedCall.java:136)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.MixedContent.accept(MixedContent.java:93)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.Environment.visit(Environment.java:487)
              at freemarker.core.BodyInstruction.accept(BodyInstruction.java:93)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.MixedContent.accept(MixedContent.java:93)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.Macro$Context.runMacro(Macro.java:209)
              at freemarker.core.Environment.visit(Environment.java:694)
              at freemarker.core.UnifiedCall.accept(UnifiedCall.java:116)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.MixedContent.accept(MixedContent.java:93)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.Environment.process(Environment.java:243)
              at org.springframework.extensions.webscripts.processor.FTLTemplateProcessor.process(FTLTemplateProcessor.java:171)
              at org.springframework.extensions.webscripts.WebTemplateProcessor.executeBody(WebTemplateProcessor.java:438)
              at org.springframework.extensions.surf.render.AbstractProcessor.execute(AbstractProcessor.java:57)
              at org.springframework.extensions.surf.render.RenderService.processTemplate(RenderService.java:720)
              at org.springframework.extensions.surf.render.bean.TemplateInstanceRenderer.body(TemplateInstanceRenderer.java:140)
              at org.springframework.extensions.surf.render.AbstractRenderer.render(AbstractRenderer.java:77)
              at org.springframework.extensions.surf.render.bean.PageRenderer.body(PageRenderer.java:85)
              at org.springframework.extensions.surf.render.AbstractRenderer.render(AbstractRenderer.java:77)
              at org.springframework.extensions.surf.render.RenderService.renderPage(RenderService.java:761)
              at org.springframework.extensions.surf.mvc.PageView.dispatchPage(PageView.java:411)
              at org.springframework.extensions.surf.mvc.PageView.renderView(PageView.java:306)
              at org.alfresco.module.org_alfresco_module_cloud_share.TenantPageView.renderView(TenantPageView.java:156)
              at org.springframework.extensions.surf.mvc.AbstractWebFrameworkView.renderMergedOutputModel(AbstractWebFrameworkView.java:316)
              at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:264)
              at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1201)
              at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:986)
              at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:933)
              at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:851)
              at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:953)
              at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:844)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
              at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:829)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
              at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)
              at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411)
              at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)
              at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:213)
              at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:171)
              at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
              at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
              at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at org.alfresco.web.site.servlet.SecurityHeadersFilter.doFilter(SecurityHeadersFilter.java:168)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at org.alfresco.web.site.servlet.CSRFFilter.doFilter(CSRFFilter.java:315)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at org.alfresco.web.site.servlet.MTAuthenticationFilter.doFilter(MTAuthenticationFilter.java:74)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:203)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
              at de.javakaffee.web.msm.RequestTrackingContextValve.invoke(RequestTrackingContextValve.java:99)
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
              at de.javakaffee.web.msm.RequestTrackingHostValve.invoke(RequestTrackingHostValve.java:170)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
              at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
              at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
              at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2379)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
              at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.NullPointerException
              at org.springframework.extensions.surf.DojoDependencyHandler.outputDependency(DojoDependencyHandler.java:559)
              at org.springframework.extensions.surf.DojoDependencyHandler.getChecksumForDependencies(DojoDependencyHandler.java:413)
              at org.springframework.extensions.directives.ProcessJsonModelDirective.createExtensibilityDirectiveData(ProcessJsonModelDirective.java:351)
              at org.springframework.extensions.surf.extensibility.impl.AbstractExtensibilityDirective.execute(AbstractExtensibilityDirective.java:133)
              at org.springframework.extensions.directives.JavaScriptDependencyDirective.execute(JavaScriptDependencyDirective.java:68)
              at freemarker.core.Environment.visit(Environment.java:341)
              at freemarker.core.UnifiedCall.accept(UnifiedCall.java:136)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.MixedContent.accept(MixedContent.java:93)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.Environment$1.render(Environment.java:313)
              at org.springframework.extensions.surf.extensibility.impl.DefaultExtensibilityDirectiveData.render(DefaultExtensibilityDirectiveData.java:119)
              at org.springframework.extensions.surf.extensibility.impl.ExtensibilityModelImpl.merge(ExtensibilityModelImpl.java:414)
              at org.springframework.extensions.surf.extensibility.impl.AbstractExtensibilityDirective.merge(AbstractExtensibilityDirective.java:169)
              at org.springframework.extensions.surf.extensibility.impl.AbstractExtensibilityDirective.execute(AbstractExtensibilityDirective.java:137)
              at freemarker.core.Environment.visit(Environment.java:341)
              at freemarker.core.UnifiedCall.accept(UnifiedCall.java:136)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.MixedContent.accept(MixedContent.java:93)
              at freemarker.core.Environment.visit(Environment.java:265)
              at freemarker.core.Environment.process(Environment.java:243)
              at org.springframework.extensions.webscripts.processor.FTLTemplateProcessor.process(FTLTemplateProcessor.java:171)
              ... 112 more
      

      Please note: the issue was found during testing: MNT-12799 (we should verify fix on Head-Bug-Fix branch)

        Attachments

          Activity

            People

            • Assignee:
              closedbugs Closed Bugs
              Reporter:
              dyukhnovets Dmitry Yukhnovets [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: