:
The following has evaluated to null or missing:
==> listBanners[0].xmlContentListVM.path [in template )
when-present<#else>when-missing#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: ${listBanners[0].xmlContentListVM.path} [in template "themes/83/list/templ/list_category.ftl" at line 87, column 51]
----
Java stack trace (for programmers):
----
freemarker.core.InvalidReferenceException: [... Exception message was already printed; see it above ...]
at freemarker.core.InvalidReferenceException.getInstance(InvalidReferenceException.java:134)
at freemarker.core.EvalUtil.coerceModelToTextualCommon(EvalUtil.java:467)
at freemarker.core.EvalUtil.coerceModelToStringOrMarkup(EvalUtil.java:389)
at freemarker.core.EvalUtil.coerceModelToStringOrMarkup(EvalUtil.java:358)
at freemarker.core.DollarVariable.calculateInterpolatedStringOrMarkup(DollarVariable.java:100)
at freemarker.core.DollarVariable.accept(DollarVariable.java:63)
at freemarker.core.Environment.visit(Environment.java:330)
at freemarker.core.Environment.visit(Environment.java:336)
at freemarker.core.Environment.visit(Environment.java:336)
at freemarker.core.Environment.visit(Environment.java:336)
at freemarker.core.Environment.process(Environment.java:309)
at freemarker.template.Template.process(Template.java:384)
at com.shiyuesoft.microservice.cms.utils.FreemarkerUtil.createHtmlFile(FreemarkerUtil.java:40)
at com.shiyuesoft.microservice.cms.utils.FreemarkerUtil.createFtlToOtherFile(FreemarkerUtil.java:24)
at com.shiyuesoft.microservice.cms.utils.SiteLIstHtmlUtill.run(SiteLIstHtmlUtill.java:245)
at java.lang.Thread.run(Thread.java:745)