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@487ae20e The problematic instruction: ---------- ==> list cms.documents("channel=行政执法结果公开表格下载|A类部门和单位—交警支队|A类部门和单位—工商局|A类部门和单位—公安局|A类部门和单位—质监局|A类部门和单位—卫生局|A类部门和单位—环保局|A类部门和单位—城管执法局|A类部门和单位—食药监局|A类部门和单位—文广新局|A类部门和单位—消防支队|A类部门和单位—物价监管局|A类部门和单位—交通运输局|A类部门和单位—住建局|A类部门和单位—地税局|A类部门和单位—安监局|A类部门和单位—烟草专卖局|A类部门和单位—国税局|B类部门和单位—国土资源局|B类部门和单位—林业局|B类部门和单位—水务局|B类部门和单位—旅游局|B类部门和单位—审计局|B类部门和单位—农业局|B类部门和单位—人防办|B类部门和单位—司法局|B类部门和单位—科技局|B类部门和单位—统计局|B类部门和单位—畜牧兽医局|B类部门和单位—民政局|B类部门和单位—人保局|B类部门和单位—人口计生委|B类部门和单位—粮食局|B类部门和单位—教育局|B类部门和单位—商务局|B类部门和单位—规划局|B类部门和单位—工信委|B类部门和单位—民宗局|B类部门和单位—外侨办|B类部门和单位—发改委|B类部门和单位—财政局|B类部门和单位—档案局|B类部门和单位—地震局|B类部门和单位—气象局|B类部门和单位—无线电管理处|B类部门和单位—体育局|B类部门和单位—住房公积金管理中心|农机管理总站-执法结果,pagesize=25") as document [on line 481, 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@487ae20e 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.GeneratedMethodAccessor774.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.GeneratedMethodAccessor517.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