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.
I don't think there's anything you can do here. If you try to calculate a formula with a syntax error in it, it's going to generate an error at some point. That's how the CalcManager knows it's not valid.
I have the same issue, but in my case the execution ends with:
A first chance exception of type 'PerCederberg.Grammatica.Parser.ParseException' occurred in Athena.Infragistics.Win.UltraWinCalcManager.dll
The program '[2288] Athena.Aura.Core.vshost.exe: Managed (v4.0.30319)' has exited with code -2147023895 (0x800703e9).
That happen when the solution has been built in x64. Could anyone help me please?
Hello Jose,
Could you please tell me what is your current version and do you have any installed service release and which exactly. Are you able to upload small sample that reproduce this issue. I`ll be glad to research it for you.
Let me know if you have any questions.
Hello Georgi,
The version is 11.2.2135. To reproduce the issue try writing a formula by linking if clauses, around the 13th clause I get the error. This doesn't happen copying directly a large formula, must be writing it.
Thanks for your help.
Jose
were you able to reproduce Jose's issue?
Thank you,
Alvaro.