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
275
Infragistic 7.1 Exception when doing calculation...
posted

Hi,

I have assigned a UltraWinCalcManager to a WinGrid to calculate a Weighted Average of a column.

I have set the CalcFrequency to 'Manual'. The calculation is triggered by the following code...

cm.DirtyAllFormulas(); cm.ReCalc(); where cm is a CalcManager.

So my problem is, sometimes when I trigger the calculation, I get the following exception.

<Message>Object reference not set to an instance of an object.</Message>
  <Source>Infragistics2.Win.UltraWinCalcManager.v7.1</Source>
  <HelpLink />
  <Property name="Data">System.Collections.ListDictionaryInternal</Property>
  <Property name="TargetSite">Boolean CleanTopologicalEventQueue(Int64)</Property>

   at Infragistics.Win.CalcEngine.UltraCalcEngine.CleanTopologicalEventQueue(Int64 ticks)
   at Infragistics.Win.CalcEngine.UltraCalcEngine.Recalc(Int64 ticks)
   at Infragistics.Win.UltraWinCalcManager.UltraCalcManager.ReCalcInternal(Int64 ticks)
   at Infragistics.Win.UltraWinCalcManager.UltraCalcManager.ReCalc(Int64 millis)
   at Infragistics.Win.UltraWinCalcManager.UltraCalcManager.ReCalc()

Is this a bug? is there any hot fixes for this?

This does happen randomly since I don't get this everytime.

 

Kai