org.apache.velocity.runtime.exception.ReferenceException: reference : template = templates/email/html/includes/emailconstants.vm [line 1,column 7] : ${textLinkColour} is not a valid reference.

Atlassian JIRA | Andromeda Sain [Atlassian] | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Confusions in logging seems happened when new mail templates is configured. {noformat} 2012-04-05 18:44:33,835 TP-Processor48 ERROR anonymous 1124x374115x1 1qsai3a 10.220.181.33 /secure/ContactAdministrators.jspa [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 2, column 1] 2012-04-05 18:44:33,835 TP-Processor48 ERROR anonymous 1124x374115x1 1qsai3a 10.220.181.33 /secure/ContactAdministrators.jspa [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 3, column 1] 2012-04-05 18:44:33,835 TP-Processor48 ERROR anonymous 1124x374115x1 1qsai3a 10.220.181.33 /secure/ContactAdministrators.jspa [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 4, column 1] 2012-04-05 18:44:33,835 TP-Processor48 ERROR anonymous 1124x374115x1 1qsai3a 10.220.181.33 /secure/ContactAdministrators.jspa [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 5, column 1] 2012-04-05 18:44:33,835 TP-Processor48 ERROR anonymous 1124x374115x1 1qsai3a 10.220.181.33 /secure/ContactAdministrators.jspa [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 6, column 1] 2012-04-05 18:44:33,835 TP-Processor48 ERROR anonymous 1124x374115x1 1qsai3a 10.220.181.33 /secure/ContactAdministrators.jspa [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 9, column 1] 2012-04-05 18:44:33,835 TP-Processor48 ERROR anonymous 1124x374115x1 1qsai3a 10.220.181.33 /secure/ContactAdministrators.jspa [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 10, column 1] 2012-04-05 18:44:33,836 TP-Processor48 ERROR anonymous 1124x374115x1 1qsai3a 10.220.181.33 /secure/ContactAdministrators.jspa [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 11, column 1] 2012-04-05 18:44:33,836 TP-Processor48 ERROR anonymous 1124x374115x1 1qsai3a 10.220.181.33 /secure/ContactAdministrators.jspa [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 14, column 1] 2012-04-05 18:44:33,836 TP-Processor48 ERROR anonymous 1124x374115x1 1qsai3a 10.220.181.33 /secure/ContactAdministrators.jspa [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 15, column 1] 2012-04-05 18:44:33,836 TP-Processor48 ERROR anonymous 1124x374115x1 1qsai3a 10.220.181.33 /secure/ContactAdministrators.jspa [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 16, column 1] 2012-04-05 18:44:33,837 TP-Processor48 WARN anonymous 1124x374115x1 1qsai3a 10.220.181.33 /secure/ContactAdministrators.jspa [velocity] org.apache.velocity.runtime.exception.ReferenceException: reference : template = templates/email/html/includes/emailconstants.vm [line 1,column 7] : ${textLinkColour} is not a valid reference. at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:277) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.runtime.parser.node.ASTStringLiteral.value(ASTStringLiteral.java:138) at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:51) at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:95) {noformat}

    Atlassian JIRA | 5 years ago | Andromeda Sain [Atlassian]
    org.apache.velocity.runtime.exception.ReferenceException: reference : template = templates/email/html/includes/emailconstants.vm [line 1,column 7] : ${textLinkColour} is not a valid reference.
  2. 0

    Confusions in logging seems happened when new mail templates is configured. {noformat} 2012-04-05 18:44:33,835 TP-Processor48 ERROR anonymous 1124x374115x1 1qsai3a 10.220.181.33 /secure/ContactAdministrators.jspa [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 2, column 1] 2012-04-05 18:44:33,835 TP-Processor48 ERROR anonymous 1124x374115x1 1qsai3a 10.220.181.33 /secure/ContactAdministrators.jspa [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 3, column 1] 2012-04-05 18:44:33,835 TP-Processor48 ERROR anonymous 1124x374115x1 1qsai3a 10.220.181.33 /secure/ContactAdministrators.jspa [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 4, column 1] 2012-04-05 18:44:33,835 TP-Processor48 ERROR anonymous 1124x374115x1 1qsai3a 10.220.181.33 /secure/ContactAdministrators.jspa [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 5, column 1] 2012-04-05 18:44:33,835 TP-Processor48 ERROR anonymous 1124x374115x1 1qsai3a 10.220.181.33 /secure/ContactAdministrators.jspa [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 6, column 1] 2012-04-05 18:44:33,835 TP-Processor48 ERROR anonymous 1124x374115x1 1qsai3a 10.220.181.33 /secure/ContactAdministrators.jspa [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 9, column 1] 2012-04-05 18:44:33,835 TP-Processor48 ERROR anonymous 1124x374115x1 1qsai3a 10.220.181.33 /secure/ContactAdministrators.jspa [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 10, column 1] 2012-04-05 18:44:33,836 TP-Processor48 ERROR anonymous 1124x374115x1 1qsai3a 10.220.181.33 /secure/ContactAdministrators.jspa [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 11, column 1] 2012-04-05 18:44:33,836 TP-Processor48 ERROR anonymous 1124x374115x1 1qsai3a 10.220.181.33 /secure/ContactAdministrators.jspa [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 14, column 1] 2012-04-05 18:44:33,836 TP-Processor48 ERROR anonymous 1124x374115x1 1qsai3a 10.220.181.33 /secure/ContactAdministrators.jspa [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 15, column 1] 2012-04-05 18:44:33,836 TP-Processor48 ERROR anonymous 1124x374115x1 1qsai3a 10.220.181.33 /secure/ContactAdministrators.jspa [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 16, column 1] 2012-04-05 18:44:33,837 TP-Processor48 WARN anonymous 1124x374115x1 1qsai3a 10.220.181.33 /secure/ContactAdministrators.jspa [velocity] org.apache.velocity.runtime.exception.ReferenceException: reference : template = templates/email/html/includes/emailconstants.vm [line 1,column 7] : ${textLinkColour} is not a valid reference. at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:277) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.runtime.parser.node.ASTStringLiteral.value(ASTStringLiteral.java:138) at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:51) at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:95) {noformat}

    Atlassian JIRA | 5 years ago | Andromeda Sain [Atlassian]
    org.apache.velocity.runtime.exception.ReferenceException: reference : template = templates/email/html/includes/emailconstants.vm [line 1,column 7] : ${textLinkColour} is not a valid reference.

    Root Cause Analysis

    1. org.apache.velocity.runtime.exception.ReferenceException

      reference : template = templates/email/html/includes/emailconstants.vm [line 1,column 7] : ${textLinkColour} is not a valid reference.

      at org.apache.velocity.runtime.parser.node.ASTReference.render()
    2. Apache Velocity
      ASTSetDirective.render
      1. org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:277)
      2. org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
      3. org.apache.velocity.runtime.parser.node.ASTStringLiteral.value(ASTStringLiteral.java:138)
      4. org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:51)
      5. org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:95)
      5 frames