estherbelle1

flow direction with streams error

Discussion created by estherbelle1 on Feb 23, 2012
Latest reply on May 10, 2012 by fernandocabral
I am trying to use the flow direction with streams function using an existing stream layer.  I am recieving the error message below.

System.NullReferenceException: Object reference not set to an instance of an object.
   at ESRI.APWR.ApHydro.ArcHydroOp.FlowDirectionWithStreams(ApLayers apLayers, Double stepsize, Double startElevation, ITrackCancel& trackcancel, IGPMessages& messages, String& exMessage)
System.NullReferenceException: Object reference not set to an instance of an object.
   at ESRI.APWR.ApHydro.ArcHydroOp.FlowDirectionWithStreams(ApLayers apLayers, Double stepsize, Double startElevation, ITrackCancel& trackcancel, IGPMessages& messages, String& exMessage)
Failed to execute (FlowDirectionWithStreams).
End Time: Thu Feb 23 07:44:33 2012 (Elapsed Time: 4.00 seconds)

My stream vector layer's attribute table does have flow direction 1 field and I created hydroID, from node to node, and next downID from the attribute tools.  Does anyone have any advice or info. for me?

Thanks,
Heather

Outcomes