校园新闻
您的当前位置:
首页
>>FreeMarker template error (DEBUG mode; use RETHROW in production!):
The following has evaluated to null or missing:
==> categoryMap[nv] [in template "themes/4/list/templ/list_data.ftl" at line 13, column 89]
----
Tip: It's the final [] step 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: ${categoryMap[nv]} [in template "themes/4/list/templ/list_data.ftl" at line 13, column 87]
----
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:366)
at freemarker.core.IteratorBlock$IterationContext.executedNestedContentForCollOrSeqListing(IteratorBlock.java:317)
at freemarker.core.IteratorBlock$IterationContext.executeNestedContent(IteratorBlock.java:271)
at freemarker.core.IteratorBlock$IterationContext.accept(IteratorBlock.java:242)
at freemarker.core.Environment.visitIteratorBlock(Environment.java:642)
at freemarker.core.IteratorBlock.acceptWithResult(IteratorBlock.java:107)
at freemarker.core.IteratorBlock.accept(IteratorBlock.java:93)
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.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:331)
at java.lang.Thread.run(Thread.java:748)
All rights reserved:Shanghai Arete Bilingual School
Admission counseling:400-920-6698 021-39915300
File number: 沪ICP备18030795号
沪公网安备:31011402005818