Здравствуйте. Когда нажимаю на вкладку "Отчеты", всплывает табличка "Критическая ошибка", которую можно только закрыть. В чем может быть проблема? Вчера все было в порядке.
System.InvalidOperationException: Failed to read player's statistics data from the database. Please, rebuild stats or create new database. ---> ProtoBuf.ProtoException: Sub-message not read correctly
at ProtoBuf.ProtoReader.EndSubItem(SubItemToken token, ProtoReader reader)
at ProtoBuf.ProtoReader.ReadTypedObject(Object value, Int32 key, ProtoReader reader, Type type)
at proto_214(Object , ProtoReader )
at ProtoBuf.ProtoReader.ReadTypedObject(Object value, Int32 key, ProtoReader reader, Type type)
at proto_212(Object , ProtoReader )
at ProtoBuf.ProtoReader.ReadTypedObject(Object value, Int32 key, ProtoReader reader, Type type)
at proto_210(Object , ProtoReader )
at ProtoBuf.ProtoReader.ReadTypedObject(Object value, Int32 key, ProtoReader reader, Type type)
at proto_206(Object , ProtoReader )
at ProtoBuf.Meta.TypeModel.DeserializeCore(ProtoReader reader, Type type, Object value, Boolean noAutoCreate)
at ProtoBuf.Meta.TypeModel.Deserialize(Stream source, Object value, Type type, SerializationContext context)
at ProtoBuf.Serializer.Deserialize[T](Stream source)
at Common.ProtoHelper.Deserialize[T](Byte[] bytes)
at Common.ProtoHelper.Deserialize[T](Byte[] bytes, RuntimeTypeModel model)
at Hand2NoteCore.Database.PsdFromDatabaseProvider.GetPsd(Object[] pdiArray, Int32& bytesCount, Boolean ignoreReportData, RuntimeTypeModel psdProtoModel)
--- End of inner exception stack trace ---
at Hand2NoteCore.Database.PsdFromDatabaseProvider.GetPsd(Object[] pdiArray, Int32& bytesCount, Boolean ignoreReportData, RuntimeTypeModel psdProtoModel)
at Hand2NoteCore.Database.PsdFromDatabaseProvider.GetPsd(NicknameRoom player)
at Hand2NoteCore.Database.PsdCache.LoadItem(NicknameRoom player)
at Common.KeyValueCache`2.GetItem(TKey key)
at Hand2NoteCore.Database.PsdCache.GetPsd(NicknameRoom player)
at Hand2NoteCore.Database.AliasHelper.GetPlayersPsd(List`1 players)
at Hand2NoteCore.Database.AliasHelper.<>c__DisplayClass0_0.<GetPlayersPsdAsync>b__0()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Hand2NoteCore.Database.AliasHelper.<GetPlayersPsdAsync>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Hand2NoteCore.DataView.ReportsWindowViewModel.<OnSelectedPlayersChanged>d__53.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Inner exception
ProtoBuf.ProtoException: Sub-message not read correctly
at ProtoBuf.ProtoReader.EndSubItem(SubItemToken token, ProtoReader reader)
at ProtoBuf.ProtoReader.ReadTypedObject(Object value, Int32 key, ProtoReader reader, Type type)
at proto_214(Object , ProtoReader )
at ProtoBuf.ProtoReader.ReadTypedObject(Object value, Int32 key, ProtoReader reader, Type type)
at proto_212(Object , ProtoReader )
at ProtoBuf.ProtoReader.ReadTypedObject(Object value, Int32 key, ProtoReader reader, Type type)
at proto_210(Object , ProtoReader )
at ProtoBuf.ProtoReader.ReadTypedObject(Object value, Int32 key, ProtoReader reader, Type type)
at proto_206(Object , ProtoReader )
at ProtoBuf.Meta.TypeModel.DeserializeCore(ProtoReader reader, Type type, Object value, Boolean noAutoCreate)
at ProtoBuf.Meta.TypeModel.Deserialize(Stream source, Object value, Type type, SerializationContext context)
at ProtoBuf.Serializer.Deserialize[T](Stream source)
at Common.ProtoHelper.Deserialize[T](Byte[] bytes)
at Common.ProtoHelper.Deserialize[T](Byte[] bytes, RuntimeTypeModel model)
at Hand2NoteCore.Database.PsdFromDatabaseProvider.GetPsd(Object[] pdiArray, Int32& bytesCount, Boolean ignoreReportData, RuntimeTypeModel psdProtoModel)
Имя параметра: tournamentInfo
в Hand2NoteCore.DataView.ReportFilter.HitsTournament(PlayerTournamentSummary summary, TournamentInfo tournamentInfo)
в Hand2NoteCore.DataView.TournamentsGraphReportViewModel.<>c__DisplayClass7_0.<Update>b__2(PlayerTournamentSummary x)
в System.Linq.Enumerable.WhereListIterator`1.MoveNext()
в System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
в System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
в Hand2NoteCore.DataView.TournamentsGraphReportViewModel.<>c__DisplayClass7_0.<Update>b__0()
в System.Threading.Tasks.Task`1.InnerInvoke()
в System.Threading.Tasks.Task.Execute()
--- Конец трассировка стека из предыдущего расположения, где возникло исключение ---
в System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
в Hand2NoteCore.DataView.TournamentsGraphReportViewModel.<Update>d__7.MoveNext()
--- Конец трассировка стека из предыдущего расположения, где возникло исключение ---
в System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c__DisplayClass2.<ThrowAsync>b__3(Object state)
в System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
в System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Помогите поправить, пожалуйста.