Open xinghusp opened 5 years ago
点击进入某些栏目的内容管理的时候会出错: { "message": "An error has occurred.", "exceptionMessage": "未将对象引用设置到对象的实例。", "exceptionType": "System.NullReferenceException", "stackTrace": " 在 SiteServer.CMS.Plugin.Impl.AttributesImpl.Load(AttributesImpl attributes)\r\n 在 SiteServer.CMS.DataCache.ContentManager.ContentCache.GetContent(SiteInfo siteInfo, ChannelInfo channelInfo, Int32 contentId)\r\n 在 SiteServer.CMS.Core.PageUtility.GetContentUrlById(SiteInfo siteInfo, IContentInfo contentInfoCurrent, Boolean isLocal)\r\n 在 SiteServer.CMS.Model.ContentInfo.ToDictionary()\r\n 在 SiteServer.CMS.DataCache.ContentManager.Calculate(Int32 sequence, ContentInfo contentInfo, List1 columns, Dictionary2 pluginColumns)\r\n 在 SiteServer.API.Controllers.Pages.Cms.PagesContentsController.Get()" }
1 columns, Dictionary
调用API(/api/v1/stl/content)的时候也会出现同样的问题 { "message": "An error has occurred.", "exceptionMessage": "未将对象引用设置到对象的实例。", "exceptionType": "System.NullReferenceException", "stackTrace": " 在 SiteServer.CMS.Plugin.Impl.AttributesImpl.Load(AttributesImpl attributes)\r\n 在 SiteServer.CMS.DataCache.ContentManager.ContentCache.GetContent(SiteInfo siteInfo, Int32 channelId, Int32 contentId)\r\n 在 SiteServer.CMS.StlParser.Model.ContextInfo.get_ContentInfo()\r\n 在 SiteServer.CMS.StlParser.StlElement.StlContent.Parse(PageInfo pageInfo, ContextInfo contextInfo)\r\n 在 SiteServer.API.Controllers.V1.V1StlController.Get(String elementName)" }
系统用的是哪个版本?6.7版本应该修复了这个问题
6.7.6版本,依然存在此问题
@starlying 有调查的结论吗?
点击进入某些栏目的内容管理的时候会出错: { "message": "An error has occurred.", "exceptionMessage": "未将对象引用设置到对象的实例。", "exceptionType": "System.NullReferenceException", "stackTrace": " 在 SiteServer.CMS.Plugin.Impl.AttributesImpl.Load(AttributesImpl attributes)\r\n 在 SiteServer.CMS.DataCache.ContentManager.ContentCache.GetContent(SiteInfo siteInfo, ChannelInfo channelInfo, Int32 contentId)\r\n 在 SiteServer.CMS.Core.PageUtility.GetContentUrlById(SiteInfo siteInfo, IContentInfo contentInfoCurrent, Boolean isLocal)\r\n 在 SiteServer.CMS.Model.ContentInfo.ToDictionary()\r\n 在 SiteServer.CMS.DataCache.ContentManager.Calculate(Int32 sequence, ContentInfo contentInfo, List
1 columns, Dictionary
2 pluginColumns)\r\n 在 SiteServer.API.Controllers.Pages.Cms.PagesContentsController.Get()" }调用API(/api/v1/stl/content)的时候也会出现同样的问题 { "message": "An error has occurred.", "exceptionMessage": "未将对象引用设置到对象的实例。", "exceptionType": "System.NullReferenceException", "stackTrace": " 在 SiteServer.CMS.Plugin.Impl.AttributesImpl.Load(AttributesImpl attributes)\r\n 在 SiteServer.CMS.DataCache.ContentManager.ContentCache.GetContent(SiteInfo siteInfo, Int32 channelId, Int32 contentId)\r\n 在 SiteServer.CMS.StlParser.Model.ContextInfo.get_ContentInfo()\r\n 在 SiteServer.CMS.StlParser.StlElement.StlContent.Parse(PageInfo pageInfo, ContextInfo contextInfo)\r\n 在 SiteServer.API.Controllers.V1.V1StlController.Get(String elementName)" }