Issue
@JonBrodziak reported:
There is a problem with the AGEPRO Gui.
I tested each of the three projection examples in the release.
Of these, example 1 ran correctly while example 2 and example 3
produced run-time errors. The error messages were
"An error occurred when launching the AGEPRO Model.
System.NullReferenceExceptions: Stochastic Age of
[SSB_WEIGHT] is NULL ...".
Details
By design, the Weights of age and CV data tables are nullified (in GUI form and data) if that Stochastic Weight of Age "uses" another Weight of Age.
Based on initial tests on the RC1 codebase, the error @JonBrodziak reported is caused by running NULL error checks (implemented on nmfs-ost/AGEPRO-CoreLib@b12d763) before checking if the Stochastic Weight of Age is "using" another "Weight of Age" as data.
This also affects from file options (both Stochastic and Stochastic Weights of Age).
Solution
Issue
@JonBrodziak reported:
Details
By design, the Weights of age and CV data tables are nullified (in GUI form and data) if that Stochastic Weight of Age "uses" another Weight of Age.
Based on initial tests on the RC1 codebase, the error @JonBrodziak reported is caused by running NULL error checks (implemented on nmfs-ost/AGEPRO-CoreLib@b12d763) before checking if the Stochastic Weight of Age is "using" another "Weight of Age" as data.
This also affects from file options (both Stochastic and Stochastic Weights of Age).
Solution