Error when viewing Global Storm Events: Object reference not set to an instance of an object

Product(s): StormCAD, CivilStorm, SewerCAD, SewerGEMS
Version(s): CONNECT Edition
Area: Modeling


When trying to view and change the global storm event for a model, the following error message occurs:

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

at Haestad.Framework.Windows.Forms.Grid.Components.FlexGridControl.ForceRefreshIfNeeded()
at Haestad.StormSewer.Forms.StormEvents.GlobalIDFStormEventsEditorForm.InitializeBindings()
at Haestad.Framework.Windows.Forms.Forms.HaestadForm.InitializeForm()
at Haestad.Framework.Windows.Forms.Forms.HaestadForm.HaestadForm_Load(Object sender, EventArgs e)
at Haestad.StormSewer.Forms.StormEvents.GlobalIDFStormEventsEditorForm.HaestadForm_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


If available, try upgrading to the latest version of the storm-sewer product using the steps in this link: Downloading OpenFlows | Hydraulics and Hydrology software. This has been fixed with a patch on version as well. You can contact Bentley Technical Support to get this patch. 

If that doesn't help, try changing the global storm event in the rainfall runoff alternative. The Global Storm Events dialog is used to assign storms to a given Rainfall Runoff alternative. You can still assign and view the storms for an alternative by looking at the Rainfall Runoff alternative itself.

To do this, go to either the Home or Analysis tab and select Alternatives. You can expand the Rainfall Runoff alternatives and double-click on one to view and set the storm assigned to the alternative.