Error message when computing model with open profile: Object reference not set to an instance of an object

Product(s): SewerGEMS, CivilStorm, StormCAD, SewerCAD
Version(s): CONNECT Edition Update 3
Area: Output and Reporting

Problem

When computing a model with a profile opening the following error message is generated:

System.NullReferenceException: Object reference not set to an instance of an object.

at Haestad.StormSewer.Application.Profiling.ProfileViewerFormModel.HandleScenarioChanged(Object sender, ScenarioChangedEventArgs e)
at Haestad.Framework.Support.ScenarioManagerChangeHandler.Invoke(Object sender, ScenarioChangedEventArgs e)
at Haestad.Framework.Support.ScenarioEventChannel.OnScenarioChanged(Object aobject, ScenarioChangeType changetype, Int32 scenarioid, Int32 previousScenarioId)
at Haestad.Framework.Support.ScenarioEventChannel.NotifyScenarioChanged(Object aoSender, ScenarioChangeType changetype, Int32 scenarioid)

...

Solution

This issue occurs if the profile is open when you recompute a model. While you may be able to workaround this by closing the profile first, a patch has been created to fix this issue in build 10.03.01.08. Later versions of the storm-sewer products will have this issue fixed already. To download the latest version of the storm-sewer products, see this link: Download OpenFlows Software. To get the patch, please contact the Technical Support Group.

Recommended
Related