天晟源环保,环境保护企业,环境保护,优质环保服务单位,国有综合环保企业
留言咨询 信访信箱
阿坝分公司-经典项目
Classic project
阿坝州水电站监测
阿坝州水电站监测
FreeMarker template error (HTML_DEBUG mode; use RETHROW in production!)

The following has evaluated to null or missing:
==> content.summary  [in template "hbgf_pc/template/news.template.html" at line 452, column 53]

----
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: ${content.summary}  [in template "hbgf_pc/template/news.template.html" at line 452, column 51]
	- Reached through: @cms_content catalogid="${Catalog.cat...  [in template "hbgf_pc/template/news.template.html" at line 441, column 19]
----

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:104)
	at freemarker.core.DollarVariable.accept(DollarVariable.java:63)
	at freemarker.core.Environment.visit(Environment.java:371)
	at freemarker.core.IteratorBlock$IterationContext.executedNestedContentForCollOrSeqListing(IteratorBlock.java:321)
	at freemarker.core.IteratorBlock$IterationContext.executeNestedContent(IteratorBlock.java:271)
	at freemarker.core.IteratorBlock$IterationContext.accept(IteratorBlock.java:244)
	at freemarker.core.Environment.visitIteratorBlock(Environment.java:645)
	at freemarker.core.IteratorBlock.acceptWithResult(IteratorBlock.java:108)
	at freemarker.core.IteratorBlock.accept(IteratorBlock.java:94)
	at freemarker.core.Environment.visit(Environment.java:371)
	at freemarker.core.Environment$NestedElementTemplateDirectiveBody.render(Environment.java:3423)
	at com.scxc.common.staticize.tag.AbstractTag.onTagEnd(AbstractTag.java:82)
	at com.scxc.common.staticize.tag.AbstractTag.execute(AbstractTag.java:51)
	at freemarker.core.Environment.visit(Environment.java:452)
	at freemarker.core.UnifiedCall.accept(UnifiedCall.java:102)
	at freemarker.core.Environment.visit(Environment.java:335)
	at freemarker.core.Environment.visit(Environment.java:341)
	at freemarker.core.Environment.process(Environment.java:314)
	at com.scxc.common.staticize.StaticizeService.process(StaticizeService.java:79)
	at com.scxc.contentcore.publish.staticize.CatalogStaticizeType.doCatalogStaticize(CatalogStaticizeType.java:157)
	at com.scxc.contentcore.publish.staticize.CatalogStaticizeType.catalogStaticize(CatalogStaticizeType.java:83)
	at com.scxc.contentcore.publish.staticize.CatalogStaticizeType.catalogStaticize(CatalogStaticizeType.java:74)
	at com.scxc.contentcore.publish.staticize.CatalogStaticizeType.staticize(CatalogStaticizeType.java:66)
	at com.scxc.contentcore.publish.strategies.ThreadPoolPublishStrategy.lambda$publish$0(ThreadPoolPublishStrategy.java:42)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:833)