org.apache.velocity.runtime.exception.ReferenceException: reference : template = templates/email/text/lossysubscriptionconversion.vm [line 10,column 114] : ${sub.filterId} is not a valid reference.

Atlassian JIRA | Brenden Bain [Atlassian] | 8 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

    Importing the attached data from 3.7.2 will cause admin's subscription to be updated. This will triggger sending off an email. However, I get the following Velocity warning messages. 2008-11-11 20:41:10,665 Sending mailitem com.atlassian.jira.upgrade.tasks.UpgradeTask_Build232MailItem@57d70b2b WARN [velocity] org.apache.velocity.runtime.exception.ReferenceException: reference : template = templates/email/text/lossysubscriptionconversion.vm [line 10,column 83] : ${sub.subscriptionId} is not a valid reference. at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:277) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166) 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:450) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:77) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:61) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:56) at com.atlassian.jira.upgrade.tasks.UpgradeTask_Build232MailItem.send(UpgradeTask_Build232MailItem.java:67) at com.atlassian.mail.queue.MailQueueImpl.sendBuffer(MailQueueImpl.java:68) at com.atlassian.jira.service.services.mail.MailQueueService.run(MailQueueService.java:23) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:56) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:61) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) 2008-11-11 20:41:10,669 Sending mailitem com.atlassian.jira.upgrade.tasks.UpgradeTask_Build232MailItem@57d70b2b WARN [velocity] org.apache.velocity.runtime.exception.ReferenceException: reference : template = templates/email/text/lossysubscriptionconversion.vm [line 10,column 114] : ${sub.filterId} is not a valid reference. at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:277) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166) 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:450) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:77) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:61) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:56) at com.atlassian.jira.upgrade.tasks.UpgradeTask_Build232MailItem.send(UpgradeTask_Build232MailItem.java:67) at com.atlassian.mail.queue.MailQueueImpl.sendBuffer(MailQueueImpl.java:68) at com.atlassian.jira.service.services.mail.MailQueueService.run(MailQueueService.java:23) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:56) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:61) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) 2008-11-11 20:41:10,681 Sending mailitem com.atlassian.jira.upgrade.tasks.UpgradeTask_Build232MailItem@57d70b2b WARN [velocity] org.apache.velocity.runtime.exception.ReferenceException: reference : template = templates/email/text/lossysubscriptionconversion.vm [line 11,column 72] : ${sub.oldPrettyInterval} is not a valid reference. at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:277) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166) 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:450) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:77) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:61) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:56) at com.atlassian.jira.upgrade.tasks.UpgradeTask_Build232MailItem.send(UpgradeTask_Build232MailItem.java:67) at com.atlassian.mail.queue.MailQueueImpl.sendBuffer(MailQueueImpl.java:68) at com.atlassian.jira.service.services.mail.MailQueueService.run(MailQueueService.java:23) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:56) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:61) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) 2008-11-11 20:41:10,686 Sending mailitem com.atlassian.jira.upgrade.tasks.UpgradeTask_Build232MailItem@57d70b2b WARN [velocity] org.apache.velocity.runtime.exception.ReferenceException: reference : template = templates/email/text/lossysubscriptionconversion.vm [line 12,column 74] : ${sub.newCronTrigger} is not a valid reference. at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:277) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166) 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:450) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:77) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:61) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:56) at com.atlassian.jira.upgrade.tasks.UpgradeTask_Build232MailItem.send(UpgradeTask_Build232MailItem.java:67) at com.atlassian.mail.queue.MailQueueImpl.sendBuffer(MailQueueImpl.java:68) at com.atlassian.jira.service.services.mail.MailQueueService.run(MailQueueService.java:23) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:56) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:61) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) The e-mails then contain some unresolved velocity references.

    Atlassian JIRA | 8 years ago | Brenden Bain [Atlassian]
    org.apache.velocity.runtime.exception.ReferenceException: reference : template = templates/email/text/lossysubscriptionconversion.vm [line 10,column 114] : ${sub.filterId} is not a valid reference.
  2. 0

    Importing the attached data from 3.7.2 will cause admin's subscription to be updated. This will triggger sending off an email. However, I get the following Velocity warning messages. 2008-11-11 20:41:10,665 Sending mailitem com.atlassian.jira.upgrade.tasks.UpgradeTask_Build232MailItem@57d70b2b WARN [velocity] org.apache.velocity.runtime.exception.ReferenceException: reference : template = templates/email/text/lossysubscriptionconversion.vm [line 10,column 83] : ${sub.subscriptionId} is not a valid reference. at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:277) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166) 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:450) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:77) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:61) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:56) at com.atlassian.jira.upgrade.tasks.UpgradeTask_Build232MailItem.send(UpgradeTask_Build232MailItem.java:67) at com.atlassian.mail.queue.MailQueueImpl.sendBuffer(MailQueueImpl.java:68) at com.atlassian.jira.service.services.mail.MailQueueService.run(MailQueueService.java:23) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:56) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:61) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) 2008-11-11 20:41:10,669 Sending mailitem com.atlassian.jira.upgrade.tasks.UpgradeTask_Build232MailItem@57d70b2b WARN [velocity] org.apache.velocity.runtime.exception.ReferenceException: reference : template = templates/email/text/lossysubscriptionconversion.vm [line 10,column 114] : ${sub.filterId} is not a valid reference. at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:277) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166) 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:450) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:77) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:61) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:56) at com.atlassian.jira.upgrade.tasks.UpgradeTask_Build232MailItem.send(UpgradeTask_Build232MailItem.java:67) at com.atlassian.mail.queue.MailQueueImpl.sendBuffer(MailQueueImpl.java:68) at com.atlassian.jira.service.services.mail.MailQueueService.run(MailQueueService.java:23) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:56) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:61) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) 2008-11-11 20:41:10,681 Sending mailitem com.atlassian.jira.upgrade.tasks.UpgradeTask_Build232MailItem@57d70b2b WARN [velocity] org.apache.velocity.runtime.exception.ReferenceException: reference : template = templates/email/text/lossysubscriptionconversion.vm [line 11,column 72] : ${sub.oldPrettyInterval} is not a valid reference. at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:277) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166) 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:450) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:77) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:61) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:56) at com.atlassian.jira.upgrade.tasks.UpgradeTask_Build232MailItem.send(UpgradeTask_Build232MailItem.java:67) at com.atlassian.mail.queue.MailQueueImpl.sendBuffer(MailQueueImpl.java:68) at com.atlassian.jira.service.services.mail.MailQueueService.run(MailQueueService.java:23) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:56) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:61) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) 2008-11-11 20:41:10,686 Sending mailitem com.atlassian.jira.upgrade.tasks.UpgradeTask_Build232MailItem@57d70b2b WARN [velocity] org.apache.velocity.runtime.exception.ReferenceException: reference : template = templates/email/text/lossysubscriptionconversion.vm [line 12,column 74] : ${sub.newCronTrigger} is not a valid reference. at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:277) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166) 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:450) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:77) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:61) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:56) at com.atlassian.jira.upgrade.tasks.UpgradeTask_Build232MailItem.send(UpgradeTask_Build232MailItem.java:67) at com.atlassian.mail.queue.MailQueueImpl.sendBuffer(MailQueueImpl.java:68) at com.atlassian.jira.service.services.mail.MailQueueService.run(MailQueueService.java:23) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:56) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:61) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) The e-mails then contain some unresolved velocity references.

    Atlassian JIRA | 8 years ago | Brenden Bain [Atlassian]
    org.apache.velocity.runtime.exception.ReferenceException: reference : template = templates/email/text/lossysubscriptionconversion.vm [line 10,column 114] : ${sub.filterId} is not a valid reference.
  3. 0

    When you leave off the subject, and there is no defaultSummary in emh.properties, the hint-o-gram generated says: > No summary provided, no email subkect, no default. This message will eventually be rejected. subkect s/b subject. Also at the bottom where it's outputting the details of the original email, the subject shows up as "$message.getSubject()" And in the logs, I have: 2011-02-25 10:35:40,525 JiraQuartzScheduler_Worker-3 WARN ServiceRunner ITSM Service [velocity] org.apache.velocity.runtime.exception.ReferenceException: reference : template = templates/email/jemh/html/errorhint.vm [line 53,column 83] : $message.getSubject() 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.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:855) at com.javahollic.jira.emh.service.AbstractMessageHandler.sendErrorHintsToEmailSender(AbstractMessageHandler.java:788) at com.javahollic.jira.emh.service.AbstractMessageHandler.sendErrorHintsToEmailSender(AbstractMessageHandler.java:664) at com.javahollic.jira.emh.service.EMHIssueHandler.handleMessage(EMHIssueHandler.java:207) at com.javahollic.jira.emh.service.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:76) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:189) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) Can that be prevented with $!message.getSubject() ? Affects 0.9.6.2-snapshot

    JIRA | 6 years ago | Mike Curwen
    org.apache.velocity.runtime.exception.ReferenceException: reference : template = templates/email/jemh/html/errorhint.vm [line 53,column 83] : $message.getSubject() is not a valid reference.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    2005-01-18 02:22:41,470 ERROR [velocity] Left side ($constant.getString("iconurl").startsWith("http://")) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. templates/plugins/jira/projectpanels/popularissues-panel.vm [line 1, column 61] 2005-01-18 02:22:41,473 WARN [velocity] org.apache.velocity.runtime.exception.ReferenceException: reference : template = templates/plugins/jira/projectpanels/popularissues-panel.vm [line 4,column 27] : $constant.getString("iconurl") is not a valid reference. at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:277) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:89) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:172) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:70) 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:450) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:97) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:77) at com.atlassian.jira.plugin.JiraResourcedModuleDescriptor.getHtml(JiraResourcedModuleDescriptor.java:79) at com.atlassian.jira.plugin.projectpanel.impl.PopularIssuesProjectTabPanel.getHtml(PopularIssuesProjectTabPanel.java:52) at com.atlassian.jira.web.action.browser.Browser.getProjectTabHtml(Browser.java:292)

    Atlassian JIRA | 1 decade ago | Jeff Turner
    org.apache.velocity.runtime.exception.ReferenceException: reference : template = templates/plugins/jira/projectpanels/popularissues-panel.vm [line 4,column 27] : $constant.getString("iconurl") is not a valid reference.
  6. 0

    2005-01-18 02:22:41,432 WARN [velocity] org.apache.velocity.runtime.exception.ReferenceException: reference : template = templates/plugins/jira/projectpanels/popularissues-panel.vm [line 4,column 174] : $constant.getString("description") is not a valid reference. at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:277) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:89) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:172) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:70) 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:450) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:97) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:77) at com.atlassian.jira.plugin.JiraResourcedModuleDescriptor.getHtml(JiraResourcedModuleDescriptor.java:79) at com.atlassian.jira.plugin.projectpanel.impl.PopularIssuesProjectTabPanel.getHtml(PopularIssuesProjectTabPanel.java:52) at com.atlassian.jira.web.action.browser.Browser.getProjectTabHtml(Browser.java:292)

    Atlassian JIRA | 1 decade ago | Jeff Turner
    org.apache.velocity.runtime.exception.ReferenceException: reference : template = templates/plugins/jira/projectpanels/popularissues-panel.vm [line 4,column 174] : $constant.getString("description") 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/text/lossysubscriptionconversion.vm [line 10,column 114] : ${sub.filterId} is not a valid reference.

      at org.apache.velocity.runtime.parser.node.ASTReference.render()
    2. Apache Velocity
      VelocityEngine.mergeTemplate
      1. org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:277)
      2. org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55)
      3. org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166)
      4. org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114)
      5. org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
      6. org.apache.velocity.Template.merge(Template.java:256)
      7. org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:450)
      7 frames
    3. com.atlassian.velocity
      DefaultVelocityManager.getEncodedBody
      1. com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:77)
      2. com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:61)
      3. com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:56)
      3 frames
    4. com.atlassian.jira
      UpgradeTask_Build232MailItem.send
      1. com.atlassian.jira.upgrade.tasks.UpgradeTask_Build232MailItem.send(UpgradeTask_Build232MailItem.java:67)
      1 frame
    5. com.atlassian.mail
      MailQueueImpl.sendBuffer
      1. com.atlassian.mail.queue.MailQueueImpl.sendBuffer(MailQueueImpl.java:68)
      1 frame
    6. com.atlassian.jira
      ServiceRunner.execute
      1. com.atlassian.jira.service.services.mail.MailQueueService.run(MailQueueService.java:23)
      2. com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:56)
      3. com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:61)
      3 frames
    7. quartz
      SimpleThreadPool$WorkerThread.run
      1. org.quartz.core.JobRunShell.run(JobRunShell.java:191)
      2. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)
      2 frames