Error when validating model in Storm-Sewer products: Object reference not set to an instance of an object.

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


When validating, the following error message is displayed:

"Object reference not set to an instance of an object"


This is a generic error that data that is typically a result of data that is missing or outside of an acceptable range. Here are a few possible strategies and solutions:

  1. Try compacting the database. In CONNECT Edition, go to File > Database Utilities > Compact Database. In V8i, go to Tools > Database Utilities > Compact Database. Once you select the database file, choose the option to purge the model to save space.
  2. Look for cases where a catch basin's gutter shape is set to <None>. If found, assign the gutter shape and try again.
  3. Use the Orphaned Nodes query to help locate elements that were not connected to anything, and remove them.

If the above does not help, try looking for connectivity and other issues using Network Navigator, or contact Technical Support by posting on the OpenFlows Forum.

  Original Author: Craig Calvin