NFormulaEngine.Variables.Add() throws exception since version 13.2.4.12


https://www.nevron.com/Forum/Topic7546.aspx
Print Topic | Close Window

By Oliver Münchow - 8 Years Ago
Currently i switched from version 11.12.14.12 to version 13.2.4.12 and i encounter a problem by using the NFormulaEngine.

The problem can simply be reproduced:

- Take the example code from your help site: http://helpdotnetvision.nevron.com/System_FormulaEngine_Formula_Engine.html
- Execute it.
- At engine.Variables.Add() an System.Exception with the message "Cannot compare a variant with null variant" will be thrown.

By simply switching back to the old version the problem is gone, but that's not the kind of workaround i like to do.
By Oliver Münchow - 8 Years Ago
After getting no feedback from Nevron not here nor by email i just tested out the latest version 13.4.29.12, but the problem still occurs.
By Nevron Support - 8 Years Ago
The problem occurs because the == operator was defined for the NVariant class, but we did not check for nulls. The problem is fixed and the fix will appear in the next service pack.
By Nevron Support - 8 Years Ago
You should now be able to download the new sp - build version: 13.5.15.12