NVelocity.Exception.MethodInvocationException: Invocation of method 'getArticleList' in AspxHospital.Templates.HospitalTemplate threw exception System.NullReferenceException : 未将对象引用设置到对象的实例。 ---> System.NullReferenceException: 未将对象引用设置到对象的实例。 在 AspxHospital.Templates.HospitalTemplate.getArticleList(String tag) --- 内部异常堆栈跟踪的结尾 --- 在 NVelocity.Runtime.Parser.Node.ASTMethod.Execute(Object o, IInternalContextAdapter context) 在 NVelocity.Runtime.Parser.Node.ASTReference.Execute(Object o, IInternalContextAdapter context) 在 NVelocity.Runtime.Parser.Node.ASTReference.Value(IInternalContextAdapter context) 在 NVelocity.Runtime.Directive.Foreach.GetIterator(IInternalContextAdapter context, INode node) 在 NVelocity.Runtime.Directive.Foreach.Render(IInternalContextAdapter context, TextWriter writer, INode node) 在 NVelocity.Runtime.Parser.Node.ASTDirective.Render(IInternalContextAdapter context, TextWriter writer) 在 NVelocity.Runtime.Parser.Node.SimpleNode.Render(IInternalContextAdapter context, TextWriter writer) 在 NVelocity.Template.Merge(IContext context, TextWriter writer) 在 AspxHospital.Templates.TemplateHelper.BuildString(String templateFile) 在 AspxHospital.Templates.TemplateHttpHandler.Display(String templateFile) 在 AspxHospital.Templates.TemplateHttpHandler.ProcessRequest(HttpContext context)引用模版出错,请和管理员联系