freemarker.template.TemplateModelException: java.lang.IllegalArgumentException: argument type mismatch

freemarker | *anonymous | 1 decade ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    using java constants as attribute value

    freemarker | 1 decade ago | *anonymous
    freemarker.template.TemplateModelException: java.lang.IllegalArgumentException: argument type mismatch

    Root Cause Analysis

    1. freemarker.template.TemplateModelException

      java.lang.IllegalArgumentException: argument type mismatch

      at freemarker.ext.jsp.TagTransformModel.getWriter()
    2. FreeMarker
      FreemarkerServlet.doGet
      1. freemarker.ext.jsp.TagTransformModel.getWriter(TagTransformModel.java:164)
      2. freemarker.template.Environment.visit(Environment.java:203)
      3. freemarker.template.UnifiedCall.accept(UnifiedCall.java:112)
      4. freemarker.template.Environment.visit(Environment.java:179)
      5. freemarker.template.MixedContent.accept(MixedContent.java:91)
      6. freemarker.template.Environment.visit(Environment.java:179)
      7. freemarker.template.Environment.visit(Environment.java:216)
      8. freemarker.template.UnifiedCall.accept(UnifiedCall.java:112)
      9. freemarker.template.Environment.visit(Environment.java:179)
      10. freemarker.template.MixedContent.accept(MixedContent.java:91)
      11. freemarker.template.Environment.visit(Environment.java:179)
      12. freemarker.template.Environment.visit(Environment.java:216)
      13. freemarker.template.UnifiedCall.accept(UnifiedCall.java:112)
      14. freemarker.template.Environment.visit(Environment.java:179)
      15. freemarker.template.MixedContent.accept(MixedContent.java:91)
      16. freemarker.template.Environment.visit(Environment.java:179)
      17. freemarker.template.Environment.process(Environment.java:165)
      18. freemarker.template.Template.process(Template.java:238)
      19. freemarker.ext.servlet.FreemarkerServlet.process(FreemarkerServlet.java:413)
      20. freemarker.ext.servlet.FreemarkerServlet.doGet(FreemarkerServlet.java:359)
      20 frames
    3. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      2 frames
    4. Glassfish Core
      ApplicationDispatcher.include
      1. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      2. org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:575)
      3. org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:498)
      3 frames
    5. GWT dev
      JspRuntimeLibrary.include
      1. org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:822)
      1 frame