freemarker.core.InvalidReferenceException: Expression commit.author is undefined on line 35, column 3 in notification-templates/notificationCommonsText.ftl.

Atlassian JIRA | Deric Lee | 5 months ago
  1. 0

    h3. Summary When a notification email is supposed contain the commit author name, Bamboo throws the following error: {noformat:borderStyle=dashed} 2016-07-13 21:56:42,335 ERROR [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-15] [runtime] Expression commit.author is undefined on line 35, column 3 in notification-templates/notificationCommonsText.ftl. Expression commit.author is undefined on line 35, column 3 in notification-templates/notificationCommonsText.ftl. The problematic instruction: ---------- ==> ${commit.author.fullName} [on line 35, column 1 in notification-templates/notificationCommonsText.ftl] in user-directive showCommits [on line 7, column 1 in notification-templates/BuildMissingCapableAgentTextEmail.ftl] ---------- Java backtrace for programmers: ---------- freemarker.core.InvalidReferenceException: Expression commit.author is undefined on line 35, column 3 in notification-templates/notificationCommonsText.ftl. at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124) at freemarker.core.TemplateObject.invalidTypeException(TemplateObject.java:134) at freemarker.core.Dot._getAsTemplateModel(Dot.java:78) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at freemarker.core.Expression.getStringValue(Expression.java:93) at freemarker.core.DollarVariable.accept(DollarVariable.java:76) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:167) at freemarker.core.Environment.visit(Environment.java:417) at freemarker.core.IteratorBlock.accept(IteratorBlock.java:102) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:210) {noformat} h3. Steps to Reproduce # Setup build plan to send notification for Jobs queued with no capable agents # Trigger the build by pushing a commit h3. Expected Results Email sent with triggering commit details h3. Actual Results The error as per the description appears in the logs. Email is still sent, with missing commit author name.

    Atlassian JIRA | 5 months ago | Deric Lee
    freemarker.core.InvalidReferenceException: Expression commit.author is undefined on line 35, column 3 in notification-templates/notificationCommonsText.ftl.
  2. 0

    Struts 2's XML validation Error

    Stack Overflow | 3 years ago | Roshan
    freemarker.core.InvalidReferenceException: Expression validator.expression is undefined on line 88, column 109 in template/xhtml/form-close-validate.ftl.
  3. 0

    Struts 2 FreeMarker Template Error stack.findValue('top') is undefined and jsp page

    Stack Overflow | 4 years ago | Chetan
    freemarker.core.InvalidReferenceException: Error on line 69, column 13 in template/simple/select.ftl stack.findValue('top') is undefined. It cannot be assigned to itemKey
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    FreeMarker template engine / Discussion / Open Discussion:How to limit freemarker logs using log4j

    sourceforge.net | 11 months ago
    freemarker.core.InvalidReferenceException: Expression config.pathContextParts is undefined on line 10, column 64 in includes/footer/footer.ftl.
  6. 0

    KMC WIKI 7.30 - Upload Image error | SCN

    sap.com | 11 months ago
    freemarker.core.InvalidReferenceException: Expression action.fieldErrors["Filedata"] is undefined on line 821, column 36 in template/global/image-picker.ftl.

    1 unregistered visitors
    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 commit.author is undefined on line 35, column 3 in notification-templates/notificationCommonsText.ftl.

      at freemarker.core.TemplateObject.assertNonNull()
    2. FreeMarker
      Environment.visit
      1. freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
      2. freemarker.core.TemplateObject.invalidTypeException(TemplateObject.java:134)
      3. freemarker.core.Dot._getAsTemplateModel(Dot.java:78)
      4. freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
      5. freemarker.core.Expression.getStringValue(Expression.java:93)
      6. freemarker.core.DollarVariable.accept(DollarVariable.java:76)
      7. freemarker.core.Environment.visit(Environment.java:210)
      8. freemarker.core.MixedContent.accept(MixedContent.java:92)
      9. freemarker.core.Environment.visit(Environment.java:210)
      10. freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:167)
      11. freemarker.core.Environment.visit(Environment.java:417)
      12. freemarker.core.IteratorBlock.accept(IteratorBlock.java:102)
      13. freemarker.core.Environment.visit(Environment.java:210)
      14. freemarker.core.MixedContent.accept(MixedContent.java:92)
      15. freemarker.core.Environment.visit(Environment.java:210)
      15 frames