freemarker.core.ParseException: Encountered "&" at line 2, column 2665 in fr.opensagres.xdocreport.document.docx.DocXReport@18e2b22!word/document.xml. Was expecting one of: <STRING_LITERAL> ... <RAW_STRING> ... "false" ... "true" ... <INTEGER> ... <DECIMAL> ... "." ... "+" ... "-" ... "!" ... "[" ... "(" ... "{" ... <ID> ...

GitHub | GoogleCodeExporter | 1 year 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 29#141556526

    GitHub | 1 year ago | GoogleCodeExporter
    freemarker.core.ParseException: Encountered "&" at line 2, column 2665 in fr.opensagres.xdocreport.document.docx.DocXReport@18e2b22!word/document.xml. Was expecting one of: <STRING_LITERAL> ... <RAW_STRING> ... "false" ... "true" ... <INTEGER> ... <DECIMAL> ... "." ... "+" ... "-" ... "!" ... "[" ... "(" ... "{" ... <ID> ...
  2. 0

    Strange issue when ODT file is re-saved after re-typing a part of parameter name

    GitHub | 1 year ago | erobic
    freemarker.core.ParseException: Syntax error in template "fr.opensagres.xdocreport.document.odt.ODTReport@6ef81f31!content.xml" in line 4, column 3563: Encountered ":", but was expecting one of: ".." <DOT_DOT_LESS> "..*" "}" "." "[" "(" "?" "!" <TERMINATING_EXCLAM> "??" "+" "-" "*" "/" "%" "!=" "=" "==" <AND> <OR>
  3. 0

    Inserted dynamic Image gives Parsing error

    GitHub | 2 years ago | Mimi6257
    freemarker.core.ParseException: Parsing error in template "fr.opensagres.xdocreport.document.docx.DocxReport@6bba64!word/document.xml" in line 4, column 9352: Encountered "[/#escape]", but was expecting one of: \<ATTEMPT> \<IF> \<ELSE_IF> .........
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Escape of element names with XML datasource

    GitHub | 10 months ago | AndreaGiovannini
    freemarker.core.ParseException: Parsing error in template "fr.opensagres.xdocreport.document.docx.DocxReport@227c808d!word/document.xml" in line 4, column 186: Lexical error: encountered "\\" (92), after "\\".
  6. 0

    unable to use a simple raw string literals

    freemarker | 1 decade ago | nobody
    freemarker.core.ParseException: Token manager error: freemarker.core.TokenMgrError: Lexical error at line 1, column 17.  Encountered: "\{" (123), after : "\"$\\\"

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. freemarker.core.ParseException

      Encountered "&" at line 2, column 2665 in fr.opensagres.xdocreport.document.docx.DocXReport@18e2b22!word/document.xml. Was expecting one of: <STRING_LITERAL> ... <RAW_STRING> ... "false" ... "true" ... <INTEGER> ... <DECIMAL> ... "." ... "+" ... "-" ... "!" ... "[" ... "(" ... "{" ... <ID> ...

      at freemarker.core.FMParser.generateParseException()
    2. FreeMarker
      Configuration.getTemplate
      1. freemarker.core.FMParser.generateParseException(FMParser.java:4697)
      2. freemarker.core.FMParser.jj_consume_token(FMParser.java:4568)
      3. freemarker.core.FMParser.UnaryExpression(FMParser.java:323)
      4. freemarker.core.FMParser.MultiplicativeExpression(FMParser.java:435)
      5. freemarker.core.FMParser.AdditiveExpression(FMParser.java:385)
      6. freemarker.core.FMParser.RangeExpression(FMParser.java:556)
      7. freemarker.core.FMParser.RelationalExpression(FMParser.java:511)
      8. freemarker.core.FMParser.EqualityExpression(FMParser.java:494)
      9. freemarker.core.FMParser.AndExpression(FMParser.java:585)
      10. freemarker.core.FMParser.OrExpression(FMParser.java:608)
      11. freemarker.core.FMParser.Expression(FMParser.java:221)
      12. freemarker.core.FMParser.If(FMParser.java:1170)
      13. freemarker.core.FMParser.FreemarkerDirective(FMParser.java:2372)
      14. freemarker.core.FMParser.Content(FMParser.java:2618)
      15. freemarker.core.FMParser.OptionalBlock(FMParser.java:2786)
      16. freemarker.core.FMParser.Escape(FMParser.java:2302)
      17. freemarker.core.FMParser.FreemarkerDirective(FMParser.java:2445)
      18. freemarker.core.FMParser.Content(FMParser.java:2618)
      19. freemarker.core.FMParser.OptionalBlock(FMParser.java:2786)
      20. freemarker.core.FMParser.Root(FMParser.java:2958)
      21. freemarker.template.Template.<init>(Template.java:149)
      22. freemarker.cache.TemplateCache.loadTemplate(TemplateCache.java:457)
      23. freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:370)
      24. freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:238)
      25. freemarker.template.Configuration.getTemplate(Configuration.java:493)
      26. freemarker.template.Configuration.getTemplate(Configuration.java:458)
      26 frames
    3. fr.opensagres.xdocreport
      AbstractXDocReport.process
      1. fr.opensagres.xdocreport.template.freemarker.FreemarkerTemplateEngine.processWithCache(FreemarkerTemplateEngine.java:84)
      2. fr.opensagres.xdocreport.template.AbstractTemplateEngine.process(AbstractTemplateEngine.java:97)
      3. fr.opensagres.xdocreport.template.AbstractTemplateEngine.process(AbstractTemplateEngine.java:75)
      4. fr.opensagres.xdocreport.document.AbstractXDocReport.processTemplateEngine(AbstractXDocReport.java:602)
      5. fr.opensagres.xdocreport.document.AbstractXDocReport.process(AbstractXDocReport.java:406)
      6. fr.opensagres.xdocreport.document.AbstractXDocReport.process(AbstractXDocReport.java:374)
      6 frames