#2441 closed defect (done)
RunCollection Chart Aggregation View throws Exception
Reported by: | abeham | Owned by: | abeham |
---|---|---|---|
Priority: | medium | Milestone: | HeuristicLab 3.3.13 |
Component: | Optimization.Views | Version: | 3.3.12 |
Keywords: | Cc: |
Description
Probably opened in the last changes for the release. When the chart aggregation view is open while a batch run is running and producing new solutions an exception is thrown
System.ArgumentException: An item with the same key has already been added. at System.Windows.Forms.Control.EndInvoke(IAsyncResult asyncResult) at HeuristicLab.MainForm.WindowsForms.AsynchronousContentView.Invoke(Delegate method, Object[] args) in c:\Users\P40311\Work\HL3\trunk\sources\HeuristicLab.MainForm.WindowsForms\3.3\Views\AsynchronousContentView.cs:line 56 at HeuristicLab.Optimization.Views.RunCollectionChartAggregationView.Content_UpdateOfRunsInProgressChanged(Object sender, EventArgs e) in c:\Users\P40311\Work\HL3\branches\PerformanceComparison\HeuristicLab.Optimization.Views\3.3\RunCollectionViews\RunCollectionChartAggregationView.cs:line 114 at System.EventHandler.Invoke(Object sender, EventArgs e) at HeuristicLab.Optimization.RunCollection.OnUpdateOfRunsInProgressChanged() in c:\Users\P40311\Work\HL3\branches\PerformanceComparison\HeuristicLab.Optimization\3.3\RunCollection.cs:line 155 at HeuristicLab.Optimization.RunCollection.set_UpdateOfRunsInProgress(Boolean value) in c:\Users\P40311\Work\HL3\branches\PerformanceComparison\HeuristicLab.Optimization\3.3\RunCollection.cs:line 109 at HeuristicLab.Optimization.RunCollection.UpdateFiltering(Boolean reset) in c:\Users\P40311\Work\HL3\branches\PerformanceComparison\HeuristicLab.Optimization\3.3\RunCollection.cs:line 491 at HeuristicLab.Optimization.RunCollection.OnItemsAdded(IEnumerable`1 items) in c:\Users\P40311\Work\HL3\branches\PerformanceComparison\HeuristicLab.Optimization\3.3\RunCollection.cs:line 213
Change History (8)
comment:1 Changed 9 years ago by abeham
- Owner set to abeham
- Status changed from new to accepted
comment:2 Changed 9 years ago by abeham
- Owner changed from abeham to ascheibe
- Status changed from accepted to reviewing
comment:3 Changed 9 years ago by ascheibe
- Owner changed from ascheibe to abeham
- Status changed from reviewing to assigned
Reviewed and tested r13181, looks good so far, only one thing: There's a typo in RunCollection.cs: oldUpateRuns should be oldUpdateRuns
comment:4 Changed 9 years ago by abeham
r13198: fixed typo
comment:5 Changed 9 years ago by abeham
- Status changed from assigned to accepted
comment:6 Changed 9 years ago by abeham
- Status changed from accepted to readytorelease
comment:7 Changed 9 years ago by abeham
- Resolution set to done
- Status changed from readytorelease to closed
comment:8 Changed 9 years ago by ascheibe
Note: See
TracTickets for help on using
tickets.
r13181: Fixed bug with aggregation view open while runs are being added
This also fixes a bug I noticed in that after every add to a RunCollection the batch update event was triggered. I had put that in FilterRuns which was called from multiple places.