heal-research / HeuristicLab

HeuristicLab - An environment for heuristic and evolutionary optimization
https://dev.heuristiclab.com
GNU General Public License v3.0
39 stars 16 forks source link

RunCollection Chart Aggregation View throws Exception #2441

Closed HeuristicLab-Trac-Bot closed 8 years ago

HeuristicLab-Trac-Bot commented 9 years ago

Issue migrated from trac ticket # 2441

milestone: HeuristicLab 3.3.13 | component: Optimization.Views | priority: medium | resolution: done

2015-07-23 20:29:10: @abeham created the issue


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
HeuristicLab-Trac-Bot commented 8 years ago

2015-11-16 14:36:28: @abeham changed status from new to accepted

HeuristicLab-Trac-Bot commented 8 years ago

2015-11-16 14:36:28: @abeham removed owner

HeuristicLab-Trac-Bot commented 8 years ago

2015-11-16 16:48:44: @abeham changed status from accepted to reviewing

HeuristicLab-Trac-Bot commented 8 years ago

2015-11-16 16:48:44: @abeham changed owner from @abeham to @Shabbafru

HeuristicLab-Trac-Bot commented 8 years ago

2015-11-16 16:48:44: @abeham commented


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.

HeuristicLab-Trac-Bot commented 8 years ago

2015-11-16 19:33:41: @Shabbafru changed status from reviewing to assigned

HeuristicLab-Trac-Bot commented 8 years ago

2015-11-16 19:33:41: @Shabbafru changed owner from @Shabbafru to @abeham

HeuristicLab-Trac-Bot commented 8 years ago

2015-11-16 19:33:41: @Shabbafru commented


Reviewed and tested r13181, looks good so far, only one thing: There's a typo in RunCollection.cs: oldUpateRuns should be oldUpdateRuns

HeuristicLab-Trac-Bot commented 8 years ago

2015-11-16 21:38:23: @abeham commented


r13198: fixed typo

HeuristicLab-Trac-Bot commented 8 years ago

2015-11-16 21:39:33: @abeham changed status from assigned to accepted

HeuristicLab-Trac-Bot commented 8 years ago

2015-11-16 21:39:33: @abeham commented


r13199: merged r13181, r13198 to stable

HeuristicLab-Trac-Bot commented 8 years ago

2015-11-16 21:39:41: @abeham changed status from accepted to readytorelease

HeuristicLab-Trac-Bot commented 8 years ago

2015-11-16 21:39:46: @abeham changed status from readytorelease to closed

HeuristicLab-Trac-Bot commented 8 years ago

2015-11-16 21:39:46: @abeham removed resolution

HeuristicLab-Trac-Bot commented 8 years ago

2015-11-19 14:54:09: @Shabbafru commented


r13301 recorded merge info for r13199