FreeMarker template error: The following has evaluated to null or missing | BUT NOT TRUE
I know this is an old question, but I just bumped into this. Freemarker will also complain that the value "is null or missing" if you pass it an instance of a private class (which I just tried). If you pass in a Java Bean class, it needs to be public
. The error message is very misleading in this case.