I'm using version 8.1 of the ultracalcmanager and i'm receiving the following exceptions before any functions are performed by the calcmanager.
Can anyone tell me why this should be the case???
A first chance exception of type 'PerCederberg.Grammatica.Parser.ParseException' occurred in Infragistics2.Win.UltraWinCalcManager.v8.1.dllA first chance exception of type 'PerCederberg.Grammatica.Parser.ParserLogException' occurred in Infragistics2.Win.UltraWinCalcManager.v8.1.dllA first chance exception of type 'Infragistics.Win.CalcEngine.UltraCalcException' occurred in Infragistics2.Win.UltraWinCalcManager.v8.1.dllA first chance exception of type 'PerCederberg.Grammatica.Parser.ParseException' occurred in Infragistics2.Win.UltraWinCalcManager.v8.1.dllA first chance exception of type 'PerCederberg.Grammatica.Parser.ParserLogException' occurred in Infragistics2.Win.UltraWinCalcManager.v8.1.dllA first chance exception of type 'Infragistics.Win.CalcEngine.UltraCalcException' occurred in Infragistics2.Win.UltraWinCalcManager.v8.1.dllA first chance exception of type 'PerCederberg.Grammatica.Parser.ParseException' occurred in Infragistics2.Win.UltraWinCalcManager.v8.1.dllA first chance exception of type 'PerCederberg.Grammatica.Parser.ParserLogException' occurred in Infragistics2.Win.UltraWinCalcManager.v8.1.dllA first chance exception of type 'Infragistics.Win.CalcEngine.UltraCalcException' occurred in Infragistics2.Win.UltraWinCalcManager.v8.1.dllA first chance exception of type 'PerCederberg.Grammatica.Parser.ParseException' occurred in Infragistics2.Win.UltraWinCalcManager.v8.1.dllA first chance exception of type 'PerCederberg.Grammatica.Parser.ParserLogException' occurred in Infragistics2.Win.UltraWinCalcManager.v8.1.dllA first chance exception of type 'Infragistics.Win.CalcEngine.UltraCalcException' occurred in Infragistics2.Win.UltraWinCalcManager.v8.1.dllA first chance exception of type 'PerCederberg.Grammatica.Parser.ParseException' occurred in Infragistics2.Win.UltraWinCalcManager.v8.1.dllA first chance exception of type 'PerCederberg.Grammatica.Parser.ParserLogException' occurred in Infragistics2.Win.UltraWinCalcManager.v8.1.dllA first chance exception of type 'Infragistics.Win.CalcEngine.UltraCalcException' occurred in Infragistics2.Win.UltraWinCalcManager.v8.1.dllA first chance exception of type 'PerCederberg.Grammatica.Parser.ParseException' occurred in Infragistics2.Win.UltraWinCalcManager.v8.1.dllA first chance exception of type 'PerCederberg.Grammatica.Parser.ParserLogException' occurred in Infragistics2.Win.UltraWinCalcManager.v8.1.dllA first chance exception of type 'Infragistics.Win.CalcEngine.UltraCalcException' occurred in Infragistics2.Win.UltraWinCalcManager.v8.1.dllA first chance exception of type 'PerCederberg.Grammatica.Parser.ParseException' occurred in Infragistics2.Win.UltraWinCalcManager.v8.1.dllA first chance exception of type 'PerCederberg.Grammatica.Parser.ParserLogException' occurred in Infragistics2.Win.UltraWinCalcManager.v8.1.dllA first chance exception of type 'Infragistics.Win.CalcEngine.UltraCalcException' occurred in Infragistics2.Win.UltraWinCalcManager.v8.1.dllA first chance exception of type 'PerCederberg.Grammatica.Parser.ParseException' occurred in Infragistics2.Win.UltraWinCalcManager.v8.1.dllA first chance exception of type 'PerCederberg.Grammatica.Parser.ParserLogException' occurred in Infragistics2.Win.UltraWinCalcManager.v8.1.dllA first chance exception of type 'Infragistics.Win.CalcEngine.UltraCalcException' occurred in Infragistics2.Win.UltraWinCalcManager.v8.1.dllA first chance exception of type 'PerCederberg.Grammatica.Parser.ParseException' occurred in Infragistics2.Win.UltraWinCalcManager.v8.1.dllA first chance exception of type 'PerCederberg.Grammatica.Parser.ParserLogException' occurred in Infragistics2.Win.UltraWinCalcManager.v8.1.dllA first chance exception of type 'Infragistics.Win.CalcEngine.UltraCalcException' occurred in Infragistics2.Win.UltraWinCalcManager.v8.1.dllA first chance exception of type 'PerCederberg.Grammatica.Parser.ParseException' occurred in Infragistics2.Win.UltraWinCalcManager.v8.1.dllA first chance exception of type 'PerCederberg.Grammatica.Parser.ParserLogException' occurred in Infragistics2.Win.UltraWinCalcManager.v8.1.dllA first chance exception of type 'Infragistics.Win.CalcEngine.UltraCalcException' occurred in Infragistics2.Win.UltraWinCalcManager.v8.1.dllA first chance exception of type 'PerCederberg.Grammatica.Parser.ParseException' occurred in Infragistics2.Win.UltraWinCalcManager.v8.1.dllA first chance exception of type 'PerCederberg.Grammatica.Parser.ParserLogException' occurred in Infragistics2.Win.UltraWinCalcManager.v8.1.dllA first chance exception of type 'Infragistics.Win.CalcEngine.UltraCalcException' occurred in Infragistics2.Win.UltraWinCalcManager.v8.1.dllA first chance exception of type 'PerCederberg.Grammatica.Parser.ParseException' occurred in Infragistics2.Win.UltraWinCalcManager.v8.1.dllA first chance exception of type 'PerCederberg.Grammatica.Parser.ParserLogException' occurred in Infragistics2.Win.UltraWinCalcManager.v8.1.dllA first chance exception of type 'Infragistics.Win.CalcEngine.UltraCalcException' occurred in Infragistics2.Win.UltraWinCalcManager.v8.1.dll
Many thanks.
These are all FirstChanceException. That means that they are happening inside the CalcManager code and are being caught. So the only reason you would see these exceptions is if you set the Visual Studio IDE to break on all exceptions, even the ones that are handled.
Normally, these types of exceptions are nothing to worry about, but so many of them could cause a problem with performance. I can only guess why they are occurring without being able to debug them myself. These errors seem to be ocurring during the parting of formulas. So my best guess is that these indicate syntax errors in some of the formulas you in your application.
Thanks for the reply Mike.
To cut a long story short the app performs calculations on user-entered values. So the calc engine uses the calculate function on text they've entered. Is there any way (without catching the exception) to spot a user-error before the exception is generated? I have ALOT of these calcs to do all at once and the performance IS effected as you mentioned. The text being thrown into the seperate calcs is quite free-form. (i.e. 2/3+43*5*sin()) etc. etc.