Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 31st, 2012  |  syntax: None  |  size: 1.63 KB  |  hits: 12  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Velocity lexical error when commenting out a line at file end
  2. NOTE: Please REPLY-TO this email when replying to this issue.
  3.  
  4. ##parse("templates/email/includes/issueplugins.vm")
  5. #if($comment.getId())[ ${baseurl}/browse/${issue.getKey()} ] #end ##?page=${tabpanel-comment}&focusedCommentId=${comment.getId()}#action_${comment.getId()} ] #end
  6.  
  7.  
  8. #if($remoteUser.fullName)
  9. $i18n.getText("template.issue.commented.on", $remoteUser.fullName, $issue.getKey())
  10. #dashes($!remoteUser.fullName)--------------#dashes($issue.getKey())-
  11. #end
  12. #if($changelog)
  13.  
  14. #changes([])
  15. #end
  16. #comment()
  17. #visibility()
  18.  
  19. #parse("templates/email/text/includes/issuesummary.vm")
  20.  
  21. #parse("templates/email/text/includes/footer.vm")
  22.        
  23. ##parse("templates/email/text/includes/footer.vm")
  24.        
  25. An error occurred whilst rendering this message.  Please contact the administrators, and inform them of this bug.
  26.  
  27. Details:
  28. -------
  29. org.apache.velocity.exception.ParseErrorException: Lexical error:
  30.     org.apache.velocity.runtime.parser.TokenMgrError:
  31.         Lexical error at line 20, column 51.  Encountered: <EOF> after : ""
  32.     at org.apache.velocity.app.VelocityEngine.evaluate(VelocityEngine.java:272)
  33.     at org.apache.velocity.app.VelocityEngine.evaluate(VelocityEngine.java:202)
  34. ...
  35.        
  36. #if($comment.getId())[ ${baseurl}/browse/${issue.getKey()} ] #end ##?page=${tabpanel-comment}&focusedCommentId=${comment.getId()}#action_${comment.getId()} ] #end
  37.        
  38. ~/tech/atlassian/atlassian-jira-4.4.1-standalone $ find . -name "*velocity*.jar"
  39. ./atlassian-jira/WEB-INF/lib/velocity-1.4-atlassian-9.jar
  40. ./atlassian-jira/WEB-INF/lib/velocity-tools-1.3.jar
  41. ./atlassian-jira/WEB-INF/lib/atlassian-velocity-0.8.jar