siteserver / cms

SS CMS 基于 .NET Core,能够以最低的成本、最少的人力投入在最短的时间内架设一个功能齐全、性能优异、规模庞大并易于维护的网站平台。
https://sscms.com
GNU Affero General Public License v3.0
3.68k stars 1.21k forks source link

6.7.6依然存在未将对象引用设置到对象的实例 #1602

Open xinghusp opened 5 years ago

xinghusp commented 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()" }

调用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)" }

starlying commented 5 years ago

系统用的是哪个版本?6.7版本应该修复了这个问题

xinghusp commented 5 years ago

系统用的是哪个版本?6.7版本应该修复了这个问题

6.7.6版本,依然存在此问题

xinghusp commented 5 years ago

@starlying 有调查的结论吗?