FreeMarker template error (DEBUG mode; use RETHROW in production!):
No compatible overloaded variation was found; declared parameter types and argument value types mismatch.
The FTL type of the argument values were: Null, number (wrapper: f.t.SimpleNumber).
The Java type of the argument values were: Null, Integer.
The matching overload was searched among these members:
static com.concom.staticize.util.Keyword4RegHelper.truncString(String, int),
static com.concom.staticize.util.Keyword4RegHelper.truncString(String, int, String)
----
Tip: You seem to use BeansWrapper with incompatibleImprovements set below 2.3.21. If you think this error is unfounded, enabling 2.3.21 fixes may helps. See version history for more.
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: #assign jiequ = Keyword4RegHelper.tru... [in template "monographic.ftl" at line 102, column 21]
----
Java stack trace (for programmers):
----
freemarker.core._TemplateModelException: [... Exception message was already printed; see it above ...]
at freemarker.ext.beans.OverloadedMethods.getMemberAndArguments(OverloadedMethods.java:102)
at freemarker.ext.beans.OverloadedMethodsModel.exec(OverloadedMethodsModel.java:60)
at freemarker.core.MethodCall._eval(MethodCall.java:62)
at freemarker.core.Expression.eval(Expression.java:78)
at freemarker.core.Assignment.accept(Assignment.java:131)
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.monographic.MonographicKeywordTask.registerMonographicCreate(MonographicKeywordTask.java:259)
at com.concom.staticize.job.task.yunying.monographic.MonographicKeywordTask.registerMonographicCalc(MonographicKeywordTask.java:228)
at com.concom.staticize.job.task.yunying.monographic.MonographicKeywordTask.lambda$null$0(MonographicKeywordTask.java:205)
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)