Invocation of method 'getrelevants' in Miloc.CMS.Applications.Admin.TemplateApi threw exception System.NullReferenceException : 未将对象引用设置到对象的实例?/strong>

http://cms.zongye.cc/api/body/?appid=76dfed78ac314143&id=1496&page=0&type=content&sign=47be3bb524d3ce84ae31f4e825c363ef

miloc,cms,applications,admin,controllers,api,body

NVelocity.Exception.MethodInvocationException: Invocation of method 'getrelevants' in Miloc.CMS.Applications.Admin.TemplateApi threw exception System.NullReferenceException : 未将对象引用设置到对象的实例?---> System.NullReferenceException: 未将对象引用设置到对象的实例?br /> ?Miloc.CMS.Applications.Admin.TemplateApi.GetRelevants(ContentModel content, Int32 row) 位置 D:\works\projectsCMS\Miloc.CMS\Applications\Admin\TemplateApi.cs:行号 394
--- 内部异常堆栈跟踪的结?---
?NVelocity.Runtime.Parser.Node.ASTMethod.Execute(Object o, IInternalContextAdapter context)
?NVelocity.Runtime.Parser.Node.ASTReference.Execute(Object o, IInternalContextAdapter context)
?NVelocity.Runtime.Parser.Node.ASTSetDirective.Render(IInternalContextAdapter context, TextWriter writer)
?NVelocity.Runtime.Parser.Node.ASTBlock.Render(IInternalContextAdapter context, TextWriter writer)
?NVelocity.Runtime.Parser.Node.ASTIfStatement.Render(IInternalContextAdapter context, TextWriter writer)
?NVelocity.Runtime.Parser.Node.SimpleNode.Render(IInternalContextAdapter context, TextWriter writer)
?NVelocity.Template.Merge(IContext context, TextWriter writer)
?NVelocity.App.VelocityEngine.MergeTemplate(String templateName, String encoding, IContext context, TextWriter writer)
?Miloc.NVelocityHelper.Merge(String templatefilename) 位置 D:\works\projectsCMS\Miloc\Helper\NVelocityHelper.cs:行号 129
?Miloc.CMS.Applications.Admin.Common.GetHtml(ApplicationModel app, SiteModel site, ChannelsModel channels, String type, Int32 id, Int32 pageindex) 位置 D:\works\projectsCMS\Miloc.CMS\Applications\Admin\Common.cs:行号 343
?Miloc.CMS.Applications.Admin.Controllers.ApiController.Body() 位置 D:\works\projectsCMS\Miloc.CMS\Applications\Admin\Controllers\Call\Api.cs:行号 260

Ϸij