教研动态
休戚与共克时艰 兢兢业业争奉献——岳阳市五中停课不停学工作报告
作者: 来源: 发布时间:2020/07/19
FreeMarker template error (DEBUG mode; use RETHROW in production!):
The following has evaluated to null or missing:
==> info.text [in template "145/default/info_news.html" at line 70, column 78]
----
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: ${info.text} [in template "145/default/info_news.html" at line 70, column 76]
----
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.process(Environment.java:309)
at freemarker.template.Template.process(Template.java:384)
at com.dlzd.common.file.LocalFileHandler.storeFile(LocalFileHandler.java:147)
at com.dlzd.core.html.PInfo.doMakeHtml(PInfo.java:101)
at com.dlzd.core.html.PInfo.makeHtml(PInfo.java:47)
at com.dlzd.core.html.HtmlServiceImpl.makeInfo(HtmlServiceImpl.java:145)
at com.dlzd.core.html.HtmlServiceImpl$$FastClassBySpringCGLIB$$cbb38927.invoke(