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

YouTrack | 5 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Exception in logs: Expression header is undefined on line 1, column 33 in test_template_default_subject_primary_test.ftl.

    YouTrack | 5 years ago
    freemarker.core.InvalidReferenceException: Expression header is undefined on line 1, column 33 in test_template_default_subject_primary_test.ftl.
  2. 0

    Access RequestParameters inside Camel Freemarker ftl

    Stack Overflow | 3 years ago | amate
    freemarker.core.InvalidReferenceException: Expression RequestParameters is undefined on line 216, column 40 in ftl/META-INF/spring/route-context.xml.ftl.
  3. 0

    FreeMarker Template Error

    oreports | 9 years ago | jenwheel
    freemarker.core.InvalidReferenceException: Expression error is undefined on line 4, column 50 in template/simple/actionerror.ftl.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    VCF to HTML conversion is throwing exception with partial conversion

    GitHub | 2 years ago | GoogleCodeExporter
    freemarker.core.InvalidReferenceException: The following has evaluated to null or missing: ==> org [in template "hcard-template.html" at line 407, column 107] Tip: If the failing expression is known to be legally null/missing, either specify a default value with myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthessis: (myOptionVar.foo)!myDefault, (myOptionVar.foo)?? The failing instruction (print stack trace for 1 more): ==> ${org} [in template "hcard-template.html" at line 407, column 105]
  6. 0

    HipChat Plugin Error with Rundeck 2.1.1

    GitHub | 3 years ago | hbakkum
    com.hbakkum.rundeck.plugins.hipchat.HipChatNotificationPluginException: Error merging HipChat notification message template: [Expression executionData.context is undefined on line 13, column 17 in hipchat-message.ftl.].
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. 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()
  2. FreeMarker
    Template.process
    1. freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
    2. freemarker.core.Expression.getStringValue(Expression.java:118)
    3. freemarker.core.Expression.getStringValue(Expression.java:93)
    4. freemarker.core.DollarVariable.accept(DollarVariable.java:76)
    5. freemarker.core.Environment.visit(Environment.java:208)
    6. freemarker.core.MixedContent.accept(MixedContent.java:92)
    7. freemarker.core.Environment.visit(Environment.java:208)
    8. freemarker.core.Environment.visit(Environment.java:297)
    9. freemarker.core.CompressedBlock.accept(CompressedBlock.java:73)
    10. freemarker.core.Environment.visit(Environment.java:208)
    11. freemarker.core.Environment.process(Environment.java:188)
    12. freemarker.template.Template.process(Template.java:232)
    12 frames
  3. jetbrains.youtrack.notifications
    ContextualTemplateRenderer.render
    1. jetbrains.youtrack.notifications.controller.ContextualTemplateRenderer.render(ContextualTemplateRenderer.java:23)
    1 frame
  4. JetBrains youtrack
    TemplatePreview_HtmlTemplateComponent$4.invoke
    1. jetbrains.youtrack.notifications.ui.TemplatePreview_HtmlTemplateComponent$4.invoke(TemplatePreview_HtmlTemplateComponent.java:500)
    2. jetbrains.youtrack.notifications.ui.TemplatePreview_HtmlTemplateComponent$4.invoke(TemplatePreview_HtmlTemplateComponent.java:495)
    2 frames
  5. JetBrains teamsys
    _Txn.eval
    1. jetbrains.teamsys.dnq.runtime.txn._Txn.eval(_Txn.java:513)
    1 frame
  6. JetBrains youtrack
    TemplatePreview_HtmlTemplateComponent$1.invoke
    1. jetbrains.youtrack.notifications.ui.TemplatePreview_HtmlTemplateComponent.process(TemplatePreview_HtmlTemplateComponent.java:495)
    2. jetbrains.youtrack.notifications.ui.TemplatePreview_HtmlTemplateComponent.update(TemplatePreview_HtmlTemplateComponent.java:457)
    3. jetbrains.youtrack.notifications.ui.TemplatePreview_HtmlTemplateComponent.access$000(TemplatePreview_HtmlTemplateComponent.java:32)
    4. jetbrains.youtrack.notifications.ui.TemplatePreview_HtmlTemplateComponent$1.invoke(TemplatePreview_HtmlTemplateComponent.java:66)
    5. jetbrains.youtrack.notifications.ui.TemplatePreview_HtmlTemplateComponent$1.invoke(TemplatePreview_HtmlTemplateComponent.java:64)
    5 frames
  7. JetBrains mps
    TemplateComponent.buildTemplateComponent
    1. jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.renderTemplate(TemplateComponent.java:542)
    2. jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.buildTemplateComponent(TemplateComponent.java:1015)
    2 frames
  8. JetBrains youtrack
    CommonTemplateEditor_HtmlTemplateComponent.renderTemplate
    1. jetbrains.youtrack.notifications.ui.CommonTemplateEditor_HtmlTemplateComponent.renderTemplate(CommonTemplateEditor_HtmlTemplateComponent.java:331)
    1 frame
  9. JetBrains mps
    TemplateComponent.buildTemplateComponent
    1. jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.renderTemplate(TemplateComponent.java:548)
    2. jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.buildTemplateComponent(TemplateComponent.java:1015)
    2 frames
  10. JetBrains youtrack
    AuxiliaryNotificationTemplate_RootHtmlTemplateComponent.renderTemplate
    1. jetbrains.youtrack.notifications.ui.AuxiliaryNotificationTemplate_RootHtmlTemplateComponent.renderTemplate(AuxiliaryNotificationTemplate_RootHtmlTemplateComponent.java:161)
    1 frame
  11. JetBrains mps
    TemplateComponent.buildTemplateComponent
    1. jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.renderTemplate(TemplateComponent.java:548)
    2. jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.buildTemplateComponent(TemplateComponent.java:1015)
    2 frames
  12. jetbrains.charisma.smartadmin
    SmartAdmin_LayoutComponent.renderTemplate
    1. jetbrains.charisma.smartadmin.admin2.SmartAdmin_LayoutComponent.renderTemplate(SmartAdmin_LayoutComponent.java:312)
    1 frame
  13. JetBrains mps
    MainServlet.doGet
    1. jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.renderTemplate(TemplateComponent.java:548)
    2. jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.render(TemplateComponent.java:459)
    3. jetbrains.mps.webr.runtime.requestProcessor.ResponseFactory$2.doAction(ResponseFactory.java:79)
    4. jetbrains.mps.webr.runtime.servlet.MainServlet.executeResponseAction(MainServlet.java:172)
    5. jetbrains.mps.webr.runtime.servlet.MainServlet.doGet(MainServlet.java:123)
    5 frames
  14. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    2 frames
  15. Jetty
    ServletHandler$CachedChain.doFilter
    1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:533)
    2. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1351)
    2 frames
  16. JetBrains mps
    QueryParameterFilter.doFilter
    1. jetbrains.mps.webr.runtime.filter.QueryParameterFilter.doFilter(QueryParameterFilter.java:25)
    1 frame
  17. Jetty
    HttpConnection.handle
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1322)
    2. org.eclipse.jetty.continuation.ContinuationFilter.doFilter(ContinuationFilter.java:111)
    3. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1322)
    4. org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:77)
    5. org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:133)
    6. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1322)
    7. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:473)
    8. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
    9. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:514)
    10. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
    11. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:920)
    12. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:403)
    13. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:184)
    14. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:856)
    15. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
    16. org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:216)
    17. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:114)
    18. org.eclipse.jetty.server.Server.handle(Server.java:352)
    19. org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:596)
    20. org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1049)
    21. org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:590)
    22. org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:212)
    23. org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:426)
    23 frames
  18. GWT dev
    SelectChannelEndPoint$1.run
    1. org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:510)
    2. org.eclipse.jetty.io.nio.SelectChannelEndPoint.access$000(SelectChannelEndPoint.java:34)
    3. org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
    3 frames
  19. Jetty
    QueuedThreadPool$2.run
    1. org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:450)
    1 frame
  20. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:662)
    1 frame