Problems with using 3D Length - crash or "Unexpected Node element type"

Product(s): CivilStorm, SewerGEMS, WaterGEMS, WaterCAD, HAMMER
Version(s): CONNECT Edition
Area: Modeling

Problem

When using the 3D Length option, validating a model or opening a profile in SewerGEMS or CivilStorm results in the following error:

System.IndexOutOfRangeException: Unexpected node element type.

at Haestad.Delaware.ModelingObjects.Dynamic.DelawarePipe3DLengthResultField.GetElevationForNode(Int32 nodeID)
 ...


Or, when using the 3D length option in WaterGEMS or WaterCAD, performing certain operations such as running the "find shortest path" Network Navigator query results in a crash with the following details:

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

at Haestad.Domain.ModelingObjects.Water.IdahoPipe3DLengthResultField.GetValuesBasic(HmIDCollection ids, Int32 scenarioID)

...

Solution

This error message can be caused when "Use 3D Length?" is set to True in the Hydraulic Model tab of the Options dialog. Go to File > Options, choose the Hydraulic Model tab and set "Use 3D Length?" to False to resolve the issue. In most cases there should result in very little difference in pipe lengths unless extreme elevation differences are seen between end nodes.

The case of this occurring when validating a model in SewerGEMS or CivilStorm has been resolved in the CONNECT Edition, so upgrading is recommended. The issue when opening a profile is still an issue as of version 10.03.04.53 and is planned to be address in CONNECT Edition Update 4 (reference # 873182.)

For the case of WaterGEMS and the "Object reference..." error, this is still an issue as of 10.04.00.108 and is planned to be addressed in a future version (reference # 1040117)

Recommended
Related