freemarker.template.TemplateModelException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • using java constants as attribute value
    via freemarker by *anonymous
    ,
  • freemarker s.action
    via freemarker by nobody
    ,
    • freemarker.template.TemplateModelException: java.lang.IllegalArgumentException: java.lang.ClassCastException@1801f01 at freemarker.ext.jsp.TagTransformModel.getWriter(TagTransformModel.java:164) at freemarker.template.Environment.visit(Environment.java:203) at freemarker.template.UnifiedCall.accept(UnifiedCall.java:112) at freemarker.template.Environment.visit(Environment.java:179) at freemarker.template.MixedContent.accept(MixedContent.java:91) at freemarker.template.Environment.visit(Environment.java:179) at freemarker.template.Environment.visit(Environment.java:216) at freemarker.template.UnifiedCall.accept(UnifiedCall.java:112) at freemarker.template.Environment.visit(Environment.java:179) at freemarker.template.MixedContent.accept(MixedContent.java:91) at freemarker.template.Environment.visit(Environment.java:179) at freemarker.template.Environment.visit(Environment.java:216) at freemarker.template.UnifiedCall.accept(UnifiedCall.java:112) at freemarker.template.Environment.visit(Environment.java:179) at freemarker.template.MixedContent.accept(MixedContent.java:91) at freemarker.template.Environment.visit(Environment.java:179) at freemarker.template.Environment.process(Environment.java:165) at freemarker.template.Template.process(Template.java:238) at freemarker.ext.servlet.FreemarkerServlet.process(FreemarkerServlet.java:413) at freemarker.ext.servlet.FreemarkerServlet.doGet(FreemarkerServlet.java:359) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:575) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:498) at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:822)
    No Bugmate found.