freemarker.template.TemplateException: Expected collection or sequence. developers evaluated instead to freemarker.template.SimpleHash on line 2, column 3301 in fr.opensagres.xdocreport.document.docx.DocXReport@1e97676!word/document.xml.

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
Expected collection or sequence. developers evaluated instead to freemarker.template.SimpleHash on line 2, column 3301 in fr.opensagres.xdocreport.document.docx.DocXReport@1e97676!word/document.xml.
freemarker.template.TemplateException: Expected collection or sequence. developers evaluated instead to freemarker.template.SimpleHash on line 2, column 3301 in fr.opensagres.xdocreport.document.docx.DocXReport@1e97676!word/document.xml.
at freemarker.core.TemplateObject.invalidTypeException(TemplateObject.java:136)
at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:190)
at freemarker.core.Environment.visit(Environment.java:428)
at freemarker.core.IteratorBlock.accept(IteratorBlock.java:102)
at freemarker.core.Environment.visit(Environment.java:221)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:221)
at freemarker.core.EscapeBlock.accept(EscapeBlock.java:84)
at freemarker.core.Environment.visit(Environment.java:221)
at freemarker.core.Environment.process(Environment.java:199)
at fr.opensagres.xdocreport.template.freemarker.FreemarkerTemplateEngine.process(FreemarkerTemplateEngine.java:126)
at fr.opensagres.xdocreport.template.freemarker.FreemarkerTemplateEngine.processWithCache(FreemarkerTemplateEngine.java:78)
at fr.opensagres.xdocreport.template.AbstractTemplateEngine.process(AbstractTemplateEngine.java:88)
at fr.opensagres.xdocreport.template.AbstractTemplateEngine.process(AbstractTemplateEngine.java:66)
at fr.opensagres.xdocreport.document.AbstractXDocReport.processTemplateEngine(AbstractXDocReport.java:593)
at fr.opensagres.xdocreport.document.AbstractXDocReport.process(AbstractXDocReport.java:397)
at fr.opensagres.xdocreport.document.AbstractXDocReport.process(AbstractXDocReport.java:365)
at docxandfreemarker.DocxFreeMarkerLiber.main(DocxFreeMarkerLiber.java:68)

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.