1

我在 Sitecore 7.5 日志中出现以下错误。知道为什么我们会收到此错误吗?

9660 13:14:42 INFO HttpModule is being initialized Heartbeat 13:15:26 ERROR Exception in alarm clock event subscriber. Exception: System.ArgumentException Message: Object of type 'System.Runtime.Serialization.TypeLoadExceptionHolder' cannot be converted to type 'Sitecore.Analytics.Model.Framework.IFacet'. Source: mscorlib at System.RuntimeType.TryChangeType(Object value, Binder binder, CultureInfo culture, Boolean needsSpecialCast) at System.Reflection.RtFieldInfo.UnsafeSetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture) at System.Runtime.Serialization.ObjectManager.DoValueTypeFixup(FieldInfo memberToFix, ObjectHolder holder, Object value) at System.Runtime.Serialization.ObjectManager.CompleteObject(ObjectHolder holder, Boolean bObjectFullyComplete) at System.Runtime.Serialization.ObjectManager.DoNewlyRegisteredObjectFixups(ObjectHolder holder) at System.Runtime.Serialization.ObjectManager.RegisterObject(Object obj, Int64 objectID, SerializationInfo info, Int64 idOfContainingObj, MemberInfo member, Int32[] arrayIndex) at System.Runtime.Serialization.Formatters.Binary.ObjectReader.RegisterObject(Object obj, ParseRecord pr, ParseRecord objectPr, Boolean bIsString) at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ParseObjectEnd(ParseRecord pr) at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run() at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage) at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage) at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, IMethodCallMessage methodCallMessage) at Sitecore.Analytics.Data.DataAccess.SubmitQueue.FileSubmitQueue.Dequeue() at Sitecore.Analytics.SubmitQueueService.WakeUp() at Sitecore.Services.AlarmClock.Heartbeat_Beat(Object sender, EventArgs e)

4

2 回答 2

1

看起来提交队列有问题。

查看 Sitecore“Datafolder”目录中的“Submit Queue”文件夹。删除错误的文件并检查文件权限。

于 2015-06-04T14:45:47.753 回答
0

在我的情况下(我正在运行 Sitecore 9),构面类型也发生了变化,一些旧的构面对象仍然在磁盘上的 ~\Website\App_Data\Submit Queue 文件夹中序列化。删除该文件夹中的文件后,问题得到解决。Sitecore 存储 facet 对象的原因是,如果 xConnect 由于某种原因不可用,则当前会话将被序列化(包括联系人信息和 facet)并写入 ~\Website\App_Data\Submit Queue 文件夹。Sitecore 然后以一定的时间间隔重试将此会话数据发送到 xConnect。

于 2019-05-08T13:30:31.397 回答