牦牛骨
![]() ![]() 产品参数
FreeMarker template error (DEBUG mode; use RETHROW in production!):
The following has evaluated to null or missing:
==> article.e1 [in template "article.ftl" at line 201, column 52]
----
Tip: It's the step after the last dot that caused this error, not those before it.
----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>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: ${article.e1} [in template "article.ftl" at line 201, column 50]
----
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:481)
at freemarker.core.EvalUtil.coerceModelToStringOrMarkup(EvalUtil.java:401)
at freemarker.core.EvalUtil.coerceModelToStringOrMarkup(EvalUtil.java:370)
at freemarker.core.DollarVariable.calculateInterpolatedStringOrMarkup(DollarVariable.java:100)
at freemarker.core.DollarVariable.accept(DollarVariable.java:63)
at freemarker.core.Environment.visit(Environment.java:334)
at freemarker.core.Environment.visit(Environment.java:340)
at freemarker.core.Environment.process(Environment.java:313)
at freemarker.template.Template.process(Template.java:383)
at com.org.utils.FreeMarkerUtil.processTemplate(FreeMarkerUtil.java:33)
at com.org.cms.service.impl.PageStaticServiceImpl.createStaticHtml(PageStaticServiceImpl.java:72)
at com.org.cms.service.impl.StaticServerImpl.saveArticleHtml(StaticServerImpl.java:273)
at com.org.cms.service.impl.StaticServerImpl.staticAllArticleHtml(StaticServerImpl.java:825)
at com.org.cms.service.impl.StaticServerImpl$2.run(StaticServerImpl.java:722)
at java.lang.Thread.run(Thread.java:748)
|