CUAHSI / CUAHSI/HydroDesktop

Unhandled Exception

Open
#150 0 comments 0 reactions 0 assignees View on GitHub
CodePlex
Dominant language
C#
Stars
76
Forks
21
PR merge metrics
No merged PRs in 30d

Description

selimnairb[CodePlex]
Version: 1.6.13.2
Description: Open kml file
Error: System.ApplicationException: The specified file type is not supported.
at DotSpatial.Data.DataManager.OpenFile(String fileName, Boolean inRam, IProgressHandler progressHandler)

at DotSpatial.Data.Forms.DataManagerExt.OpenFiles(IDataManager self)
at DotSpatial.Controls.Map.AddLayers()
at DevExpress.XtraBars.BarItem.OnClick(BarItemLink link)
at DevExpress.XtraBars.BarItemLink.OnLinkClick()
at DevExpress.XtraBars.BarButtonItemLink.OnLinkAction(BarLinkAction action, Object actionArgs)

at DevExpress.XtraBars.ViewInfo.BarSelectionInfo.UnPressLink(BarItemLink link)
at DevExpress.XtraBars.Ribbon.Handler.BaseRibbonHandler.OnUnPressItem(DXMouseEventArgs e, RibbonHitInfo hitInfo)

at DevExpress.XtraBars.Ribbon.Handler.BaseRibbonHandler.OnMouseUp(DXMouseEventArgs e)

at DevExpress.XtraBars.Ribbon.Handler.RibbonHandler.OnMouseUp(DXMouseEventArgs e)

at DevExpress.XtraBars.Ribbon.RibbonControl.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Messageamp m, MouseButtons button, Int32 clicks)

at System.Windows.Forms.Control.WndProc(Messageamp m)
at DevExpress.Utils.Controls.ControlBase.WndProc(Messageamp m)
at DevExpress.XtraBars.Ribbon.RibbonControl.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

Research direction

Start at DotSpatial.Data.DataManager.OpenFile, then follow DataManagerExt.OpenFiles and Map.AddLayers, which are named in the stack trace. Reproduce the failure by opening a KML file and determine what handling is expected for that file type; done means the operation no longer raises the reported unsupported-file-type exception.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.