{{time}}
江源视野
FreeMarker template error (HTML_DEBUG mode; use RETHROW in production!)

Expression has thrown an unchecked exception; see the cause exception.
The blamed expression:
==> internalUrl(content.logo)  [in template "sjyweb_pc/template/shijue_jysy.template.html" at line 43, column 101]

----
FTL stack trace ("~" means nesting-related):
	- Failed at: ${internalUrl(content.logo)}  [in template "sjyweb_pc/template/shijue_jysy.template.html" at line 43, column 99]
	- Reached through: @cms_content catalogalias="jysy" leve...  [in template "sjyweb_pc/template/shijue_jysy.template.html" at line 39, column 33]
----

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:371)
	at freemarker.core.IteratorBlock$IterationContext.executedNestedContentForCollOrSeqListing(IteratorBlock.java:321)
	at freemarker.core.IteratorBlock$IterationContext.executeNestedContent(IteratorBlock.java:271)
	at freemarker.core.IteratorBlock$IterationContext.accept(IteratorBlock.java:244)
	at freemarker.core.Environment.visitIteratorBlock(Environment.java:645)
	at freemarker.core.IteratorBlock.acceptWithResult(IteratorBlock.java:108)
	at freemarker.core.IteratorBlock.accept(IteratorBlock.java:94)
	at freemarker.core.Environment.visit(Environment.java:371)
	at freemarker.core.Environment$NestedElementTemplateDirectiveBody.render(Environment.java:3423)
	at com.chestnut.common.staticize.tag.AbstractTag.onTagEnd(AbstractTag.java:81)
	at com.chestnut.common.staticize.tag.AbstractTag.execute(AbstractTag.java:50)
	at freemarker.core.Environment.visit(Environment.java:452)
	at freemarker.core.UnifiedCall.accept(UnifiedCall.java:102)
	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.chestnut.common.staticize.StaticizeService.process(StaticizeService.java:78)
	at com.chestnut.contentcore.service.impl.PublishServiceImpl.doCatalogStaticize(PublishServiceImpl.java:441)
	at com.chestnut.contentcore.service.impl.PublishServiceImpl.catalogStaticize(PublishServiceImpl.java:367)
	at com.chestnut.contentcore.service.impl.PublishServiceImpl.catalogStaticize(PublishServiceImpl.java:357)
	at com.chestnut.contentcore.publish.CatalogPublishTask.publish(CatalogPublishTask.java:43)
	at com.chestnut.contentcore.publish.PublishTaskReceiver.onMessage(PublishTaskReceiver.java:51)
	at com.chestnut.contentcore.publish.PublishTaskReceiver.onMessage(PublishTaskReceiver.java:24)
	at org.springframework.data.redis.stream.StreamPollTask.deserializeAndEmitRecords(StreamPollTask.java:157)
	at org.springframework.data.redis.stream.StreamPollTask.doLoop(StreamPollTask.java:128)
	at org.springframework.data.redis.stream.StreamPollTask.run(StreamPollTask.java:112)
	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.chestnut.contentcore.template.func.InternalUrlFunction.exec0(InternalUrlFunction.java:46)
	at com.chestnut.common.staticize.func.AbstractFunc.exec(AbstractFunc.java:13)
	at freemarker.core.MethodCall._eval(MethodCall.java:62)
	at freemarker.core.Expression.eval(Expression.java:101)
	... 31 more