org.apache.velocity.runtime.parser.TemplateParseException: Encountered "#else" at word/document.xml[line 2, column 37923] Was expecting one of: "(" ... <RPAREN> ... <ESCAPE_DIRECTIVE> ... <SET_DIRECTIVE> ... "##" ... "\\\\" ... "\\" ... <TEXT> ... "*#" ... "*#" ... "]]#" ... <STRING_LITERAL> ... <END> ... <IF_DIRECTIVE> ... <INTEGER_LITERAL> ... <FLOATING_POINT_LITERAL> ... <WORD> ... <BRACKETED_WORD> ... <IDENTIFIER> ... <DOT> ... "{" ... "}" ... <EMPTY_INDEX> ...

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 GitHub by GoogleCodeExporter
, 1 year ago
Encountered "#else" at word/document.xml[line 2, column 37923] Was expecting one of: "(" ... <RPAREN> ... <ESCAPE_DIRECTIVE> ... <SET_DIRECTIVE> ... "##" ... "\\\\" ... "\\" ... <TEXT
org.apache.velocity.runtime.parser.TemplateParseException: Encountered "#else" at word/document.xml[line 2, column 37923] Was expecting one of: "(" ... <RPAREN> ... <ESCAPE_DIRECTIVE> ... <SET_DIRECTIVE> ... "##" ... "\\\\" ... "\\" ... <TEXT> ... "*#" ... "*#" ... "]]#" ... <STRING_LITERAL> ... <END> ... <IF_DIRECTIVE> ... <INTEGER_LITERAL> ... <FLOATING_POINT_LITERAL> ... <WORD> ... <BRACKETED_WORD> ... <IDENTIFIER> ... <DOT> ... "{" ... "}" ... <EMPTY_INDEX> ...
at fr.opensagres.xdocreport.template.velocity.VelocityTemplateEngine.extractFields(VelocityTemplateEngine.java:193)
at fr.opensagres.xdocreport.template.AbstractTemplateEngine.extractFields(AbstractTemplateEngine.java:190)
at fr.opensagres.xdocreport.document.AbstractXDocReport.extractFields(AbstractXDocReport.java:617)
at fr.opensagres.xdocreport.document.AbstractXDocReport.extractFields(AbstractXDocReport.java:595)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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