Expression has thrown an unchecked exception; see the cause exception.
The blamed expression:
==> internalUrl(Catalog.logo) [in template "tiancheng_website/template/detail.template.html" at line 57, column 111]
----
FTL stack trace ("~" means nesting-related):
- Failed at: ${internalUrl(Catalog.logo)} [in template "tiancheng_website/template/detail.template.html" at line 57, column 109]
----
Java stack trace (for programmers):
----
freemarker.core._MiscTemplateException: [... Exception message was already printed; see it above ...]
at freemarker.core.Expression.eval(Expression.java:106)
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.ruoyi.common.staticize.StaticizeService.process(StaticizeService.java:78)
at com.ruoyi.contentcore.service.impl.PublishServiceImpl.doContentStaticize(PublishServiceImpl.java:618)
at com.ruoyi.contentcore.service.impl.PublishServiceImpl.contentStaticize(PublishServiceImpl.java:583)
at com.ruoyi.contentcore.service.impl.PublishServiceImpl$6.run0(PublishServiceImpl.java:562)
at com.ruoyi.common.async.AsyncTask.run(AsyncTask.java:90)
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:842)
Caused by: java.lang.NullPointerException: Cannot invoke "freemarker.template.SimpleScalar.getAsString()" because "simpleScalar" is null
at com.ruoyi.contentcore.template.func.InternalUrlFunction.exec0(InternalUrlFunction.java:46)
at com.ruoyi.common.staticize.func.AbstractFunc.exec(AbstractFunc.java:13)
at freemarker.core.MethodCall._eval(MethodCall.java:62)
at freemarker.core.Expression.eval(Expression.java:101)
... 13 more