Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
505
System.IndexOutOfRangeException thrown by CalcEngine in Grid
posted

We have a grid with grouped totals enabled, and occasionally (perhaps once every few days) one of our users gets the below exception thrown. The stack trace indicates a possible bug in the CalcEngine code. Any assistance on understanding and helping solve this issue will be appreciated. Thanks.

 

Message: Index was outside the bounds of the array.

Type: System.IndexOutOfRangeException

Source: mscorlib

TargetSite: Void Insert(TKey, TValue, Boolean)

StackTrace:    at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)

   at Infragistics.Win.CalcEngine.UCRecalcChain.HSparseArray.SetOwnerData(Object item, Object ownerData)

   at Infragistics.Shared.SparseArray.InsertRange(Int32 index, ICollection items)

   at Infragistics.Shared.SparseArray.Sort(IComparer comparer)

   at Infragistics.Win.CalcEngine.UltraCalcEngine.TopologicalSort()

   at Infragistics.Win.CalcEngine.UltraCalcEngine.ClearDirtyChainAndDoTopologicalSort(Boolean isStartOfRecalcOperation)

   at Infragistics.Win.CalcEngine.UltraCalcEngine.Recalc(Int64 ticks, Boolean isStartOfRecalcOperation)

   at Infragistics.Win.UltraWinCalcManager.UltraCalcManager.ReCalcInternal(Int64 ticks)

   at Infragistics.Win.UltraWinCalcManager.UltraCalcManager.ReCalc(Int64 millis)

   at Infragistics.Win.UltraWinCalcManager.UltraCalcManager.onTimerTick(Object sender, EventArgs e)

   at System.Windows.Forms.Timer.OnTick(EventArgs e)

   at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)

   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Parents
No Data
Reply Children