Profile Picture

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

Posted By Oliver Münchow 8 Years Ago

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

Author
Message
Oliver Münchow
hazard Posted 8 Years Ago
View Quick Profile
Junior Member

Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)

Group: Forum Members
Last Active: 7 Years Ago
Posts: 10, Visits: 2
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.

Oliver Münchow
Posted 8 Years Ago
View Quick Profile
Junior Member

Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)

Group: Forum Members
Last Active: 7 Years Ago
Posts: 10, Visits: 2
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.

Nevron Support
Posted 8 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,114 reputation)Supreme Being (4,114 reputation)Supreme Being (4,114 reputation)Supreme Being (4,114 reputation)Supreme Being (4,114 reputation)Supreme Being (4,114 reputation)Supreme Being (4,114 reputation)Supreme Being (4,114 reputation)Supreme Being (4,114 reputation)

Group: Forum Members
Last Active: 16 hours ago
Posts: 2,976, Visits: 3,433
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.

Best Regards,
Nevron Support Team



Nevron Support
Posted 8 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,114 reputation)Supreme Being (4,114 reputation)Supreme Being (4,114 reputation)Supreme Being (4,114 reputation)Supreme Being (4,114 reputation)Supreme Being (4,114 reputation)Supreme Being (4,114 reputation)Supreme Being (4,114 reputation)Supreme Being (4,114 reputation)

Group: Forum Members
Last Active: 16 hours ago
Posts: 2,976, Visits: 3,433
You should now be able to download the new sp - build version: 13.5.15.12

Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic