CUAHSI / CUAHSI/HydroDesktop

Unhandled Exception

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

LucADunoyer[CodePlex]
Version: 1.6.13.2
Description:
Error: System.Data.SyntaxErrorException: Syntax error in the expression.
at System.Data.ExpressionParser.Parse()
at System.Data.DataExpression..ctor(DataTable table, String expression, Type type)

at System.Data.Select..ctor(DataTable table, String filterExpression, String sort, DataViewRowState recordStates)

at System.Data.DataTable.Select(String filterExpression)
at SeriesView.SeriesSelector.SetupDatabase()
at SeriesView.SeriesSelector.RefreshSelection()
at HydroDesktop.DataDownload.DataDownloadPlugin.DownloadManager_Completed(Object sender, RunWorkerCompletedEventArgs e) in g:\TeamCity\buildAgent\work\e54ee16d10a0068\Source\DataDownload\DataDownload\DataDownloadPlugin.cs:line 759

at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at HydroDesktop.DataDownload.Downloading.DownloadManager.RaiseCompletedEvent(RunWorkerCompletedEventArgs e) in g:\TeamCity\buildAgent\work\e54ee16d10a0068\Source\DataDownload\DataDownload\Downloading\DownloadManager.cs:line 237

at HydroDesktop.DataDownload.Downloading.DownloadManager._worker_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e) in g:\TeamCity\buildAgent\work\e54ee16d10a0068\Source\DataDownload\DataDownload\Downloading\DownloadManager.cs:line 229

at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)

at System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with DataDownloadPlugin.cs at line 759 and trace the completion path through DownloadManager.cs lines 229 and 237. Then inspect SeriesView.SeriesSelector.RefreshSelection and SetupDatabase, where the stack trace reports the DataTable.Select syntax error. Done means identifying a reproducible failing expression and preventing the unhandled exception, with a regression test if the project provides one.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
data, 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.