当前位置:

视频丨“山货”进城变“俏货”

来源:冷水滩区融媒体中心 作者:陈彦希 王庚娣 文奇 编辑:屈文利 2024-12-13 10:47:03
—分享—
FreeMarker template error (DEBUG mode; use RETHROW in production!): The following has evaluated to null or missing: ==> contentObj [in template "site_40//template/content/videoContent.html" at line 55, column 18] ---- 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: #if contentObj.videoStyle?string == "1" [in template "site_40//template/content/videoContent.html" at line 55, column 13] ---- 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.UnexpectedTypeException.newDescriptionBuilder(UnexpectedTypeException.java:85) at freemarker.core.UnexpectedTypeException.(UnexpectedTypeException.java:48) at freemarker.core.NonHashException.(NonHashException.java:49) at freemarker.core.Dot._eval(Dot.java:48) at freemarker.core.Expression.eval(Expression.java:101) at freemarker.core.BuiltInsForMultipleTypes$stringBI._eval(BuiltInsForMultipleTypes.java:732) at freemarker.core.Expression.eval(Expression.java:101) at freemarker.core.EvalUtil.compare(EvalUtil.java:113) at freemarker.core.ComparisonExpression.evalToBoolean(ComparisonExpression.java:78) at freemarker.core.IfBlock.accept(IfBlock.java:49) at freemarker.core.Environment.visit(Environment.java:335) at freemarker.core.Environment.visit(Environment.java:341) at freemarker.core.Environment.visit(Environment.java:341) at freemarker.core.Environment.visit(Environment.java:341) at freemarker.core.Environment.process(Environment.java:314) at freemarker.template.Template.process(Template.java:383) at cn.rednet.redcloud.template.service.impl.templatefile.TemplateFileService.generateFileByFile(TemplateFileService.java:737) at cn.rednet.redcloud.template.service.impl.templatefile.TemplateFileService.generateStaticFile(TemplateFileService.java:341) at cn.rednet.redcloud.template.service.impl.templatefile.TemplateFileService.generateStaticFileForContentByTerminal(TemplateFileService.java:296) at cn.rednet.redcloud.template.service.impl.templatefile.TemplateFileService.generateStaticFileForContent(TemplateFileService.java:241) at cn.rednet.redcloud.template.service.impl.templatefile.TemplateFileService$StaticFileTask.call(TemplateFileService.java:1151) at cn.rednet.redcloud.template.service.impl.templatefile.TemplateFileService$StaticFileTask.call(TemplateFileService.java:1136) 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)