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> ...

GitHub | GoogleCodeExporter | 2 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

    GitHub comment 91#141557052

    GitHub | 2 years ago | GoogleCodeExporter
    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> ...

    Root Cause Analysis

    1. 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()
    2. fr.opensagres.xdocreport
      AbstractXDocReport.extractFields
      1. fr.opensagres.xdocreport.template.velocity.VelocityTemplateEngine.extractFields(VelocityTemplateEngine.java:193)
      2. fr.opensagres.xdocreport.template.AbstractTemplateEngine.extractFields(AbstractTemplateEngine.java:190)
      3. fr.opensagres.xdocreport.document.AbstractXDocReport.extractFields(AbstractXDocReport.java:617)
      4. fr.opensagres.xdocreport.document.AbstractXDocReport.extractFields(AbstractXDocReport.java:595)
      4 frames