Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#1147 closed defect (done)

BubbleChart accesses non-existing Runs in a RunCollection if the collection is cleared

Reported by: abeham Owned by: abeham
Priority: high Milestone: HeuristicLab 3.3.1
Component: Optimization.Views Version: 3.3.1
Keywords: Cc:

Description (last modified by abeham)

To reproduce

  1. Create an experiment
  2. Create a batch run optimizer
  3. Add algorithm and problem to the batch run
  4. Execute to have several runs
  5. Open a bubble chart view and and select x, y axis (BestQuality, Algorithm Name)
  6. Click Clear in the run collection

An ArgumentOutOfRangeException is thrown in RunCollection.cs:155. It works if there is no bubble chart view on the collection.

Exception detail: System.ArgumentOutOfRangeException occurred

Message=Index was out of range. Must be non-negative and less than the size of the collection.

Parameter name: index

Source=mscorlib ParamName=index StackTrace:

at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) at System.ThrowHelper.ThrowArgumentOutOfRangeException() at System.Collections.Generic.List`1.get_Item(Int32 index) at HeuristicLab.Optimization.RunCollection.GetValue(Int32 rowIndex, Int32 columnIndex)

InnerException:

Change History (9)

comment:1 Changed 11 years ago by abeham

  • Component changed from Optimization.Views to Optimization
  • Description modified (diff)

comment:2 Changed 11 years ago by mkommend

  • Status changed from new to assigned

comment:3 Changed 11 years ago by mkommend

  • Component changed from Optimization to Optimization.Views
  • Owner changed from mkommend to abeham
  • Status changed from assigned to new
  • Summary changed from RunCollection throws an Exception when it is cleared to The BubbleChart accesses non-existing Runs in a RunCollection if the collection is cleared

Corrected bug in BubbleChartView regarding emptied RunCollections in r4209.

comment:4 Changed 11 years ago by swagner

  • Summary changed from The BubbleChart accesses non-existing Runs in a RunCollection if the collection is cleared to BubbleChart accesses non-existing Runs in a RunCollection if the collection is cleared

comment:5 Changed 11 years ago by abeham

  • Status changed from new to accepted

comment:6 Changed 11 years ago by abeham

  • Status changed from accepted to readytorelease

comment:7 Changed 11 years ago by abeham

  • Resolution set to done
  • Status changed from readytorelease to closed
  • Version changed from 3.3 to 3.3.1

comment:8 Changed 10 years ago by swagner

  • Milestone changed from Iteration 4 to Current

Milestone Iteration 4 deleted

comment:11 Changed 10 years ago by swagner

  • Milestone changed from Current to HeuristicLab 3.3.0

Milestone Current deleted

Note: See TracTickets for help on using tickets.