freemarker.core.InvalidReferenceException

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.

  • 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 freemarker.template.Template.process(Template.java:232) 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$4.invoke(TemplatePreview_HtmlTemplateComponent.java:495) at jetbrains.teamsys.dnq.runtime.txn._Txn.eval(_Txn.java:513) 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.youtrack.notifications.ui.TemplatePreview_HtmlTemplateComponent$1.invoke(TemplatePreview_HtmlTemplateComponent.java:64) at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.renderTemplate(TemplateComponent.java:542) at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.buildTemplateComponent(TemplateComponent.java:1015) at jetbrains.youtrack.notifications.ui.CommonTemplateEditor_HtmlTemplateComponent.renderTemplate(CommonTemplateEditor_HtmlTemplateComponent.java:331) at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.renderTemplate(TemplateComponent.java:548) at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.buildTemplateComponent(TemplateComponent.java:1015) at jetbrains.youtrack.notifications.ui.AuxiliaryNotificationTemplate_RootHtmlTemplateComponent.renderTemplate(AuxiliaryNotificationTemplate_RootHtmlTemplateComponent.java:161) at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.renderTemplate(TemplateComponent.java:548) at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.buildTemplateComponent(TemplateComponent.java:1015) 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 jetbrains.mps.webr.runtime.servlet.MainServlet.doGet(MainServlet.java:123) 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:1351) at jetbrains.mps.webr.runtime.filter.QueryParameterFilter.doFilter(QueryParameterFilter.java:25) 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.server.HttpConnection.handle(HttpConnection.java:426) 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 org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:450) at java.lang.Thread.run(Thread.java:662)

Users with the same issue

asdasd
485 times, last one,
dafman
1 times, last one,
abrazeneb
3 times, last one,
Unknown visitor1 times, last one,
Adarro
2 times, last one,
10 more bugmates