Opened 14 years ago
Closed 14 years ago
#1382 closed defect (done)
Cannot set problem of empty UserDefinedAlgorithm
Reported by: | epitzer | Owned by: | abeham |
---|---|---|---|
Priority: | low | Milestone: | HeuristicLab 3.3.3 |
Component: | Optimization | Version: | 3.3.3 |
Keywords: | Cc: |
Description
When setting a problem on a UserDefinedAlgorithm that does not yet have any analyzers defined, an exception is thrown.
KeyNotFoundException: The given key was not present in the dictionary. at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at HeuristicLab.Collections.ObservableKeyedCollection`2.get_Item(TKey key) at HeuristicLab.Optimization.UserDefinedAlgorithm.get_AnalyzerParameter() at HeuristicLab.Optimization.UserDefinedAlgorithm.get_Analyzer() at HeuristicLab.Optimization.UserDefinedAlgorithm.RemoveProblemAnalyzers() at HeuristicLab.Optimization.UserDefinedAlgorithm.DeregisterProblemEvents() at HeuristicLab.Optimization.Algorithm.set_Problem(IProblem value) at HeuristicLab.Optimization.Views.AlgorithmView.newProblemButton_Click(Object sender, EventArgs e)
Change History (6)
comment:1 Changed 14 years ago by swagner
- Milestone changed from HeuristicLab x.x.x to HeuristicLab 3.3.3
comment:2 Changed 14 years ago by swagner
- Owner changed from swagner to mkommend
- Status changed from new to assigned
comment:3 Changed 14 years ago by mkommend
- Status changed from assigned to accepted
comment:4 Changed 14 years ago by mkommend
- Owner changed from mkommend to abeham
- Status changed from accepted to reviewing
comment:5 Changed 14 years ago by abeham
- Status changed from reviewing to readytorelease
reviewed and tested a little, no further comments
comment:6 Changed 14 years ago by mkommend
- Resolution set to done
- Status changed from readytorelease to closed
- Version changed from 3.3.2 to 3.3.3
Note: See
TracTickets for help on using
tickets.
Corrected discovering of Analyzers in UserDefinedAlgorithm with r5362.