信阳市市长
信阳市市长FreeMarker template error (DEBUG mode; use RETHROW in production!):
The following has evaluated to null or missing:
==> tag [in template "WEB-INF/t/cms/www/default/channel/news_hdbdj.html" at line 84, column 46]
----
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: ${tag.name!} [in template "WEB-INF/t/cms/www/default/channel/news_hdbdj.html" at line 84, column 44]
- Reached through: @cms_content_list channelId=tagp.id o... [in template "WEB-INF/t/cms/www/default/channel/news_hdbdj.html" at line 48, column 1]
- Reached through: @cms_channel_list parentId=channel.id [in template "WEB-INF/t/cms/www/default/channel/news_hdbdj.html" at line 44, column 1]
----
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.DefaultToExpression._eval(DefaultToExpression.java:84)
at freemarker.core.Expression.eval(Expression.java:81)
at freemarker.core.DollarVariable.calculateInterpolatedStringOrMarkup(DollarVariable.java:96)
at freemarker.core.DollarVariable.accept(DollarVariable.java:59)
at freemarker.core.Environment.visit(Environment.java:327)
at freemarker.core.Environment.visit(Environment.java:369)
at freemarker.core.Environment$NestedElementTemplateDirectiveBody.render(Environment.java:2802)
at com.jeecms.cms.action.directive.ContentListDirective.execute(ContentListDirective.java:70)
at freemarker.core.Environment.visit(Environment.java:427)
at freemarker.core.UnifiedCall.accept(UnifiedCall.java:101)
at freemarker.core.Environment.visit(Environment.java:327)
at freemarker.core.Environment.visit(Environment.java:369)
at freemarker.core.IteratorBlock$IterationContext.executedNestedContentForCollOrSeqListing(IteratorBlock.java:316)
at freemarker.core.IteratorBlock$IterationContext.executeNestedContent(IteratorBlock.java:272)
at freemarker.core.IteratorBlock$IterationContext.accept(IteratorBlock.java:243)
at freemarker.core.Environment.visitIteratorBlock(Environment.java:596)
at freemarker.core.IteratorBlock.acceptWithResult(IteratorBlock.java:108)
at freemarker.core.IteratorBlock.accept(IteratorBlock.java:94)
at freemarker.core.Environment.visit(Environment.java:363)
at freemarker.core.Environment$NestedElementTemplateDirectiveBody.render(Environment.java:2802)
at com.jeecms.cms.action.directive.ChannelListDirective.execute(ChannelListDirective.java:154)
at freemarker.core.Environment.visit(Environment.java:427)
at freemarker.core.UnifiedCall.accept(UnifiedCall.java:101)
at freemarker.core.Environment.visit(Environment.java:327)
at freemarker.core.Environment.visit(Environment.java:333)
at freemarker.core.Environment.process(Environment.java:306)
at freemarker.template.Template.process(Template.java:386)
at com.jeecms.cms.staticpage.StaticPageDaoImpl.createChannelPage(StaticPageDaoImpl.java:462)
at com.jeecms.cms.staticpage.StaticPageDaoImpl.channelStatic(StaticPageDaoImpl.java:191)
at com.jeecms.cms.staticpage.StaticPageSvcImpl.channel(StaticPageSvcImpl.java:138)
at com.jeecms.cms.staticpage.StaticPageSvcImpl.deleteContent(StaticPageSvcImpl.java:113)
at sun.reflect.GeneratedMethodAccessor4386.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
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:282)
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.$Proxy78.deleteContent(Unknown Source)
at com.jeecms.cms.staticpage.ContentStaticPageListener.afterChange(ContentStaticPageListener.java:52)
at com.jeecms.cms.staticpage.ContentStatusChangeThread.afterChange(ContentStatusChangeThread.java:79)
at com.jeecms.cms.staticpage.ContentStatusChangeThread.run(ContentStatusChangeThread.java:52)