org.apache.velocity.exception.ParseErrorException: Encountered "#end\n" at getEncodedBodyFromContent[line 68, column 1] Was expecting one of: <EOF> "(" ... <RPAREN> ... <ESCAPE_DIRECTIVE> ... <SET_DIRECTIVE> ... "##" ... "\\\\" ... "\\" ... <TEXT> ... "*#" ... "*#" ... <STRING_LITERAL> ... <IF_DIRECTIVE> ... <STOP_DIRECTIVE> ... <INTEGER_LITERAL> ... <FLOATING_POINT_LITERAL> ... <WORD> ... <BRACKETED_WORD> ... <IDENTIFIER> ... <DOT> ... "{" ... "}" ...

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via atlassian.com by Unknown author, 1 year ago
Encountered "#end\n" at getEncodedBodyFromContent[line 68, column 1] Was expecting one of: <EOF> "(" ... <RPAREN> ... <ESCAPE_DIRECTIVE> ... <SET_DIRECTIVE> ... "##" ... "\\\\" ... "\\" ... <TEXT> ... "*#" ... "*#" ... <STRING_LITERAL
via Stack Overflow by Unknown author, 2 years ago
Lexical error, Encountered: "l" (108), after : "." at *unset*[line 23, column 53]
via Atlassian JIRA by Matthew Erickson [Atlassian], 1 year ago
Lexical error: org.apache.velocity.runtime.parser.TokenMgrError: Lexical error at line 1, column 2. Encountered: <EOF> after : ""
via Atlassian JIRA by Matthew Erickson [Atlassian], 1 year ago
Lexical error: org.apache.velocity.runtime.parser.TokenMgrError: Lexical error at line 1, column 2. Encountered: <EOF> after : ""
org.apache.velocity.exception.ParseErrorException: Encountered "#end\n" at getEncodedBodyFromContent[line 68, column 1] Was expecting one of: <EOF> "(" ... <RPAREN> ... <ESCAPE_DIRECTIVE> ... <SET_DIRECTIVE> ... "##" ... "\\\\" ... "\\" ... <TEXT> ... "*#" ... "*#" ... <STRING_LITERAL> ... <IF_DIRECTIVE> ... <STOP_DIRECTIVE> ... <INTEGER_LITERAL> ... <FLOATING_POINT_LITERAL> ... <WORD> ... <BRACKETED_WORD> ... <IDENTIFIER> ... <DOT> ... "{" ... "}" ...
at org.apache.velocity.runtime.RuntimeInstance.evaluate(RuntimeInstance.java:1202)
at org.apache.velocity.runtime.RuntimeInstance.evaluate(RuntimeInstance.java:1164)
at com.atlassian.velocity.DefaultVelocityManager.getEncodedBodyForContent(DefaultVelocityManager.java:205)
at com.javahollic.jira.emh.service.DefaultJEMHMessageManager.createDefaultJiraUserEmail(DefaultJEMHMessageManager.java:1735)
at com.javahollic.jira.emh.service.DefaultJEMHMessageManager.createJiraUserEmail(DefaultJEMHMessageManager.java:2041)
at com.javahollic.jira.emh.service.DefaultJEMHMessageManager.createJiraUserEmail(DefaultJEMHMessageManager.java:1789)
at com.javahollic.jira.emh.service.listener.JiraUserNotifier.handleNotification(JiraUserNotifier.java:186)
at com.javahollic.jira.emh.service.listener.JEMHIssueEventListener.handleEmailNotifications(JEMHIssueEventListener.java:299)
at com.javahollic.jira.emh.service.listener.JEMHIssueEventListener.onIssueEvent(JEMHIssueEventListener.java:152)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Know the solutions? Share your knowledge to help other developers to debug faster.