freemarker.template.TemplateException

Expected number, sequence, or string. map evaluated instead to freemarker.template.SimpleHash on line 17, column 16 in src/testFreeMarker/xPathDOM.ftl.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web26

  • via freemarker by ghajdu
    , 11 months ago
    Expected number, sequence, or string. map evaluated instead to freemarker.template.SimpleHash on line 17, column 16 in src/testFreeMarker/xPathDOM.ftl.
  • 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.
  • via Google Groups by orx, 1 year ago
    Expected collection or sequence. klamottes evaluated instead to freemarker.ext.beans.StringModel on line 4, column 16 in inc/klamottenList.ftl.
  • Stack trace

    • freemarker.template.TemplateException: Expected number, sequence, or string. map evaluated instead to freemarker.template.SimpleHash on line 17, column 16 in src/testFreeMarker/xPathDOM.ftl. at freemarker.core.TemplateObject.invalidTypeException(TemplateObject.java:135) at freemarker.core.DynamicKeyName.dealWithNumericalKey(DynamicKeyName.java:125)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.