首页
要闻(网站)
FreeMarker template error (DEBUG mode; use RETHROW in production!): The following has evaluated to null or missing: ==> [in template "WEB-INF/t/cms/www/mobile/include/手机导航栏.html" at line 50, column 11] ---- 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: #if ulFlag [in template "WEB-INF/t/cms/www/mobile/include/手机导航栏.html" at line 50, column 6] - Reached through: @cms_channel_list count=5 [in template "WEB-INF/t/cms/www/mobile/include/手机导航栏.html" at line 19, column 5] - Reached through: #include "../include/手机导航栏.html" [in template "WEB-INF/t/cms/www/mobile/content/新闻内容.html" at line 27, 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.NonBooleanException.
(NonBooleanException.java:47) at freemarker.core.Expression.modelToBoolean(Expression.java:163) at freemarker.core.Expression.evalToBoolean(Expression.java:146) at freemarker.core.Expression.evalToBoolean(Expression.java:131) at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:48) at freemarker.core.Environment.visit(Environment.java:326) at freemarker.core.Environment.visit(Environment.java:368) at freemarker.core.IteratorBlock$IterationContext.executeNestedContent(IteratorBlock.java:263) at freemarker.core.IteratorBlock$IterationContext.accept(IteratorBlock.java:200) at freemarker.core.Environment.visitIteratorBlock(Environment.java:595) at freemarker.core.IteratorBlock.acceptWithResult(IteratorBlock.java:81) at freemarker.core.IteratorBlock.accept(IteratorBlock.java:67) at freemarker.core.Environment.visit(Environment.java:362) at freemarker.core.Environment$NestedElementTemplateDirectiveBody.render(Environment.java:2727) at com.jeecms.cms.action.directive.ChannelListDirective.execute(ChannelListDirective.java:77) at freemarker.core.Environment.visit(Environment.java:426) at freemarker.core.UnifiedCall.accept(UnifiedCall.java:101) 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:499) at com.jeecms.cms.staticpage.StaticPageDaoImpl.contentStatic(StaticPageDaoImpl.java:326) at com.jeecms.cms.staticpage.StaticPageSvcImpl.content(StaticPageSvcImpl.java:91) at com.jeecms.cms.staticpage.StaticPageSvcImpl.contentRelated(StaticPageSvcImpl.java:184) at sun.reflect.GeneratedMethodAccessor1635.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)