Join Date: Apr 2021
Posts: 71
When using the status editor and clicking "test", sometimes a Critical Error pops up like below:
------------------------------
System.AggregateException: 发生一个或多个错误。 ---> System.ArgumentException: 已添加了具有相同键的项。
在 System.ThrowHelper.ThrowArgumentException(Exceptio nResource resource)
在 System.Collections.Generic.Dictionary`2.Insert(TKe y key, TValue value, Boolean add)
在 Hand2NoteCore.ActionSubsBuilder.BuildSubs(List`1 streetDatas)
在 Hand2NoteCore.Analyzing.HandAnalyzer..ctor(K hand, IActionHitsStatRanges iActionHitsStatRanges)
在 Hand2NoteCore.FilterCheckHelper.CheckFilter(Filter CheckProxy filter, K hand, IActionHitsStatRanges iActionHitsStatRanges)
在 Hand2NoteCore.FilterCheckHelper.A.A(K )
在 System.Linq.Parallel.ForAllOperator`1.ForAllEnumer ator`1.MoveNext(TInput& currentElement, Int32& currentKey)
在 System.Linq.Parallel.ForAllSpoolingTask`2.Spooling Work()
在 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.L inq.Parallel.IMergeHelper<TInputOutput>.Execute()
在 System.Linq.Parallel.MergeExecutor`1.Execute[TKey](PartitionedStream`2 partitions, Boolean ignoreOutput, ParallelMergeOptions options, TaskScheduler taskScheduler, Boolean isOrdered, CancellationState cancellationState, Int32 queryId)
在 System.Linq.Parallel.PartitionedStreamMerger`1.Rec eive[TKey](PartitionedStream`2 partitionedStream)
在 System.Linq.Parallel.ForAllOperator`1.WrapPartitio nedStream[TKey](PartitionedStream`2 inputStream, IPartitionedStreamRecipient`1 recipient, Boolean preferStriping, QuerySettings settings)
在 System.Linq.Parallel.UnaryQueryOperator`2.UnaryQue ryOperatorResults.ChildResultsRecipient.Receive[TKey](PartitionedStream`2 inputStream)
在 System.Linq.Parallel.ScanQueryOperator`1.ScanEnume rableQueryOperatorResults.GivePartitionedStream(IP artitionedStreamRecipient`1 recipient)
在 System.Linq.Parallel.UnaryQueryOperator`2.UnaryQue ryOperatorResults.GivePartitionedStream(IPartition edStreamRecipient`1 recipient)
在 System.Linq.Parallel.QueryOperator`1.GetOpenedEnum erator(Nullable`1 mergeOptions, Boolean suppressOrder, Boolean forEffect, QuerySettings querySettings)
在 System.Linq.Parallel.ForAllOperator`1.RunSynchrono usly()
在 Hand2NoteCore.FilterCheckHelper.CheckHands(FilterC heckProxy filter, IEnumerable`1 hands, IFilterCheckObserver observer, CancellationToken cancellationToken, IRegHelper iRegHelper, IActionHitsStatRanges iActionHitsStatRanges)
在 Hand2NoteCore.FilterEditor.TestFilterViewModel.B()
在 System.Threading.Tasks.Task.Execute()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.ExceptionServices.ExceptionDispatch Info.Throw()
在 System.Runtime.CompilerServices.TaskAwaiter.Handle NonSuccessAndDebuggerNotification(Task task)
在 Hand2NoteCore.FilterEditor.TestFilterViewModel.A.M oveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.ExceptionServices.ExceptionDispatch Info.Throw()
在 System.Windows.Threading.ExceptionWrapper.Internal RealCall(Delegate callback, Object args, Int32 numArgs)
在 System.Windows.Threading.ExceptionWrapper.TryCatch When(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
---> (内部异常 #0) System.ArgumentException: 已添加了具有相同键的项。
在 System.ThrowHelper.ThrowArgumentException(Exceptio nResource resource)
在 System.Collections.Generic.Dictionary`2.Insert(TKe y key, TValue value, Boolean add)
在 Hand2NoteCore.ActionSubsBuilder.BuildSubs(List`1 streetDatas)
在 Hand2NoteCore.Analyzing.HandAnalyzer..ctor(K hand, IActionHitsStatRanges iActionHitsStatRanges)
在 Hand2NoteCore.FilterCheckHelper.CheckFilter(Filter CheckProxy filter, K hand, IActionHitsStatRanges iActionHitsStatRanges)
在 Hand2NoteCore.FilterCheckHelper.A.A(K )
在 System.Linq.Parallel.ForAllOperator`1.ForAllEnumer ator`1.MoveNext(TInput& currentElement, Int32& currentKey)
在 System.Linq.Parallel.ForAllSpoolingTask`2.Spooling Work()
在 System.Linq.Parallel.SpoolingTaskBase.Work()
在 System.Linq.Parallel.QueryTask.BaseWork(Object unused)
在 System.Threading.Tasks.Task.Execute()<---
Inner exception
System.ArgumentException: 已添加了具有相同键的项。
在 System.ThrowHelper.ThrowArgumentException(Exceptio nResource resource)
在 System.Collections.Generic.Dictionary`2.Insert(TKe y key, TValue value, Boolean add)
在 Hand2NoteCore.ActionSubsBuilder.BuildSubs(List`1 streetDatas)
在 Hand2NoteCore.Analyzing.HandAnalyzer..ctor(K hand, IActionHitsStatRanges iActionHitsStatRanges)
在 Hand2NoteCore.FilterCheckHelper.CheckFilter(Filter CheckProxy filter, K hand, IActionHitsStatRanges iActionHitsStatRanges)
在 Hand2NoteCore.FilterCheckHelper.A.A(K )
在 System.Linq.Parallel.ForAllOperator`1.ForAllEnumer ator`1.MoveNext(TInput& currentElement, Int32& currentKey)
在 System.Linq.Parallel.ForAllSpoolingTask`2.Spooling Work()
在 System.Linq.Parallel.SpoolingTaskBase.Work()
在 System.Linq.Parallel.QueryTask.BaseWork(Object unused)
在 System.Threading.Tasks.Task.Execute()
-------------------------------------------------
I have nearly 100K hands in the DB, this message pops up even I use a simple 3bet filter.