CUAHSI / CUAHSI/HydroDesktop

Unhandled Exception

Open
#197 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

CodePlex
Dominant language
C#
Stars
76
Forks
21
PR merge metrics
No merged PRs in 30d

Description

michaeldurand[CodePlex]
Version: 1.6.13.2
Description: Clicked on quotDeterministic Methodsquot in the interpolation tool tab.
Error: System.InvalidCastException: Unable to cast object of type 'DotSpatial.Data.InRamImageData' to type 'DotSpatial.Data.IFeatureSet'.

at GeostatisticalTool.Classes.ConfigurationMethod.UpdataLayer()
at GeostatisticalTool.Classes.ConfigurationMethod..ctor(Map map, ListBox method, ComboBox layer, ComboBox field)

at GeostatisticalTool.Forms.DeterministicMethods.DeterministicMethods_Load(Object sender, EventArgs e)

at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Messageamp m)
at System.Windows.Forms.Control.WndProc(Messageamp m)
at System.Windows.Forms.Form.WndProc(Messageamp m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the report by opening the interpolation tool and clicking “Deterministic Methods.” Start with GeostatisticalTool.Classes.ConfigurationMethod.UpdataLayer and its constructor, then trace the load path from DeterministicMethods_Load. Done means the reported scenario no longer raises the InvalidCastException when the tab opens.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.