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.

GitHub | GoogleCodeExporter | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    XdocReport with FreeMarker <> Displaying values in a table

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

    Root Cause Analysis

    1. 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()
    2. FreeMarker
      Environment.process
      1. freemarker.core.TemplateObject.invalidTypeException(TemplateObject.java:136)
      2. freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:190)
      3. freemarker.core.Environment.visit(Environment.java:428)
      4. freemarker.core.IteratorBlock.accept(IteratorBlock.java:102)
      5. freemarker.core.Environment.visit(Environment.java:221)
      6. freemarker.core.MixedContent.accept(MixedContent.java:92)
      7. freemarker.core.Environment.visit(Environment.java:221)
      8. freemarker.core.EscapeBlock.accept(EscapeBlock.java:84)
      9. freemarker.core.Environment.visit(Environment.java:221)
      10. freemarker.core.Environment.process(Environment.java:199)
      10 frames
    3. fr.opensagres.xdocreport
      AbstractXDocReport.process
      1. fr.opensagres.xdocreport.template.freemarker.FreemarkerTemplateEngine.process(FreemarkerTemplateEngine.java:126)
      2. fr.opensagres.xdocreport.template.freemarker.FreemarkerTemplateEngine.processWithCache(FreemarkerTemplateEngine.java:78)
      3. fr.opensagres.xdocreport.template.AbstractTemplateEngine.process(AbstractTemplateEngine.java:88)
      4. fr.opensagres.xdocreport.template.AbstractTemplateEngine.process(AbstractTemplateEngine.java:66)
      5. fr.opensagres.xdocreport.document.AbstractXDocReport.processTemplateEngine(AbstractXDocReport.java:593)
      6. fr.opensagres.xdocreport.document.AbstractXDocReport.process(AbstractXDocReport.java:397)
      7. fr.opensagres.xdocreport.document.AbstractXDocReport.process(AbstractXDocReport.java:365)
      7 frames
    4. docxandfreemarker
      DocxFreeMarkerLiber.main
      1. docxandfreemarker.DocxFreeMarkerLiber.main(DocxFreeMarkerLiber.java:68)
      1 frame