freemarker.template.TemplateModelException: [... Exception message was already printed; see it above ...]

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 Spring JIRA by Tokuhiro Matsuno, 1 year ago
[... Exception message was already printed; see it above ...]
via GitHub by tokuhirom
, 1 year ago
[... Exception message was already printed; see it above ...]
freemarker.template.TemplateModelException: [... Exception message was already printed; see it above ...]
at freemarker.core.FMParser.BuiltIn(FMParser.java:1193)
at freemarker.core.FMParser.AddSubExpression(FMParser.java:1101)
at freemarker.core.FMParser.PrimaryExpression(FMParser.java:593)
at freemarker.core.FMParser.UnaryExpression(FMParser.java:639)
at freemarker.core.FMParser.MultiplicativeExpression(FMParser.java:754)
at freemarker.core.FMParser.AdditiveExpression(FMParser.java:706)
at freemarker.core.FMParser.RangeExpression(FMParser.java:886)
at freemarker.core.FMParser.RelationalExpression(FMParser.java:834)
at freemarker.core.FMParser.EqualityExpression(FMParser.java:797)
at freemarker.core.FMParser.AndExpression(FMParser.java:953)
at freemarker.core.FMParser.OrExpression(FMParser.java:975)
at freemarker.core.FMParser.Expression(FMParser.java:534)
at freemarker.core.FMParser.StringOutput(FMParser.java:1508)
at freemarker.core.FMParser.MixedContentElements(FMParser.java:3647)
at freemarker.core.FMParser.List(FMParser.java:1731)
at freemarker.core.FMParser.FreemarkerDirective(FMParser.java:3329)
at freemarker.core.FMParser.MixedContentElements(FMParser.java:3697)
at freemarker.core.FMParser.If(FMParser.java:1611)
at freemarker.core.FMParser.FreemarkerDirective(FMParser.java:3325)
at freemarker.core.FMParser.MixedContentElements(FMParser.java:3697)
at freemarker.core.FMParser.Macro(FMParser.java:2630)
at freemarker.core.FMParser.FreemarkerDirective(FMParser.java:3352)
at freemarker.core.FMParser.MixedContentElements(FMParser.java:3697)
at freemarker.core.FMParser.Root(FMParser.java:4280)
at freemarker.template.Template.(Template.java:254)
at freemarker.cache.TemplateCache.loadTemplate(TemplateCache.java:548)
at freemarker.cache.TemplateCache.getTemplateInternal(TemplateCache.java:438)
at freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:291)
at freemarker.template.Configuration.getTemplate(Configuration.java:2438)
at freemarker.core.Environment$LazilyInitializedNamespace.initialize(Environment.java:2901)
at freemarker.core.Environment$LazilyInitializedNamespace.ensureInitializedTME(Environment.java:2876)
at freemarker.core.Environment$LazilyInitializedNamespace.get(Environment.java:2939)
at freemarker.core.Dot._eval(Dot.java:43)
at freemarker.core.Expression.eval(Expression.java:81)
at freemarker.core.UnifiedCall.accept(UnifiedCall.java:73)
at freemarker.core.Environment.visit(Environment.java:363)
at freemarker.core.Environment.invokeNestedContent(Environment.java:572)
at freemarker.core.BodyInstruction.accept(BodyInstruction.java:60)
at freemarker.core.Environment.visit(Environment.java:363)
at freemarker.core.Environment.invoke(Environment.java:715)
at freemarker.core.UnifiedCall.accept(UnifiedCall.java:83)
at freemarker.core.Environment.visit(Environment.java:327)
at freemarker.core.Environment.visit(Environment.java:333)
at freemarker.core.Environment.process(Environment.java:306)
at org.springframework.web.servlet.view.freemarker.FreeMarkerView.processTemplate(FreeMarkerView.java:367)
at org.springframework.web.servlet.view.freemarker.FreeMarkerView.doRender(FreeMarkerView.java:284)
at org.springframework.web.servlet.view.freemarker.FreeMarkerView.renderMergedTemplateModel(FreeMarkerView.java:234)
at org.springframework.web.servlet.view.AbstractTemplateView.renderMergedOutputModel(AbstractTemplateView.java:167)
at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:303)
at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1257)
at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1037)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:980)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:87)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:522)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:677)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:1110)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:785)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1425)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.lang.Thread.run(Thread.java:745)

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.