Method public java.util.List com.risingsun.cms.service.CMSTemplateEngine.documents(java.lang.String) threw an exception when invoked on com.risingsun.cms.service.CMSTemplateEngine@72da106c The problematic instruction: ---------- ==> list cms.documents("channel=铁力动态新闻|工信局部门工作|物价局部门工作|教育局部门工作|财政局部门工作|人力资源和社会保障局|统计局部门工作|农机管理总站|市林业局|政法委|市妇联|工商局部门工作|国税局部门工作|政府办部门工作|信用社|地税局部门工作|国土局部门工作|水务局部门工作|环保局部门工作|市经合局|市总工会|关工委|机关工委|邮政局|畜牧局部门工作|公安局部门工作|民宗局|粮食局部门工作|团市委|市委党校|建设局部门工作|气象局部门工作|文体局|交通运输局|科信局|卫生和计划生育局|招商局部门工作|林业局部门工作|民政局部门工作|广电局部门工作|旅游局部门工作|公用事业局部门工作|司法局部门工作|审计局部门工作|安监局部门工作|烟草局部门工作|质监局|铁力市劳动和社会保障局|发改委|农业局|武装部|统战部|工商联|城管局|电视台|部门工作-档案局|市场监督管理局|黑龙江省铁力经济开发区管理委员会部门工作|纪检委|智慧城市建设指导中心|干馏厂留守处|代建中心|市委办|铁力市人民政府办公室|铁力镇动态|双丰镇动态|朗乡镇动态|桃山镇动态|王扬乡动态|年丰乡动态|工农乡动态|神树镇动态|日月峡镇动态|市营商环境建设监督局,pagesize=25") as document [on line 572, column 41 in 政府信息公开-列表页.htm] ---------- Java backtrace for programmers: ---------- freemarker.template.TemplateModelException: Method public java.util.List com.risingsun.cms.service.CMSTemplateEngine.documents(java.lang.String) threw an exception when invoked on com.risingsun.cms.service.CMSTemplateEngine@72da106c 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.IfBlock.accept(IfBlock.java:82) 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.risingsun.cms.service.HTMLGenerator.generateHTML(HTMLGenerator.java:48) at com.risingsun.cms.service.impl.PublishTaskServiceImpl.publishGeneral(PublishTaskServiceImpl.java:512) at sun.reflect.GeneratedMethodAccessor629.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: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 com.sun.proxy.$Proxy20.publishGeneral(Unknown Source) at com.risingsun.cms.service.PublishGeneralTask.execute(PublishGeneralTask.java:34) at com.risingsun.edp.core.utils.threadpool.thread.WorkThread.run(WorkThread.java:79) Caused by: java.lang.NullPointerException at com.risingsun.cms.service.CMSTemplateEngine.documents(CMSTemplateEngine.java:136) at sun.reflect.GeneratedMethodAccessor459.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:880) at freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:111) ... 28 more