freemarker.core.InvalidReferenceException: Expression header is undefined on line 1, column 33 in test_template_default_subject_primary_test.ftl.

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

Solutions on the web

via YouTrack by Unknown author, 1 year ago
Expression header is undefined on line 1, column 33 in test_template_default_subject_primary_test.ftl.
via tigros.it by Unknown author, 2 years ago
Expression ingredient.description is undefined on line 314, column 87 in recipe.ftl.
via YouTrack by Unknown author, 1 year ago
Expression codeStyle is undefined on line 18, column 17 in email/labeling_failed.ftl.
via Coderanch by Migrated From Jforum.net, 1 year ago
Expression templateName is undefined on line 5, column 14 in exception.html.
via Coderanch by Migrated From Jforum.net, 1 year ago
Expression I18n.getMessage("Forums.Form.ChooseCategory") is undefined on line 24, column 26 in default/admin/forum_form.htm.
via Coderanch by Migrated From Jforum.net, 1 year ago
Expression request.getSession().getAttribute("xxx") is undefined on line 12, column 51 in default/forum_list.htm.
freemarker.core.InvalidReferenceException: Expression header is undefined on line 1, column 33 in test_template_default_subject_primary_test.ftl.
at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
at freemarker.core.Expression.getStringValue(Expression.java:118)
at freemarker.core.Expression.getStringValue(Expression.java:93)
at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
at freemarker.core.Environment.visit(Environment.java:208)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:208)
at freemarker.core.Environment.visit(Environment.java:297)
at freemarker.core.CompressedBlock.accept(CompressedBlock.java:73)
at freemarker.core.Environment.visit(Environment.java:208)
at freemarker.core.Environment.process(Environment.java:188)
at jetbrains.youtrack.notifications.controller.ContextualTemplateRenderer.render(ContextualTemplateRenderer.java:23)
at jetbrains.youtrack.notifications.ui.TemplatePreview_HtmlTemplateComponent$4.invoke(TemplatePreview_HtmlTemplateComponent.java:500)
at jetbrains.youtrack.notifications.ui.TemplatePreview_HtmlTemplateComponent.process(TemplatePreview_HtmlTemplateComponent.java:495)
at jetbrains.youtrack.notifications.ui.TemplatePreview_HtmlTemplateComponent.update(TemplatePreview_HtmlTemplateComponent.java:457)
at jetbrains.youtrack.notifications.ui.TemplatePreview_HtmlTemplateComponent.access$000(TemplatePreview_HtmlTemplateComponent.java:32)
at jetbrains.youtrack.notifications.ui.TemplatePreview_HtmlTemplateComponent$1.invoke(TemplatePreview_HtmlTemplateComponent.java:66)
at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.renderTemplate(TemplateComponent.java:542)
at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.renderTemplate(TemplateComponent.java:548)
at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.renderTemplate(TemplateComponent.java:548)
at jetbrains.charisma.smartadmin.admin2.SmartAdmin_LayoutComponent.renderTemplate(SmartAdmin_LayoutComponent.java:312)
at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.renderTemplate(TemplateComponent.java:548)
at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.render(TemplateComponent.java:459)
at jetbrains.mps.webr.runtime.requestProcessor.ResponseFactory$2.doAction(ResponseFactory.java:79)
at jetbrains.mps.webr.runtime.servlet.MainServlet.executeResponseAction(MainServlet.java:172)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:533)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1322)
at org.eclipse.jetty.continuation.ContinuationFilter.doFilter(ContinuationFilter.java:111)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1322)
at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:77)
at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:133)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1322)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:473)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:514)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:920)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:403)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:184)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:856)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:216)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:114)
at org.eclipse.jetty.server.Server.handle(Server.java:352)
at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:596)
at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1049)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:590)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:212)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:510)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.access$000(SelectChannelEndPoint.java:34)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
at java.lang.Thread.run(Thread.java:662)

Users with the same issue

3 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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