freemarker.template.TemplateModelException: java.lang.IllegalArgumentException: java.lang.ClassCastException@1801f01

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via freemarker by *anonymous
, 1 year ago
java.lang.IllegalArgumentException: java.lang.ClassCastException@1801f01
via freemarker by *anonymous
, 1 year ago
java.lang.IllegalArgumentException: argument type mismatch
via freemarker by nobody
, 1 year ago
java.lang.IllegalArgumentException: argument type mismatch
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)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.