freemarker.core.InvalidReferenceException: Expression inMemoryLimit is undefined on line 18, column 37 in org/alfresco/components/upload/dnd-upload.get.html.ftl.

alfresco.com | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Custom email action | Alfresco Community

    alfresco.com | 6 months ago
    freemarker.core.InvalidReferenceException: Expression inMemoryLimit is undefined on line 18, column 37 in org/alfresco/components/upload/dnd-upload.get.html.ftl.
  2. 0

    Error on Alfresco 4.2.a

    GitHub | 2 years ago | softwareloop
    freemarker.core.InvalidReferenceException: Expression fileUploadSizeLimit is undefined on line 18, column 42 in org/alfresco/components/upload/html-upload.get.html.ftl.

    Root Cause Analysis

    1. freemarker.core.InvalidReferenceException

      Expression inMemoryLimit is undefined on line 18, column 37 in org/alfresco/components/upload/dnd-upload.get.html.ftl.

      at freemarker.core.TemplateObject.assertNonNull()
    2. FreeMarker
      Environment$3.render
      1. freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:125)
      2. freemarker.core.Expression.getStringValue(Expression.java:118)
      3. freemarker.core.Expression.getStringValue(Expression.java:93)
      4. freemarker.core.DollarVariable.accept(DollarVariable.java:76)
      5. freemarker.core.Environment.visit(Environment.java:221)
      6. freemarker.core.MixedContent.accept(MixedContent.java:92)
      7. freemarker.core.Environment.visit(Environment.java:221)
      8. freemarker.core.Environment$3.render(Environment.java:246)
      8 frames
    3. org.springframework.extensions
      JavaScriptDependencyDirective.execute
      1. org.springframework.extensions.directives.AddInlineJavaScriptDirective.createExtensibilityDirectiveData(AddInlineJavaScriptDirective.java:67)
      2. org.springframework.extensions.surf.extensibility.impl.AbstractExtensibilityDirective.execute(AbstractExtensibilityDirective.java:133)
      3. org.springframework.extensions.directives.JavaScriptDependencyDirective.execute(JavaScriptDependencyDirective.java:79)
      3 frames
    4. FreeMarker
      Environment$3.render
      1. freemarker.core.Environment.visit(Environment.java:274)
      2. freemarker.core.UnifiedCall.accept(UnifiedCall.java:126)
      3. freemarker.core.Environment.visit(Environment.java:221)
      4. freemarker.core.MixedContent.accept(MixedContent.java:92)
      5. freemarker.core.Environment.visit(Environment.java:221)
      6. freemarker.core.Environment$3.render(Environment.java:246)
      6 frames
    5. org.springframework.extensions
      AbstractExtensibilityDirective.execute
      1. org.springframework.extensions.surf.extensibility.impl.DefaultExtensibilityDirectiveData.render(DefaultExtensibilityDirectiveData.java:119)
      2. org.springframework.extensions.surf.extensibility.impl.ExtensibilityModelImpl.merge(ExtensibilityModelImpl.java:408)
      3. org.springframework.extensions.surf.extensibility.impl.AbstractExtensibilityDirective.merge(AbstractExtensibilityDirective.java:169)
      4. org.springframework.extensions.surf.extensibility.impl.AbstractExtensibilityDirective.execute(AbstractExtensibilityDirective.java:137)
      4 frames
    6. FreeMarker
      Environment.process
      1. freemarker.core.Environment.visit(Environment.java:274)
      2. freemarker.core.UnifiedCall.accept(UnifiedCall.java:126)
      3. freemarker.core.Environment.visit(Environment.java:221)
      4. freemarker.core.MixedContent.accept(MixedContent.java:92)
      5. freemarker.core.Environment.visit(Environment.java:221)
      6. freemarker.core.Environment.process(Environment.java:199)
      6 frames
    7. org.springframework.extensions
      ChromeIncludeFreeMarkerDirective.execute
      1. org.springframework.extensions.webscripts.processor.FTLTemplateProcessor.process(FTLTemplateProcessor.java:171)
      2. org.springframework.extensions.webscripts.AbstractWebScript.renderTemplate(AbstractWebScript.java:875)
      3. org.springframework.extensions.webscripts.DeclarativeWebScript.renderFormatTemplate(DeclarativeWebScript.java:267)
      4. org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:147)
      5. org.springframework.extensions.webscripts.PresentationContainer.executeScript(PresentationContainer.java:70)
      6. org.springframework.extensions.webscripts.LocalWebScriptRuntimeContainer.executeScript(LocalWebScriptRuntimeContainer.java:240)
      7. org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:377)
      8. org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209)
      9. org.springframework.extensions.webscripts.WebScriptProcessor.executeBody(WebScriptProcessor.java:310)
      10. org.springframework.extensions.surf.render.AbstractProcessor.execute(AbstractProcessor.java:57)
      11. org.springframework.extensions.surf.render.RenderService.process(RenderService.java:599)
      12. org.springframework.extensions.surf.render.RenderService.renderSubComponent(RenderService.java:505)
      13. org.springframework.extensions.surf.render.RenderService.renderChromeInclude(RenderService.java:1284)
      14. org.springframework.extensions.directives.ChromeIncludeFreeMarkerDirective.execute(ChromeIncludeFreeMarkerDirective.java:81)
      14 frames
    8. FreeMarker
      Environment.process
      1. freemarker.core.Environment.visit(Environment.java:274)
      2. freemarker.core.UnifiedCall.accept(UnifiedCall.java:126)
      3. freemarker.core.Environment.visit(Environment.java:221)
      4. freemarker.core.MixedContent.accept(MixedContent.java:92)
      5. freemarker.core.Environment.visit(Environment.java:221)
      6. freemarker.core.IfBlock.accept(IfBlock.java:82)
      7. freemarker.core.Environment.visit(Environment.java:221)
      8. freemarker.core.MixedContent.accept(MixedContent.java:92)
      9. freemarker.core.Environment.visit(Environment.java:221)
      10. freemarker.core.Environment.process(Environment.java:199)
      10 frames
    9. org.springframework.extensions
      ChromeIncludeFreeMarkerDirective.execute
      1. org.springframework.extensions.webscripts.processor.FTLTemplateProcessor.process(FTLTemplateProcessor.java:171)
      2. org.springframework.extensions.webscripts.WebTemplateProcessor.executeBody(WebTemplateProcessor.java:438)
      3. org.springframework.extensions.surf.render.AbstractProcessor.execute(AbstractProcessor.java:57)
      4. org.springframework.extensions.surf.render.RenderService.processRenderable(RenderService.java:204)
      5. org.springframework.extensions.surf.render.bean.ChromeRenderer.body(ChromeRenderer.java:95)
      6. org.springframework.extensions.surf.render.AbstractRenderer.render(AbstractRenderer.java:77)
      7. org.springframework.extensions.surf.render.bean.ChromeRenderer.render(ChromeRenderer.java:86)
      8. org.springframework.extensions.surf.render.RenderService.processComponent(RenderService.java:432)
      9. org.springframework.extensions.surf.render.bean.ComponentRenderer.body(ComponentRenderer.java:94)
      10. org.springframework.extensions.surf.render.AbstractRenderer.render(AbstractRenderer.java:77)
      11. org.springframework.extensions.surf.render.RenderService.renderComponent(RenderService.java:961)
      12. org.springframework.extensions.surf.render.RenderService.renderRegionComponents(RenderService.java:900)
      13. org.springframework.extensions.surf.render.RenderService.renderChromeInclude(RenderService.java:1263)
      14. org.springframework.extensions.directives.ChromeIncludeFreeMarkerDirective.execute(ChromeIncludeFreeMarkerDirective.java:81)
      14 frames
    10. FreeMarker
      Environment.process
      1. freemarker.core.Environment.visit(Environment.java:274)
      2. freemarker.core.UnifiedCall.accept(UnifiedCall.java:126)
      3. freemarker.core.Environment.visit(Environment.java:221)
      4. freemarker.core.MixedContent.accept(MixedContent.java:92)
      5. freemarker.core.Environment.visit(Environment.java:221)
      6. freemarker.core.Environment.process(Environment.java:199)
      6 frames
    11. org.springframework.extensions
      AbstractExtensibilityDirective.execute
      1. org.springframework.extensions.webscripts.processor.FTLTemplateProcessor.process(FTLTemplateProcessor.java:171)
      2. org.springframework.extensions.webscripts.WebTemplateProcessor.executeBody(WebTemplateProcessor.java:438)
      3. org.springframework.extensions.surf.render.AbstractProcessor.execute(AbstractProcessor.java:57)
      4. org.springframework.extensions.surf.render.RenderService.processRenderable(RenderService.java:204)
      5. org.springframework.extensions.surf.render.bean.ChromeRenderer.body(ChromeRenderer.java:95)
      6. org.springframework.extensions.surf.render.AbstractRenderer.render(AbstractRenderer.java:77)
      7. org.springframework.extensions.surf.render.bean.ChromeRenderer.render(ChromeRenderer.java:86)
      8. org.springframework.extensions.surf.render.bean.RegionRenderer.body(RegionRenderer.java:99)
      9. org.springframework.extensions.surf.render.AbstractRenderer.render(AbstractRenderer.java:77)
      10. org.springframework.extensions.surf.render.RenderService.renderRegion(RenderService.java:851)
      11. org.springframework.extensions.directives.RegionDirectiveData.render(RegionDirectiveData.java:91)
      12. org.springframework.extensions.surf.extensibility.impl.ExtensibilityModelImpl.merge(ExtensibilityModelImpl.java:408)
      13. org.springframework.extensions.surf.extensibility.impl.AbstractExtensibilityDirective.merge(AbstractExtensibilityDirective.java:169)
      14. org.springframework.extensions.surf.extensibility.impl.AbstractExtensibilityDirective.execute(AbstractExtensibilityDirective.java:137)
      14 frames
    12. FreeMarker
      Environment$3.render
      1. freemarker.core.Environment.visit(Environment.java:274)
      2. freemarker.core.UnifiedCall.accept(UnifiedCall.java:126)
      3. freemarker.core.Environment.visit(Environment.java:221)
      4. freemarker.core.MixedContent.accept(MixedContent.java:92)
      5. freemarker.core.Environment.visit(Environment.java:221)
      6. freemarker.core.Environment$3.render(Environment.java:246)
      6 frames
    13. org.springframework.extensions
      AbstractExtensibilityDirective.execute
      1. org.springframework.extensions.surf.extensibility.impl.DefaultExtensibilityDirectiveData.render(DefaultExtensibilityDirectiveData.java:119)
      2. org.springframework.extensions.surf.extensibility.impl.ExtensibilityModelImpl.merge(ExtensibilityModelImpl.java:408)
      3. org.springframework.extensions.surf.extensibility.impl.AbstractExtensibilityDirective.merge(AbstractExtensibilityDirective.java:169)
      4. org.springframework.extensions.surf.extensibility.impl.AbstractExtensibilityDirective.execute(AbstractExtensibilityDirective.java:137)
      4 frames
    14. FreeMarker
      Environment.process
      1. freemarker.core.Environment.visit(Environment.java:274)
      2. freemarker.core.UnifiedCall.accept(UnifiedCall.java:126)
      3. freemarker.core.Environment.visit(Environment.java:221)
      4. freemarker.core.MixedContent.accept(MixedContent.java:92)
      5. freemarker.core.Environment.visit(Environment.java:221)
      6. freemarker.core.Environment.visit(Environment.java:406)
      7. freemarker.core.BodyInstruction.accept(BodyInstruction.java:93)
      8. freemarker.core.Environment.visit(Environment.java:221)
      9. freemarker.core.MixedContent.accept(MixedContent.java:92)
      10. freemarker.core.Environment.visit(Environment.java:221)
      11. freemarker.core.Macro$Context.runMacro(Macro.java:172)
      12. freemarker.core.Environment.visit(Environment.java:614)
      13. freemarker.core.UnifiedCall.accept(UnifiedCall.java:106)
      14. freemarker.core.Environment.visit(Environment.java:221)
      15. freemarker.core.MixedContent.accept(MixedContent.java:92)
      16. freemarker.core.Environment.visit(Environment.java:221)
      17. freemarker.core.Environment.process(Environment.java:199)
      17 frames
    15. org.springframework.extensions
      AbstractWebFrameworkView.renderMergedOutputModel
      1. org.springframework.extensions.webscripts.processor.FTLTemplateProcessor.process(FTLTemplateProcessor.java:171)
      2. org.springframework.extensions.webscripts.WebTemplateProcessor.executeBody(WebTemplateProcessor.java:438)
      3. org.springframework.extensions.surf.render.AbstractProcessor.execute(AbstractProcessor.java:57)
      4. org.springframework.extensions.surf.render.RenderService.processTemplate(RenderService.java:721)
      5. org.springframework.extensions.surf.render.bean.TemplateInstanceRenderer.body(TemplateInstanceRenderer.java:140)
      6. org.springframework.extensions.surf.render.AbstractRenderer.render(AbstractRenderer.java:77)
      7. org.springframework.extensions.surf.render.bean.PageRenderer.body(PageRenderer.java:85)
      8. org.springframework.extensions.surf.render.AbstractRenderer.render(AbstractRenderer.java:77)
      9. org.springframework.extensions.surf.render.RenderService.renderPage(RenderService.java:762)
      10. org.springframework.extensions.surf.mvc.PageView.dispatchPage(PageView.java:419)
      11. org.springframework.extensions.surf.mvc.PageView.renderView(PageView.java:314)
      12. org.springframework.extensions.surf.mvc.AbstractWebFrameworkView.renderMergedOutputModel(AbstractWebFrameworkView.java:316)
      12 frames
    16. Spring MVC
      FrameworkServlet.doGet
      1. org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:250)
      2. org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1047)
      3. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:817)
      4. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
      5. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
      6. org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
      6 frames
    17. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
      2 frames
    18. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    19. org.alfresco.web
      MTAuthenticationFilter.doFilter
      1. org.alfresco.web.site.servlet.MTAuthenticationFilter.doFilter(MTAuthenticationFilter.java:74)
      1 frame
    20. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    21. org.alfresco.web
      SSOAuthenticationFilter.doFilter
      1. org.alfresco.web.site.servlet.SSOAuthenticationFilter.doFilter(SSOAuthenticationFilter.java:374)
      1 frame
    22. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
      8 frames
    23. Grizzly HTTP
      AprEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:879)
      2. org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:617)
      3. org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1760)
      3 frames
    24. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:722)
      1 frame