Popularization of Science

Live Video

Phase I of Teacher Empowerment Program Technological Revolution and Interdisciplinary Research

By 原创 | 2021年10月19日

Profile:FreeMarker template error (DEBUG mode; use RETHROW in production!): The following has evaluated to null or missing: ==> content.description [in template "science1eduLive1.html" at line 158, column 54] ---- 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. (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.description} [in template "science1eduLive1.html" at line 158, column 52] - Reached through: @content_tag id=contentId catid=64 [in template "science1eduLive1.html" at line 146, column 29] ---- 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:383) at freemarker.core.Environment$NestedElementTemplateDirectiveBody.render(Environment.java:3274) at com.zzsoft.project.cms.template.ArticleContentDirective.execute(ArticleContentDirective.java:61) at freemarker.core.Environment.visit(Environment.java:464) at freemarker.core.UnifiedCall.accept(UnifiedCall.java:102) at freemarker.core.Environment.visit(Environment.java:347) at freemarker.core.Environment.visit(Environment.java:353) at freemarker.core.Environment.process(Environment.java:326) at freemarker.template.Template.process(Template.java:383) at com.zzsoft.project.cms.template.FreemarkerUtils.freeMarkerContent(FreemarkerUtils.java:46) at com.zzsoft.project.cms.service.impl.StaticPageServiceImpl.contentPage(StaticPageServiceImpl.java:142) at com.zzsoft.project.cms.controller.SysIndexController$2.run(SysIndexController.java:212) at java.lang.Thread.run(Thread.java:750)