加入收藏 设为首页 工作日志

您当前的位置:首页>信息公开>工作报告

工作报告
    Method public java.util.List com.highcom.cms.service.CMSTemplateEngine.documents(java.lang.String) threw an exception when invoked on com.highcom.cms.service.CMSTemplateEngine@15dd279 The problematic instruction: ---------- ==> list cms.documents("pagesize=20,order=document.doc.publishDate desc") as doc [on line 91, column 49 in newlb.htm] ---------- Java backtrace for programmers: ---------- freemarker.template.TemplateModelException: Method public java.util.List com.highcom.cms.service.CMSTemplateEngine.documents(java.lang.String) threw an exception when invoked on com.highcom.cms.service.CMSTemplateEngine@15dd279 at freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:134) at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at freemarker.core.IteratorBlock.accept(IteratorBlock.java:94) at freemarker.core.Environment.visit(Environment.java:208) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:208) at freemarker.core.Environment.process(Environment.java:188) at freemarker.template.Template.process(Template.java:232) at com.highcom.cms.service.HTMLGenerator.generateHTML(HTMLGenerator.java:63) at com.highcom.cms.service.impl.PublishTaskServiceImpl.publishGeneral(PublishTaskServiceImpl.java:452) at sun.reflect.GeneratedMethodAccessor759.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:301) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy25.publishGeneral(Unknown Source) at com.highcom.cms.service.PublishGeneralTask.execute(PublishGeneralTask.java:50) at com.highcom.edp.core.utils.threadpool.thread.WorkThread.run(WorkThread.java:77) Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1958) at com.highcom.cms.util.CMSStringUtil.join(CMSStringUtil.java:95) at com.highcom.cms.service.CMSTemplateEngine.documents(CMSTemplateEngine.java:161) at sun.reflect.GeneratedMethodAccessor254.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:880) at freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:111) ... 24 more