ERROR - freemarker.template.TemplateModelException - Possible Causes of TemplateModelException

Exception Thrown By:Cause
ClassMethod
WrappingTemplateModel [public void setObjectWrapper(ObjectWrapper objectWrapper) if the wrapper does not
know how to wrap the passed object.
CollectionModel public TemplateModel get(int index) if the index
is out of bounds