其它公共资源交易
on line 236, column 36 in WEB-INF/t/cms/www/red/index/index.html
Right side index of range out of bounds, is 4, but the sequence has only 3 element(s).(note that indices are 0 based, and ranges are inclusive).
The problematic instruction:
----------
==> list tag_list[0..4] as a [on line 236, column 17 in WEB-INF/t/cms/www/red/index/index.html]
in user-directive cms_channel_list [on line 235, column 17 in WEB-INF/t/cms/www/red/index/index.html]
in user-directive cms_channel [on line 234, column 17 in WEB-INF/t/cms/www/red/index/index.html]
----------
Java backtrace for programmers:
----------
freemarker.template.TemplateException: on line 236, column 36 in WEB-INF/t/cms/www/red/index/index.html
Right side index of range out of bounds, is 4, but the sequence has only 3 element(s).(note that indices are 0 based, and ranges are inclusive).
at freemarker.core.DynamicKeyName.dealWithRangeKey(DynamicKeyName.java:175)
at freemarker.core.DynamicKeyName._getAsTemplateModel(DynamicKeyName.java:77)
at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
at freemarker.core.IteratorBlock.accept(IteratorBlock.java:94)
at freemarker.core.Environment.visit(Environment.java:210)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:210)
at freemarker.core.Environment$1.render(Environment.java:235)
at com.jeecms.cms.action.directive.ChannelListDirective.execute(ChannelListDirective.java:83)
at freemarker.core.Environment.visit(Environment.java:263)
at freemarker.core.UnifiedCall.accept(UnifiedCall.java:126)
at freemarker.core.Environment.visit(Environment.java:210)
at freemarker.core.Environment$1.render(Environment.java:235)
at com.jeecms.cms.action.directive.ChannelDirective.execute(ChannelDirective.java:69)
at freemarker.core.Environment.visit(Environment.java:263)
at freemarker.core.UnifiedCall.accept(UnifiedCall.java:126)
at freemarker.core.Environment.visit(Environment.java:210)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:210)
at freemarker.core.Environment.process(Environment.java:190)
at freemarker.template.Template.process(Template.java:237)
at com.jeecms.cms.staticpage.StaticPageSvcImpl.index(StaticPageSvcImpl.java:171)
at com.jeecms.cms.staticpage.StaticPageSvcImpl.index(StaticPageSvcImpl.java:154)
at sun.reflect.GeneratedMethodAccessor577.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:309)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at com.sun.proxy.$Proxy59.index(Unknown Source)
at com.jeecms.cms.task.job.IndexStaticJob.staticIndex(IndexStaticJob.java:60)
at com.jeecms.cms.task.job.IndexStaticJob.executeInternal(IndexStaticJob.java:50)
at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)