立即下载
【新春走基层】县民族中医院:送健康进村
2020-01-08 16:16:18 字号:
FreeMarker template error (DEBUG mode; use RETHROW in production!): The following has evaluated to null or missing: ==> contentExt.newsSharePic [in template "template_default/newswap/tpl-wap-body.ftl" at line 584, column 6] ---- 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 be 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. (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: #if contentExt.newsSharePic != "" [in template "template_default/newswap/tpl-wap-body.ftl" in macro "wapShare" at line 584, column 1] - Reached through: @wapShare [in template "template_default/newswap/tpl-wap-body.ftl" in macro "wapContent" at line 164, column 1] - Reached through: @wapContent [in template "template_default/newswap/tpl-wap-body.ftl" in macro "wapBodyForContentByPageName" at line 223, column 9] - Reached through: @wapBodyForContentByPageName currPage... [in template "template_default/newswap/tpl-wap/tpl-import-new.ftl" in macro "getContentPage" at line 51, column 9] - Reached through: @tpl.getContentPage "content" [in template "site_196/wap//template/content/content.html" at line 4, column 1] ---- 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.compare(EvalUtil.java:196) at freemarker.core.EvalUtil.compare(EvalUtil.java:113) at freemarker.core.ComparisonExpression.evalToBoolean(ComparisonExpression.java:62) at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:48) at freemarker.core.Environment.visit(Environment.java:362) at freemarker.core.Environment.invoke(Environment.java:714) at freemarker.core.UnifiedCall.accept(UnifiedCall.java:83) at freemarker.core.Environment.visit(Environment.java:362) at freemarker.core.Environment.invoke(Environment.java:714) at freemarker.core.UnifiedCall.accept(UnifiedCall.java:83) at freemarker.core.Environment.visit(Environment.java:326) at freemarker.core.Environment.visit(Environment.java:368) at freemarker.core.Environment.invoke(Environment.java:714) at freemarker.core.UnifiedCall.accept(UnifiedCall.java:83) at freemarker.core.Environment.visit(Environment.java:362) at freemarker.core.Environment.invoke(Environment.java:714) at freemarker.core.UnifiedCall.accept(UnifiedCall.java:83) at freemarker.core.Environment.visit(Environment.java:326) at freemarker.core.Environment.visit(Environment.java:332) at freemarker.core.Environment.process(Environment.java:305) at freemarker.template.Template.process(Template.java:378) at cn.rednet.redcloud.template.service.impl.templatefile.TemplateFileService.generateFileByFile(TemplateFileService.java:647) at cn.rednet.redcloud.template.service.impl.templatefile.TemplateFileService.generateStaticFile(TemplateFileService.java:282) at cn.rednet.redcloud.template.service.impl.templatefile.TemplateFileService.generateStaticFileForContentByTerminal(TemplateFileService.java:238) at cn.rednet.redcloud.template.service.impl.templatefile.TemplateFileService.generateStaticFileForContent(TemplateFileService.java:186) at cn.rednet.redcloud.template.service.impl.templatefile.TemplateFileService$StaticFileTask.call(TemplateFileService.java:1114) at cn.rednet.redcloud.template.service.impl.templatefile.TemplateFileService$StaticFileTask.call(TemplateFileService.java:1099) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) hread.java:748)