FreeMarker template error (DEBUG mode; use RETHROW in production!):
The following has evaluated to null or missing:
==> cityId [in template "pc/v1.0/common/header_new_div.ftl" at line 15, column 46]
----
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: #if !esfNotOpenCityIds?contains(cityI... [in template "pc/v1.0/common/header_new_div.ftl" at line 15, column 13]
- Reached through: #include "pc/v1.0/common/header_new_d... [in template "esf/pc/1.0/base/build_header.ftl" at line 60, column 5]
- Reached through: #include "esf/pc/1.0/base/build_heade... [in template "esf/pc/1.0/build/xqjd.ftl" at line 45, 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.UnexpectedTypeException.newDescriptionBuilder(UnexpectedTypeException.java:85)
at freemarker.core.UnexpectedTypeException.(UnexpectedTypeException.java:48)
at freemarker.core.BuiltInsForMultipleTypes$stringBI._eval(BuiltInsForMultipleTypes.java:780)
at freemarker.core.Expression.eval(Expression.java:101)
at freemarker.core.ListLiteral.getModelList(ListLiteral.java:92)
at freemarker.core.MethodCall._eval(MethodCall.java:60)
at freemarker.core.Expression.eval(Expression.java:101)
at freemarker.core.Expression.evalToBoolean(Expression.java:177)
at freemarker.core.Expression.evalToBoolean(Expression.java:163)
at freemarker.core.NotExpression.evalToBoolean(NotExpression.java:34)
at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:48)
at freemarker.core.Environment.visit(Environment.java:347)
at freemarker.core.Environment.visit(Environment.java:353)
at freemarker.core.Environment.include(Environment.java:2955)
at freemarker.core.Include.accept(Include.java:171)
at freemarker.core.Environment.visit(Environment.java:347)
at freemarker.core.Environment.visit(Environment.java:353)
at freemarker.core.Environment.include(Environment.java:2955)
at freemarker.core.Include.accept(Include.java:171)
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.jiwu.build.controller.mobile.BaseController.createHtml(BaseController.java:111)
at com.jiwu.build.controller.esf.pc.PcXqjdController.lambda$detail$0(PcXqjdController.java:90)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
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)