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

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by GoogleCodeExporter
, 1 year ago
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> ...
via Stack Overflow by Philip John
, 2 years ago
Encountered "/" at line 4, column 13223 in content.xml. Was expecting one of: <STRING_LITERAL> ... <RAW_STRING> ... "false" ... "true" ... <INTEGER> ... <DECIMAL> ... "." ... "+" ... "-" ... "!" ... "[" ... "(" ... "{" ... <ID> ...
via freemarker by debaftl
, 1 year ago
Encountered "account >" at line 1, column 782 in TPV_ST. Was expecting one of: "in" ... ">" ... <EMPTY_DIRECTIVE_END> ... "." ... "[" ... "(" ... "?" ... "!" ... <TERMINATING_EXCLAM
via Stack Overflow by Daniel Gerson
, 6 months ago
Syntax error in template "javaclass.ftl" in line 5, column 29: Encountered ",", but was expecting: ">"
via Stack Overflow by Unknown author, 2 years ago
Encountered ";" at line 4, column 30430 in content.xml. Was expecting one of: ">" ... "." ... "[" ... "(" ... "?" ... "!" ... <TERMINATING_EXCLAM
via GitHub by nbarrett
, 1 month ago
Syntax error in template "freemarker/results-by-tagtype.ftl" in line 55, column 83: Encountered "/", but was expecting one of: <STRING_LITERAL> <RAW_STRING> "false" "true" <INTEGER> <DECIMAL> "." "+" "-" "!" "[" "(" "{" <ID>
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(FMParser.java:4697)
at freemarker.core.FMParser.jj_consume_token(FMParser.java:4568)
at freemarker.core.FMParser.UnaryExpression(FMParser.java:323)
at freemarker.core.FMParser.MultiplicativeExpression(FMParser.java:435)
at freemarker.core.FMParser.AdditiveExpression(FMParser.java:385)
at freemarker.core.FMParser.RangeExpression(FMParser.java:556)
at freemarker.core.FMParser.RelationalExpression(FMParser.java:511)
at freemarker.core.FMParser.EqualityExpression(FMParser.java:494)
at freemarker.core.FMParser.AndExpression(FMParser.java:585)
at freemarker.core.FMParser.OrExpression(FMParser.java:608)
at freemarker.core.FMParser.Expression(FMParser.java:221)
at freemarker.core.FMParser.If(FMParser.java:1170)
at freemarker.core.FMParser.FreemarkerDirective(FMParser.java:2372)
at freemarker.core.FMParser.Content(FMParser.java:2618)
at freemarker.core.FMParser.OptionalBlock(FMParser.java:2786)
at freemarker.core.FMParser.Escape(FMParser.java:2302)
at freemarker.core.FMParser.FreemarkerDirective(FMParser.java:2445)
at freemarker.core.FMParser.Content(FMParser.java:2618)
at freemarker.core.FMParser.OptionalBlock(FMParser.java:2786)
at freemarker.core.FMParser.Root(FMParser.java:2958)
at freemarker.template.Template.(Template.java:149)
at freemarker.cache.TemplateCache.loadTemplate(TemplateCache.java:457)
at freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:370)
at freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:238)
at freemarker.template.Configuration.getTemplate(Configuration.java:493)
at fr.opensagres.xdocreport.template.freemarker.FreemarkerTemplateEngine.processWithCache(FreemarkerTemplateEngine.java:84)
at fr.opensagres.xdocreport.template.AbstractTemplateEngine.process(AbstractTemplateEngine.java:97)
at fr.opensagres.xdocreport.template.AbstractTemplateEngine.process(AbstractTemplateEngine.java:75)
at fr.opensagres.xdocreport.document.AbstractXDocReport.processTemplateEngine(AbstractXDocReport.java:602)
at fr.opensagres.xdocreport.document.AbstractXDocReport.process(AbstractXDocReport.java:406)
at fr.opensagres.xdocreport.document.AbstractXDocReport.process(AbstractXDocReport.java:374)

Users with the same issue

4 times, 1 year ago

Write tip

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