FreeMarker template error (HTML_DEBUG mode; use RETHROW in production!)
The following has evaluated to null or missing:
==> Content.name [in template "123taojin_html5/template/topic_detail.template.html" at line 11, column 72]
----
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.seoKeywords!"") == "")?th... [in template "123taojin_html5/template/topic_detail.template.html" at line 11, column 34]
----
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.AddConcatExpression._eval(AddConcatExpression.java:84)
at freemarker.core.AddConcatExpression._eval(AddConcatExpression.java:57)
at freemarker.core.Expression.eval(Expression.java:101)
at freemarker.core.AddConcatExpression._eval(AddConcatExpression.java:57)
at freemarker.core.Expression.eval(Expression.java:101)
at freemarker.core.Expression.evalToNonMissing(Expression.java:171)
at freemarker.core.BuiltInsWithLazyConditionals$then_BI._eval(BuiltInsWithLazyConditionals.java:41)
at freemarker.core.Expression.eval(Expression.java:101)
at freemarker.core.DollarVariable.calculateInterpolatedStringOrMarkup(DollarVariable.java:104)
at freemarker.core.DollarVariable.accept(DollarVariable.java:63)
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.chestnut.common.staticize.StaticizeService.process(StaticizeService.java:93)
at com.chestnut.contentcore.publish.staticize.ContentStaticizeType.doContentStaticize(ContentStaticizeType.java:129)
at com.chestnut.contentcore.publish.staticize.ContentStaticizeType.contentStaticize(ContentStaticizeType.java:89)
at com.chestnut.contentcore.publish.staticize.ContentStaticizeType.staticize(ContentStaticizeType.java:80)
at com.chestnut.contentcore.publish.strategies.ThreadPoolPublishStrategy.lambda$publish$0(ThreadPoolPublishStrategy.java:59)
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)