113-5期:国家治理中的传统文化要素
日期:2017-12-05 17:13:42 作者:文汇讲堂
主讲嘉宾 谢遐龄
复旦大学上海儒学院理事长
对话嘉宾 干春松
北京大学儒学研究院副院长
友情主持
推荐视频
FreeMarker template error (DEBUG mode; use RETHROW in production!):
The following has evaluated to null or missing:
==> ign channelId=content.channel.parent [in template "WEB-INF/t/cms/www/default/include/文汇讲堂右边栏.html" at line 9, column 30]
----
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: #assign channelId = content.channel.p... [in template "WEB-INF/t/cms/www/default/include/文汇讲堂右边栏.html" at line 9, column 11]
- Reached through: #include "../include/文汇讲堂右边栏.html" [in template "WEB-INF/t/cms/www/default/content/文汇讲堂内容.html" at line 201, column 3]
----
Java stack trace (for programmers):
----
freemarker.core.InvalidReferenceException: [... Exception message was already printed; see it above ...]
at freemarker.core.InvalidReferenceException.getInstance(InvalidReferenceException.java:134)
at freemarker.core.UnexpectedTypeException.newDesciptionBuilder(UnexpectedTypeException.java:80)
at freemarker.core.UnexpectedTypeException.(UnexpectedTypeException.java:43)
at freemarker.core.NonHashException.(NonHashException.java:49)
at freemarker.core.Dot._eval(Dot.java:48)
at freemarker.core.Expression.eval(Expression.java:81)
at freemarker.core.Assignment.accept(Assignment.java:134)
at freemarker.core.Environment.visit(Environment.java:326)
at freemarker.core.Environment.visit(Environment.java:332)
at freemarker.core.Environment.include(Environment.java:2505)
at freemarker.core.Include.accept(Include.java:171)
at freemarker.core.Environment.visit(Environment.java:326)
at freemarker.core.Environment.visit(Environment.java:332)
at freemarker.core.Environment.process(Environment.java:305)
at freemarker.template.Template.process(Template.java:384)
at com.jeecms.cms.staticpage.StaticPageDaoImpl.createContentPage(StaticPageDaoImpl.java:519)
at com.jeecms.cms.staticpage.StaticPageDaoImpl.contentStatic(StaticPageDaoImpl.java:352)
at com.jeecms.cms.staticpage.StaticPageSvcImpl.content(StaticPageSvcImpl.java:97)
at com.jeecms.cms.staticpage.StaticPageSvcImpl.contentRelated(StaticPageSvcImpl.java:190)
at sun.reflect.GeneratedMethodAccessor1552.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
at com.sun.proxy.$Proxy59.contentRelated(Unknown Source)
at com.jeecms.cms.staticpage.ContentStaticPageListener.afterChange(ContentStaticPageListener.java:56)
at com.jeecms.cms.staticpage.ContentStatusChangeThread.afterChange(ContentStatusChangeThread.java:79)
at com.jeecms.cms.staticpage.ContentStatusChangeThread.run(ContentStatusChangeThread.java:52)