CUAHSI / CUAHSI/HydroDesktop

Unhandled Exception

Open
#176 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

geoprasad[CodePlex]
Version: 1.6.13.2
Description:
Error: System.ArgumentException: Parameter is not valid.
at System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)
at DotSpatial.Data.InRamImageData.Open()
at DotSpatial.Data.DotNetImageProvider.DotSpatial.Data.IDataProvider.Open(String fileName)

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 with DotSpatial.Data.InRamImageData.Open() and follow the reported call path through DotNetImageProvider.Open, DataManager.OpenFile, and Map.AddLayers. The report gives no input file, reproduction steps, named source files, tests, or acceptance criteria, so the expected fix and definition of done cannot be determined from the issue alone.

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.