CUAHSI / HydroDesktop

HydroDesktop is a free and open source GIS enabled desktop application that helps you search for, download, visualize, and analyze hydrologic and climate data registered with the CUAHSI Hydrologic Information System. HydroDesktop is part of the legacy CUAHSI toolkit and is not under active development. Click the "releases" link below to download the latest installer for Microsoft Windows.
73 stars 20 forks source link

Unhandled Exceptions when Opening Interpolation Tools #71

Open xhqiao89 opened 7 years ago

xhqiao89 commented 7 years ago

jpollak[CodePlex]
I encounter Unhandled Exception error messages when clicking either the Geostatisical Methods or Deterministic Methods buttons:

quotUnable to cast object of type 'DotSpatial.Data.InRamImageData' to type 'DotSpatial.Data.IFeatureSet'.quot

xhqiao89 commented 7 years ago

jirikadlec2[CodePlex]
One more detail: The exception occurs if the 'Online basemap' layer is inside a group. It doesn't occur if the 'Online Basemap' is not part of any group.

xhqiao89 commented 7 years ago

jirikadlec2[CodePlex]
Additional details: The exception occurs if 'Online Basemap' layer is in the legend. It doesn't occur if 'Online Basemap' is set to None. After this exception the dialog can't be closed.

xhqiao89 commented 7 years ago

mogikanin[CodePlex]
Steps to reproduce:

Search for All, area - Reno, Kansas Try to open Geostatisical Methods or Deterministic Methods Stack trace: Unable to cast object of type 'DotSpatial.Data.InRamImageData' to type 'DotSpatial.Data.IFeatureSet'. Inner: NULL Stack trace: at GeostatisticalTool.Classes.ConfigurationMethod.UpdataLayer() at GeostatisticalTool.Classes.ConfigurationMethod..ctor(Map map, ListBox method, ListBox output, ComboBox layer, ComboBox field, ComboBox transformation, ComboBox trend, Boolean filter) at GeostatisticalTool.Forms.Interpolators.Interpolators_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.ScrollableControl.WndProc(Message m) at System.Windows.Forms.ContainerControl.WndProc(Message m) at System.Windows.Forms.Form.WmShowWindow(Message m) at System.Windows.Forms.Form.WndProc(Message m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

xhqiao89 commented 7 years ago

jirikadlec2[CodePlex]
possibly related to: http://hydrodesktop.codeplex.com/workitem/8515