Критическая ошибка при тестировании статов
-
Повторяющаяся ошибка, каждый раз возникает, если в окне редактора статов нажать "тест". Несколько секунд отображается окошко со списком раздач, попавших под фильтр, после этого такая ошибка. Пробовал и вновб созданные статы, и те, что по дефолту есть в программе
System.AggregateException: Произошла одна или несколько ошибок. ---> System.ArgumentException: Элемент с тем же ключом уже был добавлен.
в System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
в System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add) в Hand2NoteCore.ActionSubsBuilder.BuildSubs(List
1 streetDatas)
в Hand2NoteCore.Analyzing.HandAnalyzer..ctor(K hand, IActionHitsStatRanges iActionHitsStatRanges)
в Hand2NoteCore.FilterCheckHelper.CheckFilter(FilterCheckProxy filter, K hand, IActionHitsStatRanges iActionHitsStatRanges)
в Hand2NoteCore.FilterCheckHelper.A.A(K )
в System.Linq.Parallel.ForAllOperator1.ForAllEnumerator
1.MoveNext(TInput& currentElement, Int32& currentKey)
в System.Linq.Parallel.ForAllSpoolingTask2.SpoolingWork() в System.Linq.Parallel.SpoolingTaskBase.Work() в System.Linq.Parallel.QueryTask.BaseWork(Object unused) в System.Threading.Tasks.Task.Execute() --- Конец трассировки внутреннего стека исключений --- в System.Linq.Parallel.QueryTaskGroupState.QueryEnd(Boolean userInitiatedDispose) в System.Linq.Parallel.DefaultMergeHelper
2.System.Linq.Parallel.IMergeHelper<TInputOutput>.Execute()
в System.Linq.Parallel.MergeExecutor1.Execute[TKey](PartitionedStream
2 partitions, Boolean ignoreOutput, ParallelMergeOptions options, TaskScheduler taskScheduler, Boolean isOrdered, CancellationState cancellationState, Int32 queryId)
в System.Linq.Parallel.PartitionedStreamMerger1.Receive[TKey](PartitionedStream
2 partitionedStream)
в System.Linq.Parallel.ForAllOperator1.WrapPartitionedStream[TKey](PartitionedStream
2 inputStream, IPartitionedStreamRecipient1 recipient, Boolean preferStriping, QuerySettings settings) в System.Linq.Parallel.UnaryQueryOperator
2.UnaryQueryOperatorResults.ChildResultsRecipient.Receive[TKey](PartitionedStream2 inputStream) в System.Linq.Parallel.ScanQueryOperator
1.ScanEnumerableQueryOperatorResults.GivePartitionedStream(IPartitionedStreamRecipient1 recipient) в System.Linq.Parallel.UnaryQueryOperator
2.UnaryQueryOperatorResults.GivePartitionedStream(IPartitionedStreamRecipient1 recipient) в System.Linq.Parallel.QueryOperator
1.GetOpenedEnumerator(Nullable1 mergeOptions, Boolean suppressOrder, Boolean forEffect, QuerySettings querySettings) в System.Linq.Parallel.ForAllOperator
1.RunSynchronously()
в Hand2NoteCore.FilterCheckHelper.CheckHands(FilterCheckProxy filter, IEnumerable1 hands, IFilterCheckObserver observer, CancellationToken cancellationToken, IRegHelper iRegHelper, IActionHitsStatRanges iActionHitsStatRanges) в Hand2NoteCore.FilterEditor.TestFilterViewModel.B() в System.Threading.Tasks.Task.Execute() --- Конец трассировка стека из предыдущего расположения, где возникло исключение --- в System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) в Hand2NoteCore.FilterEditor.TestFilterViewModel.A.MoveNext() --- Конец трассировка стека из предыдущего расположения, где возникло исключение --- в System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() в 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) ---> (Внутреннее исключение #0) System.ArgumentException: Элемент с тем же ключом уже был добавлен. в System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) в System.Collections.Generic.Dictionary
2.Insert(TKey key, TValue value, Boolean add)
в Hand2NoteCore.ActionSubsBuilder.BuildSubs(List1 streetDatas) в Hand2NoteCore.Analyzing.HandAnalyzer..ctor(K hand, IActionHitsStatRanges iActionHitsStatRanges) в Hand2NoteCore.FilterCheckHelper.CheckFilter(FilterCheckProxy filter, K hand, IActionHitsStatRanges iActionHitsStatRanges) в Hand2NoteCore.FilterCheckHelper.A.A(K ) в System.Linq.Parallel.ForAllOperator
1.ForAllEnumerator1.MoveNext(TInput& currentElement, Int32& currentKey) в System.Linq.Parallel.ForAllSpoolingTask
2.SpoolingWork()
в System.Linq.Parallel.SpoolingTaskBase.Work()
в System.Linq.Parallel.QueryTask.BaseWork(Object unused)
в System.Threading.Tasks.Task.Execute()<---Inner exception
System.ArgumentException: Элемент с тем же ключом уже был добавлен.
в System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
в System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add) в Hand2NoteCore.ActionSubsBuilder.BuildSubs(List
1 streetDatas)
в Hand2NoteCore.Analyzing.HandAnalyzer..ctor(K hand, IActionHitsStatRanges iActionHitsStatRanges)
в Hand2NoteCore.FilterCheckHelper.CheckFilter(FilterCheckProxy filter, K hand, IActionHitsStatRanges iActionHitsStatRanges)
в Hand2NoteCore.FilterCheckHelper.A.A(K )
в System.Linq.Parallel.ForAllOperator1.ForAllEnumerator
1.MoveNext(TInput& currentElement, Int32& currentKey)
в System.Linq.Parallel.ForAllSpoolingTask`2.SpoolingWork()
в System.Linq.Parallel.SpoolingTaskBase.Work()
в System.Linq.Parallel.QueryTask.BaseWork(Object unused)
в System.Threading.Tasks.Task.Execute()
-
Добрый день.
Это известный баг.
Если У Вас есть в базе руки из приложений при тестировании стат программа будет вылетать. Для тестов статов создайте новую отдельную базу данных , где будут только руки из евро румов(PokerStars/WPN/888/Chico/Winamax) http://hand2note.com/Help/ru/pages/Database/#создание-новой-базы