FreeMarker template error (DEBUG mode; use RETHROW in production!):
The following has evaluated to null or missing:
==> randomFakeMember.pic [in template "bountyAskAnswer.ftl" at line 90, column 29]
----
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 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 (randomFakeMember.pic?contains("m... [in template "bountyAskAnswer.ftl" at line 90, column 23]
----
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.EvalUtil.coerceModelToString(EvalUtil.java:355)
at freemarker.core.Expression.evalAndCoerceToString(Expression.java:89)
at freemarker.core.BuiltInsForStringsBasic$containsBI._eval(BuiltInsForStringsBasic.java:84)
at freemarker.core.Expression.eval(Expression.java:78)
at freemarker.core.MethodCall._eval(MethodCall.java:55)
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.ParentheticalExpression.evalToBoolean(ParentheticalExpression.java:31)
at freemarker.core.IfBlock.accept(IfBlock.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.askanswer.BountyAskAnswerTask.bountyAskAnswerCreate(BountyAskAnswerTask.java:243)
at com.concom.staticize.job.task.yunying.askanswer.BountyAskAnswerTask.calc(BountyAskAnswerTask.java:207)
at com.concom.staticize.job.task.yunying.askanswer.BountyAskAnswerTask.lambda$null$0(BountyAskAnswerTask.java:185)
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
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)