Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4298

TemplateException: Error reading included file template/~~~as_admin/dynamic-attributes.ftl

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 2.3.20
    • Component/s: None
    • Labels:
      None

      Description

      Error reading included file template/~~~as_admin/dynamic-attributes.ftl
      The problematic instruction:
      ----------
      ==> include "/${parameters.templateDir}/${parameters.expandTheme}/dynamic-attributes.ftl" [on line 67, column 1 in template/simple/form-common.ftl]
      in include "/${parameters.templateDir}/simple/form-common.ftl" [on line 24, column 1 in template/as_admin/form.ftl]
      ----------

      Java backtrace for programmers:
      ----------
      freemarker.template.TemplateException: Error reading included file template/~~~as_admin/dynamic-attributes.ftl
      at freemarker.core.Include.accept(Include.java:167)
      at freemarker.core.Environment.visit(Environment.java:221)
      at freemarker.core.MixedContent.accept(MixedContent.java:92)
      at freemarker.core.Environment.visit(Environment.java:221)
      at freemarker.core.Environment.include(Environment.java:1508)
      at freemarker.core.Include.accept(Include.java:169)
      at freemarker.core.Environment.visit(Environment.java:221)
      at freemarker.core.MixedContent.accept(MixedContent.java:92)
      at freemarker.core.Environment.visit(Environment.java:221)
      at freemarker.core.Environment.process(Environment.java:199)
      at freemarker.template.Template.process(Template.java:259)
      at org.apache.struts2.components.template.FreemarkerTemplateEngine.renderTemplate(FreemarkerTemplateEngine.java:158)
      at org.apache.struts2.components.UIBean.mergeTemplate(UIBean.java:593)
      at org.apache.struts2.components.ClosingUIBean.start(ClosingUIBean.java:57)
      at org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport.java:53)
      at org.apache.jsp.WEB_002dINF.jsp.admin.tmpl.tmplDesignList_jsp._jspx_meth_s_005fform_005f0(tmplDesignList_jsp.java:451)
      at org.apache.jsp.WEB_002dINF.jsp.admin.tmpl.tmplDesignList_jsp._jspx_meth_s_005fif_005f1(tmplDesignList_jsp.java:413)
      at org.apache.jsp.WEB_002dINF.jsp.admin.tmpl.tmplDesignList_jsp._jspService(tmplDesignList_jsp.java:175)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
      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 com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:66)
      at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
      at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
      at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
      at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
      at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
      at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
      at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
      at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
      at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
      at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
      at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
      at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
      at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
      at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
      at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
      at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
      at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
      at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
      at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
      at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
      at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
      at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
      at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
      at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      ...
      ...
      Caused by: java.io.FileNotFoundException: Template template/~~~as_admin/dynamic-attributes.ftl not found.
      at freemarker.template.Configuration.getTemplate(Configuration.java:580)
      at freemarker.core.Environment.getTemplateForInclusion(Environment.java:1490)
      at freemarker.core.Include.accept(Include.java:157)
      ... 240 more

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lukaszlenart Lukasz Lenart
                Reporter:
                RKumsher@gmail.com Ryan Kumsher
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: