FreeMarker template error (DEBUG mode; use RETHROW in production!):
The following has evaluated to null or missing:
==> data [in template "b2b.ftl" at line 320, column 22]
----
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#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 data.result?? [in template "b2b.ftl" at line 320, column 17]
----
Java stack trace (for programmers):
----
freemarker.core.InvalidReferenceException: [... Exception message was already printed; see it above ...]
at freemarker.core.InvalidReferenceException.getInstance(InvalidReferenceException.java:131)
at freemarker.core.UnexpectedTypeException.newDesciptionBuilder(UnexpectedTypeException.java:77)
at freemarker.core.UnexpectedTypeException.(UnexpectedTypeException.java:40)
at freemarker.core.NonHashException.(NonHashException.java:46)
at freemarker.core.Dot._eval(Dot.java:45)
at freemarker.core.Expression.eval(Expression.java:78)
at freemarker.core.ExistsExpression._eval(ExistsExpression.java:45)
at freemarker.core.Expression.eval(Expression.java:78)
at freemarker.core.Expression.evalToBoolean(Expression.java:124)
at freemarker.core.Expression.evalToBoolean(Expression.java:110)
at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:46)
at freemarker.core.Environment.visit(Environment.java:324)
at freemarker.core.MixedContent.accept(MixedContent.java:54)
at freemarker.core.Environment.visit(Environment.java:324)
at freemarker.core.Environment.process(Environment.java:302)
at freemarker.template.Template.process(Template.java:325)
at com.concom.staticize.util.FreeMarkertUtil.analysisTemplate(FreeMarkertUtil.java:57)
at com.concom.staticize.job.task.yunying.b2b.B2bKeywordTask.b2bCreate(B2bKeywordTask.java:305)
at com.concom.staticize.job.task.yunying.b2b.B2bKeywordTask.calc(B2bKeywordTask.java:271)
at com.concom.staticize.job.task.yunying.b2b.B2bKeywordTask.lambda$null$0(B2bKeywordTask.java:246)
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1604)
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:750)
主站蜘蛛池模板:
巢湖市|
赤水市|
乌拉特后旗|
怀来县|
尖扎县|
平原县|
咸阳市|
汽车|
左云县|
阳高县|
高雄县|
密云县|
满城县|
清徐县|
德钦县|
镇远县|
开江县|
万源市|
永定县|
休宁县|
黑山县|
凉山|
三穗县|
大丰市|
朔州市|
温宿县|
什邡市|
芜湖县|
山东|
石屏县|
东明县|
蛟河市|
泽库县|
建阳市|
阿合奇县|
怀宁县|
金乡县|
玛纳斯县|
黄平县|
南皮县|
嵩明县|