hillsh_47

GeoHMS cannot generate a project

Discussion created by hillsh_47 on Oct 27, 2010
Latest reply on Mar 14, 2012 by vsfoote
I can't generate a project with GeoHMS - get the following error sequence:

1. errorException from HRESULT: 0x80040215
2. System.NullReferenceException: Object reference not set an instance of an object.
at ESRI.ArcGIS.Geometry.IRelationalOperator.Equals(IGeometry other)
at HECGEOHMS9.HMSFunctions.WshDelineateFromPointAndAggWsh(IWorkspace pWS, IGeoDataset pGeoFlowDir, IGeoDataset pGeoStreamGrid, IPoint& pPoint, IMxApplication pApp, IFeatureClasspWshFC, IFeatureClass pAggWshFC, String sWshIDFld, String sAggWshIDFld, Double dSnapDist)

3. Problem delineating watershed!

I am running Windows 7 x64, ArcGIS 9.3, and latest versions (as of Oct 25 2010) for AppFramework, ArcHydro and GeoHMS.

I have seen some threads indicating that this error may be due to some datasets not having spatial references set, but all of my datasets have spatial references.  Also, on the same map and with the same datasets I can use the ArcHydro Delineate Watersheds tool to delineate a watershed at the same Project Point.

Does anyone have any ideas?  I would love to be able to debug this using the geoprocessing sdk and Visual Studio but there is no source posted anywhere...

Outcomes