CUAHSI / CUAHSI/HydroDesktop

ArgumentOutOfRangeException on Data Download

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

Description

twhitvine[CodePlex]
I was following the Elbe Precipitation tutorial from the Documentation page. I was downloading precip data for all sites when I got this error.

System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.

Parameter name: index
at System.Collections.Generic.List`1.get_Item(Int32 index)
at HydroDesktop.DataDownload.Downloading.DownloadManager.DoDownload(Object state) in g:\TeamCity\buildAgent\work\e54ee16d10a0068\Source\DataDownload\DataDownload\Downloading\DownloadManager.cs:line 374

at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)

at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

at System.Threading.ThreadHelper.ThreadStart(Object obj)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in Source\DataDownload\DataDownload\Downloading\DownloadManager.cs at line 374 and reproduce the Elbe Precipitation tutorial's download for all sites. Trace which collection access raises the exception, then verify that the all-sites download completes without the ArgumentOutOfRangeException.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
data, desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.