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
  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.
  3. 0

    I'm sending a message (email attached) to update an existing issue. The issue is updated but I get an email with the following message back: "Unhandled Exception [null] (bug) during comment on [COB-2308]", (reporter has COMMENT auth: false). Full email & emh.properties attached. Snippet from jira100811130439-stdout.2011-11-07.log java.lang.NullPointerException at java.io.StringReader.<init>(StringReader.java:33) at com.javahollic.jira.emh.engine.EMHIssueUtils.fixupBodyforIssueRenderer(EMHIssueUtils.java:1559) at com.javahollic.jira.emh.engine.EMHIssueUtils.setupComment(EMHIssueUtils.java:1370) at com.javahollic.jira.emh.engine.AbstractFieldProcessor.handleCommentOrPostIssueCreationActions(AbstractFieldProcessor.java:195) at com.javahollic.jira.emh.service.EMHIssueHandler.runProcessor(EMHIssueHandler.java:492) at com.javahollic.jira.emh.service.EMHIssueHandler.handleMessage(EMHIssueHandler.java:133) at com.javahollic.jira.emh.service.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:87) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:186) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:60) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) 2011-11-07 11:59:40,126 QuartzWorker-1 ERROR ServiceRunner JEMH IMAP Service [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 2, column 1] 2011-11-07 11:59:40,126 QuartzWorker-1 ERROR ServiceRunner JEMH IMAP Service [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 3, column 1] 2011-11-07 11:59:40,126 QuartzWorker-1 ERROR ServiceRunner JEMH IMAP Service [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 4, column 1] 2011-11-07 11:59:40,126 QuartzWorker-1 ERROR ServiceRunner JEMH IMAP Service [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 5, column 1] 2011-11-07 11:59:40,126 QuartzWorker-1 ERROR ServiceRunner JEMH IMAP Service [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 6, column 1] 2011-11-07 11:59:40,126 QuartzWorker-1 ERROR ServiceRunner JEMH IMAP Service [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 9, column 1] 2011-11-07 11:59:40,126 QuartzWorker-1 ERROR ServiceRunner JEMH IMAP Service [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 10, column 1] 2011-11-07 11:59:40,126 QuartzWorker-1 ERROR ServiceRunner JEMH IMAP Service [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 11, column 1] 2011-11-07 11:59:40,126 QuartzWorker-1 ERROR ServiceRunner JEMH IMAP Service [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 14, column 1] 2011-11-07 11:59:40,126 QuartzWorker-1 ERROR ServiceRunner JEMH IMAP Service [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 15, column 1] 2011-11-07 11:59:40,126 QuartzWorker-1 ERROR ServiceRunner JEMH IMAP Service [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 16, column 1] 2011-11-07 11:59:40,141 QuartzWorker-1 WARN ServiceRunner JEMH IMAP Service [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) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.runtime.directive.Parse.render(Parse.java:181) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.runtime.directive.Parse.render(Parse.java:181) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.Template.merge(Template.java:256) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:422) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:77) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:61) at com.javahollic.jira.emh.service.AbstractMessageHandler.encodeAndSendEmail(AbstractMessageHandler.java:832) at com.javahollic.jira.emh.service.AbstractMessageHandler.sendErrorHintsToEmailSender(AbstractMessageHandler.java:772) at com.javahollic.jira.emh.service.AbstractMessageHandler.sendErrorHintsToEmailSender(AbstractMessageHandler.java:648) at com.javahollic.jira.emh.service.EMHIssueHandler.handleMessage(EMHIssueHandler.java:212) at com.javahollic.jira.emh.service.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:87) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:186) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:60) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) 2011-11-07 11:59:40,141 QuartzWorker-1 WARN ServiceRunner JEMH IMAP Service [velocity] org.apache.velocity.runtime.exception.ReferenceException: reference : template = templates/email/html/includes/header.vm [line 19,column 34] : ${topBackgroundColour} 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.directive.Parse.render(Parse.java:181) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.Template.merge(Template.java:256) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:422) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:77) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:61) at com.javahollic.jira.emh.service.AbstractMessageHandler.encodeAndSendEmail(AbstractMessageHandler.java:832) at com.javahollic.jira.emh.service.AbstractMessageHandler.sendErrorHintsToEmailSender(AbstractMessageHandler.java:772) at com.javahollic.jira.emh.service.AbstractMessageHandler.sendErrorHintsToEmailSender(AbstractMessageHandler.java:648) at com.javahollic.jira.emh.service.EMHIssueHandler.handleMessage(EMHIssueHandler.java:212) at com.javahollic.jira.emh.service.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:87) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:186) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:60) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) 2011-11-07 11:59:40,141 QuartzWorker-1 WARN ServiceRunner JEMH IMAP Service [velocity] org.apache.velocity.runtime.exception.ReferenceException: reference : template = templates/email/html/includes/header.vm [line 19,column 82] : ${topBackgroundColour} 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.directive.Parse.render(Parse.java:181) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.Template.merge(Template.java:256) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:422) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:77) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:61) at com.javahollic.jira.emh.service.AbstractMessageHandler.encodeAndSendEmail(AbstractMessageHandler.java:832) at com.javahollic.jira.emh.service.AbstractMessageHandler.sendErrorHintsToEmailSender(AbstractMessageHandler.java:772) at com.javahollic.jira.emh.service.AbstractMessageHandler.sendErrorHintsToEmailSender(AbstractMessageHandler.java:648) at com.javahollic.jira.emh.service.EMHIssueHandler.handleMessage(EMHIssueHandler.java:212) at com.javahollic.jira.emh.service.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:87) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:186) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:60) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) 2011-11-07 11:59:40,141 QuartzWorker-1 WARN ServiceRunner JEMH IMAP Service [velocity] org.apache.velocity.runtime.exception.ReferenceException: reference : template = templates/email/html/includes/header.vm [line 19,column 111] : ${topTxtColour} 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.directive.Parse.render(Parse.java:181) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.Template.merge(Template.java:256) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:422) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:77) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:61) at com.javahollic.jira.emh.service.AbstractMessageHandler.encodeAndSendEmail(AbstractMessageHandler.java:832) at com.javahollic.jira.emh.service.AbstractMessageHandler.sendErrorHintsToEmailSender(AbstractMessageHandler.java:772) at com.javahollic.jira.emh.service.AbstractMessageHandler.sendErrorHintsToEmailSender(AbstractMessageHandler.java:648) at com.javahollic.jira.emh.service.EMHIssueHandler.handleMessage(EMHIssueHandler.java:212) at com.javahollic.jira.emh.service.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:87) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:186) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:60) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) 2011-11-07 11:59:40,157 QuartzWorker-1 ERROR ServiceRunner JEMH IMAP Service [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 2, column 1] 2011-11-07 11:59:40,157 QuartzWorker-1 ERROR ServiceRunner JEMH IMAP Service [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 3, column 1] 2011-11-07 11:59:40,157 QuartzWorker-1 ERROR ServiceRunner JEMH IMAP Service [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 4, column 1] 2011-11-07 11:59:40,157 QuartzWorker-1 ERROR ServiceRunner JEMH IMAP Service [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 5, column 1] 2011-11-07 11:59:40,157 QuartzWorker-1 ERROR ServiceRunner JEMH IMAP Service [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 6, column 1] 2011-11-07 11:59:40,157 QuartzWorker-1 ERROR ServiceRunner JEMH IMAP Service [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 9, column 1] 2011-11-07 11:59:40,157 QuartzWorker-1 ERROR ServiceRunner JEMH IMAP Service [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 10, column 1] 2011-11-07 11:59:40,157 QuartzWorker-1 ERROR ServiceRunner JEMH IMAP Service [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 11, column 1] 2011-11-07 11:59:40,157 QuartzWorker-1 ERROR ServiceRunner JEMH IMAP Service [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 14, column 1] 2011-11-07 11:59:40,157 QuartzWorker-1 ERROR ServiceRunner JEMH IMAP Service [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 15, column 1] 2011-11-07 11:59:40,157 QuartzWorker-1 ERROR ServiceRunner JEMH IMAP Service [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 16, column 1] 2011-11-07 11:59:40,157 QuartzWorker-1 WARN ServiceRunner JEMH IMAP Service [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) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.runtime.directive.Parse.render(Parse.java:181) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.runtime.directive.Parse.render(Parse.java:181) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.Template.merge(Template.java:256) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:422) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:77) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:61) at com.javahollic.jira.emh.service.AbstractMessageHandler.encodeAndSendEmail(AbstractMessageHandler.java:832) at com.javahollic.jira.emh.service.AbstractMessageHandler.sendErrorHintsToEmailSender(AbstractMessageHandler.java:772) at com.javahollic.jira.emh.service.AbstractMessageHandler.sendErrorHintsToEmailSender(AbstractMessageHandler.java:648) at com.javahollic.jira.emh.service.EMHIssueHandler.handleMessage(EMHIssueHandler.java:212) at com.javahollic.jira.emh.service.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:87) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:186) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:60) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) 2011-11-07 11:59:40,157 QuartzWorker-1 WARN ServiceRunner JEMH IMAP Service [velocity] org.apache.velocity.runtime.exception.ReferenceException: reference : template = templates/email/html/includes/footer.vm [line 1,column 17] : ${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.ASTMethod.execute(ASTMethod.java:149) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.runtime.directive.Parse.render(Parse.java:181) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.Template.merge(Template.java:256) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:422) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:77) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:61) at com.javahollic.jira.emh.service.AbstractMessageHandler.encodeAndSendEmail(AbstractMessageHandler.java:832) at com.javahollic.jira.emh.service.AbstractMessageHandler.sendErrorHintsToEmailSender(AbstractMessageHandler.java:772) at com.javahollic.jira.emh.service.AbstractMessageHandler.sendErrorHintsToEmailSender(AbstractMessageHandler.java:648) at com.javahollic.jira.emh.service.EMHIssueHandler.handleMessage(EMHIssueHandler.java:212) at com.javahollic.jira.emh.service.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:87) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:186) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:60) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) 2011-11-07 11:59:40,157 QuartzWorker-1 WARN ServiceRunner JEMH IMAP Service [velocity] org.apache.velocity.runtime.exception.ReferenceException: reference : template = templates/email/html/includes/footer.vm [line 1,column 17] : ${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.ASTMethod.execute(ASTMethod.java:149) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.runtime.directive.Parse.render(Parse.java:181) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.Template.merge(Template.java:256) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:422) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:77) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:61) at com.javahollic.jira.emh.service.AbstractMessageHandler.encodeAndSendEmail(AbstractMessageHandler.java:832) at com.javahollic.jira.emh.service.AbstractMessageHandler.sendErrorHintsToEmailSender(AbstractMessageHandler.java:772) at com.javahollic.jira.emh.service.AbstractMessageHandler.sendErrorHintsToEmailSender(AbstractMessageHandler.java:648) at com.javahollic.jira.emh.service.EMHIssueHandler.handleMessage(EMHIssueHandler.java:212) at com.javahollic.jira.emh.service.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:87) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:186) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:60) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)

    JIRA | 5 years ago | dave fisher
    org.apache.velocity.runtime.exception.ReferenceException: reference : template = templates/email/html/includes/emailconstants.vm [line 1,column 7] : ${textLinkColour} is not a valid reference.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Each time the JEMH mail handler processes an email, there's an exception in the atlassian-jira.log 2011-11-14 17:26:53,521 QuartzWorker-0 WARN ServiceRunner JEMH CreateOrCommentHandler [velocity] org.apache.velocity.runtime.exception.ReferenceException: reference : template = templates/email/html/includes/footer.vm [line 1,column 17] : ${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.ASTMethod.execute(ASTMethod.java:149) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.runtime.directive.Parse.render(Parse.java:181) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.Template.merge(Template.java:256) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:422) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:77) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:61) at com.javahollic.jira.emh.service.AbstractMessageHandler.encodeAndSendEmail(AbstractMessageHandler.java:832) at com.javahollic.jira.emh.service.AbstractMessageHandler.sendErrorHintsToEmailSender(AbstractMessageHandler.java:772) at com.javahollic.jira.emh.service.AbstractMessageHandler.sendErrorHintsToEmailSender(AbstractMessageHandler.java:648) at com.javahollic.jira.emh.service.EMHIssueHandler.handleMessage(EMHIssueHandler.java:212) at com.javahollic.jira.emh.service.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:87) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:186) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:60) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)

    JIRA | 5 years ago | Valentijn Scholten
    org.apache.velocity.runtime.exception.ReferenceException: reference : template = templates/email/html/includes/footer.vm [line 1,column 17] : ${textLinkColour} is not a valid reference.
  6. 0

    I'm sending a message (email attached) to update an existing issue. The issue is updated but I get an email with the following message back: "Unhandled Exception [null] (bug) during comment on [COB-2308]", (reporter has COMMENT auth: false). Full email & emh.properties attached. Snippet from jira100811130439-stdout.2011-11-07.log java.lang.NullPointerException at java.io.StringReader.<init>(StringReader.java:33) at com.javahollic.jira.emh.engine.EMHIssueUtils.fixupBodyforIssueRenderer(EMHIssueUtils.java:1559) at com.javahollic.jira.emh.engine.EMHIssueUtils.setupComment(EMHIssueUtils.java:1370) at com.javahollic.jira.emh.engine.AbstractFieldProcessor.handleCommentOrPostIssueCreationActions(AbstractFieldProcessor.java:195) at com.javahollic.jira.emh.service.EMHIssueHandler.runProcessor(EMHIssueHandler.java:492) at com.javahollic.jira.emh.service.EMHIssueHandler.handleMessage(EMHIssueHandler.java:133) at com.javahollic.jira.emh.service.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:87) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:186) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:60) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) 2011-11-07 11:59:40,126 QuartzWorker-1 ERROR ServiceRunner JEMH IMAP Service [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 2, column 1] 2011-11-07 11:59:40,126 QuartzWorker-1 ERROR ServiceRunner JEMH IMAP Service [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 3, column 1] 2011-11-07 11:59:40,126 QuartzWorker-1 ERROR ServiceRunner JEMH IMAP Service [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 4, column 1] 2011-11-07 11:59:40,126 QuartzWorker-1 ERROR ServiceRunner JEMH IMAP Service [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 5, column 1] 2011-11-07 11:59:40,126 QuartzWorker-1 ERROR ServiceRunner JEMH IMAP Service [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 6, column 1] 2011-11-07 11:59:40,126 QuartzWorker-1 ERROR ServiceRunner JEMH IMAP Service [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 9, column 1] 2011-11-07 11:59:40,126 QuartzWorker-1 ERROR ServiceRunner JEMH IMAP Service [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 10, column 1] 2011-11-07 11:59:40,126 QuartzWorker-1 ERROR ServiceRunner JEMH IMAP Service [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 11, column 1] 2011-11-07 11:59:40,126 QuartzWorker-1 ERROR ServiceRunner JEMH IMAP Service [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 14, column 1] 2011-11-07 11:59:40,126 QuartzWorker-1 ERROR ServiceRunner JEMH IMAP Service [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 15, column 1] 2011-11-07 11:59:40,126 QuartzWorker-1 ERROR ServiceRunner JEMH IMAP Service [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 16, column 1] 2011-11-07 11:59:40,141 QuartzWorker-1 WARN ServiceRunner JEMH IMAP Service [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) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.runtime.directive.Parse.render(Parse.java:181) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.runtime.directive.Parse.render(Parse.java:181) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.Template.merge(Template.java:256) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:422) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:77) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:61) at com.javahollic.jira.emh.service.AbstractMessageHandler.encodeAndSendEmail(AbstractMessageHandler.java:832) at com.javahollic.jira.emh.service.AbstractMessageHandler.sendErrorHintsToEmailSender(AbstractMessageHandler.java:772) at com.javahollic.jira.emh.service.AbstractMessageHandler.sendErrorHintsToEmailSender(AbstractMessageHandler.java:648) at com.javahollic.jira.emh.service.EMHIssueHandler.handleMessage(EMHIssueHandler.java:212) at com.javahollic.jira.emh.service.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:87) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:186) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:60) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) 2011-11-07 11:59:40,141 QuartzWorker-1 WARN ServiceRunner JEMH IMAP Service [velocity] org.apache.velocity.runtime.exception.ReferenceException: reference : template = templates/email/html/includes/header.vm [line 19,column 34] : ${topBackgroundColour} 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.directive.Parse.render(Parse.java:181) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.Template.merge(Template.java:256) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:422) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:77) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:61) at com.javahollic.jira.emh.service.AbstractMessageHandler.encodeAndSendEmail(AbstractMessageHandler.java:832) at com.javahollic.jira.emh.service.AbstractMessageHandler.sendErrorHintsToEmailSender(AbstractMessageHandler.java:772) at com.javahollic.jira.emh.service.AbstractMessageHandler.sendErrorHintsToEmailSender(AbstractMessageHandler.java:648) at com.javahollic.jira.emh.service.EMHIssueHandler.handleMessage(EMHIssueHandler.java:212) at com.javahollic.jira.emh.service.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:87) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:186) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:60) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) 2011-11-07 11:59:40,141 QuartzWorker-1 WARN ServiceRunner JEMH IMAP Service [velocity] org.apache.velocity.runtime.exception.ReferenceException: reference : template = templates/email/html/includes/header.vm [line 19,column 82] : ${topBackgroundColour} 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.directive.Parse.render(Parse.java:181) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.Template.merge(Template.java:256) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:422) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:77) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:61) at com.javahollic.jira.emh.service.AbstractMessageHandler.encodeAndSendEmail(AbstractMessageHandler.java:832) at com.javahollic.jira.emh.service.AbstractMessageHandler.sendErrorHintsToEmailSender(AbstractMessageHandler.java:772) at com.javahollic.jira.emh.service.AbstractMessageHandler.sendErrorHintsToEmailSender(AbstractMessageHandler.java:648) at com.javahollic.jira.emh.service.EMHIssueHandler.handleMessage(EMHIssueHandler.java:212) at com.javahollic.jira.emh.service.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:87) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:186) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:60) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) 2011-11-07 11:59:40,141 QuartzWorker-1 WARN ServiceRunner JEMH IMAP Service [velocity] org.apache.velocity.runtime.exception.ReferenceException: reference : template = templates/email/html/includes/header.vm [line 19,column 111] : ${topTxtColour} 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.directive.Parse.render(Parse.java:181) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.Template.merge(Template.java:256) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:422) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:77) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:61) at com.javahollic.jira.emh.service.AbstractMessageHandler.encodeAndSendEmail(AbstractMessageHandler.java:832) at com.javahollic.jira.emh.service.AbstractMessageHandler.sendErrorHintsToEmailSender(AbstractMessageHandler.java:772) at com.javahollic.jira.emh.service.AbstractMessageHandler.sendErrorHintsToEmailSender(AbstractMessageHandler.java:648) at com.javahollic.jira.emh.service.EMHIssueHandler.handleMessage(EMHIssueHandler.java:212) at com.javahollic.jira.emh.service.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:87) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:186) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:60) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) 2011-11-07 11:59:40,157 QuartzWorker-1 ERROR ServiceRunner JEMH IMAP Service [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 2, column 1] 2011-11-07 11:59:40,157 QuartzWorker-1 ERROR ServiceRunner JEMH IMAP Service [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 3, column 1] 2011-11-07 11:59:40,157 QuartzWorker-1 ERROR ServiceRunner JEMH IMAP Service [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 4, column 1] 2011-11-07 11:59:40,157 QuartzWorker-1 ERROR ServiceRunner JEMH IMAP Service [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 5, column 1] 2011-11-07 11:59:40,157 QuartzWorker-1 ERROR ServiceRunner JEMH IMAP Service [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 6, column 1] 2011-11-07 11:59:40,157 QuartzWorker-1 ERROR ServiceRunner JEMH IMAP Service [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 9, column 1] 2011-11-07 11:59:40,157 QuartzWorker-1 ERROR ServiceRunner JEMH IMAP Service [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 10, column 1] 2011-11-07 11:59:40,157 QuartzWorker-1 ERROR ServiceRunner JEMH IMAP Service [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 11, column 1] 2011-11-07 11:59:40,157 QuartzWorker-1 ERROR ServiceRunner JEMH IMAP Service [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 14, column 1] 2011-11-07 11:59:40,157 QuartzWorker-1 ERROR ServiceRunner JEMH IMAP Service [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 15, column 1] 2011-11-07 11:59:40,157 QuartzWorker-1 ERROR ServiceRunner JEMH IMAP Service [velocity] RHS of #set statement is null. Context will not be modified. templates/email/html/includes/emailconstants.vm [line 16, column 1] 2011-11-07 11:59:40,157 QuartzWorker-1 WARN ServiceRunner JEMH IMAP Service [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) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.runtime.directive.Parse.render(Parse.java:181) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.runtime.directive.Parse.render(Parse.java:181) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.Template.merge(Template.java:256) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:422) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:77) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:61) at com.javahollic.jira.emh.service.AbstractMessageHandler.encodeAndSendEmail(AbstractMessageHandler.java:832) at com.javahollic.jira.emh.service.AbstractMessageHandler.sendErrorHintsToEmailSender(AbstractMessageHandler.java:772) at com.javahollic.jira.emh.service.AbstractMessageHandler.sendErrorHintsToEmailSender(AbstractMessageHandler.java:648) at com.javahollic.jira.emh.service.EMHIssueHandler.handleMessage(EMHIssueHandler.java:212) at com.javahollic.jira.emh.service.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:87) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:186) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:60) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) 2011-11-07 11:59:40,157 QuartzWorker-1 WARN ServiceRunner JEMH IMAP Service [velocity] org.apache.velocity.runtime.exception.ReferenceException: reference : template = templates/email/html/includes/footer.vm [line 1,column 17] : ${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.ASTMethod.execute(ASTMethod.java:149) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.runtime.directive.Parse.render(Parse.java:181) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.Template.merge(Template.java:256) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:422) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:77) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:61) at com.javahollic.jira.emh.service.AbstractMessageHandler.encodeAndSendEmail(AbstractMessageHandler.java:832) at com.javahollic.jira.emh.service.AbstractMessageHandler.sendErrorHintsToEmailSender(AbstractMessageHandler.java:772) at com.javahollic.jira.emh.service.AbstractMessageHandler.sendErrorHintsToEmailSender(AbstractMessageHandler.java:648) at com.javahollic.jira.emh.service.EMHIssueHandler.handleMessage(EMHIssueHandler.java:212) at com.javahollic.jira.emh.service.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:87) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:186) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:60) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) 2011-11-07 11:59:40,157 QuartzWorker-1 WARN ServiceRunner JEMH IMAP Service [velocity] org.apache.velocity.runtime.exception.ReferenceException: reference : template = templates/email/html/includes/footer.vm [line 1,column 17] : ${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.ASTMethod.execute(ASTMethod.java:149) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.runtime.directive.Parse.render(Parse.java:181) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.Template.merge(Template.java:256) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:422) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:77) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:61) at com.javahollic.jira.emh.service.AbstractMessageHandler.encodeAndSendEmail(AbstractMessageHandler.java:832) at com.javahollic.jira.emh.service.AbstractMessageHandler.sendErrorHintsToEmailSender(AbstractMessageHandler.java:772) at com.javahollic.jira.emh.service.AbstractMessageHandler.sendErrorHintsToEmailSender(AbstractMessageHandler.java:648) at com.javahollic.jira.emh.service.EMHIssueHandler.handleMessage(EMHIssueHandler.java:212) at com.javahollic.jira.emh.service.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:87) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:186) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:60) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)

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

    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. 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