org.apache.velocity.exception.ParseErrorException: Encountered "#end\n" at templates/com/javahollic/jira/jemh/email/text/errorhint.vm[line 52, 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 JIRA by Andy Brook, 1 year ago
Encountered "#end\n" at templates/com/javahollic/jira/jemh/email/text/errorhint.vm[line 52, column 1] Was expecting one of: <EOF> "(" ... <RPAREN> ... <ESCAPE_DIRECTIVE> ... <SET_DIRECTIVE
via JIRA by Andy Brook, 1 year ago
Encountered "#end\n" at templates/com/javahollic/jira/jemh/email/text/errorhint.vm[line 52, column 1] Was expecting one of: <EOF> "(" ... <RPAREN> ... <ESCAPE_DIRECTIVE> ... <SET_DIRECTIVE
via JIRA by Andy Brook, 1 year ago
Encountered &quot;#end\n&quot; at templates/com/javahollic/jira/jemh/email/text/errorhint.vm[line 52, column 1] Was expecting one of: &lt;EOF&gt; &quot;(&quot; ... &lt;RPAREN&gt; ... &lt;ESCAPE_DIRECTIVE&gt; ... &lt
via JIRA by Andy Brook, 1 year ago
Encountered &quot;#end\n&quot; at templates/com/javahollic/jira/jemh/email/text/errorhint.vm[line 52, column 1] Was expecting one of: &lt;EOF&gt; &quot;(&quot; ... &lt;RPAREN&gt; ... &lt;ESCAPE_DIRECTIVE&gt; ... &lt
via coderanch.com by Unknown author, 1 year ago
Lexical error: org.apache.velocity.runtime.parser.TokenMgrErr or: Lexical error at line 11, column 2. Encountered: <EOF> after : ""
via Stack Overflow by A.Naidu
, 8 months ago
Lexical error, Encountered: "\ufffd" (65533), after : "" at archetype-resources/src/main/webapp/mybootstrap/fonts/glyphicons-halflings-regular.eot[line 16, column 21]
org.apache.velocity.exception.ParseErrorException: Encountered "#end\n" at templates/com/javahollic/jira/jemh/email/text/errorhint.vm[line 52, 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.Template.process(Template.java:141)
at org.apache.velocity.runtime.resource.ResourceManagerImpl.loadResource(ResourceManagerImpl.java:446)
at org.apache.velocity.runtime.resource.ResourceManagerImpl.getResource(ResourceManagerImpl.java:354)
at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1400)
at com.atlassian.velocity.DefaultVelocityManager.writeEncodedBodyImpl(DefaultVelocityManager.java:117)
at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:66)
at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:57)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129)
at com.sun.proxy.$Proxy507.getEncodedBody(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154)
at com.sun.proxy.$Proxy507.getEncodedBody(Unknown Source)
at com.javahollic.jira.emh.service.DefaultJEMHMessageManager.createEmail(DefaultJEMHMessageManager.java:2222)
at com.javahollic.jira.emh.service.DefaultJEMHMessageManager.encodeAndSendEmail(DefaultJEMHMessageManager.java:2136)
at com.javahollic.jira.emh.service.DefaultJEMHMessageManager.sendHintOgramEmail(DefaultJEMHMessageManager.java:599)
at com.javahollic.jira.emh.service.ProcessorRunner.execute(ProcessorRunner.java:396)
at com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.handleMessage(EnterpriseMessageHandlerImpl.java:247)
at com.javahollic.jira.emh.service.EnterpriseMessageHandlerProxy.handleMessage(EnterpriseMessageHandlerProxy.java:45)
at com.atlassian.jira.service.services.mail.MailFetcherService$1.process(MailFetcherService.java:368)
at com.atlassian.jira.service.services.mail.MailFetcherService$MessageProviderImpl.getAndProcessMail(MailFetcherService.java:271)
at com.atlassian.jira.service.services.mail.MailFetcherService.runImpl(MailFetcherService.java:356)
at com.atlassian.jira.service.services.file.AbstractMessageHandlingService.run(AbstractMessageHandlingService.java:257)
at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61)
at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48)
at org.quartz.core.JobRunShell.run(JobRunShell.java:195)

Users with the same issue

3 times, 1 year ago
4 times, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

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