Create experiment dialog throws an exception if more than one instance provider does not have any data descriptors
|Reported by:||mkommend||Owned by:||mkommend|
The problem is an error in the progress calculation during the provider discovery. If multiple instance provider do not have any data descriptors a progress of > 100 is reported, that leads to an exception in the progress bar control (CreateExperimentDialog line 734).
Progress calculation (line 725-726)
double progress = nodes.Count > 0 ? i / (double)nodes.Count : 0.0; instanceDiscoveryBackgroundWorker.ReportProgress((int)(100 * progress), provider.Name);
The issues is that i can be larger then nodes.Count due to excluded instance providers.
Change History (4)
comment:2 Changed 14 months ago by mkommend
- Owner changed from mkommend to abeham
- Status changed from accepted to reviewing
comment:3 Changed 14 months ago by abeham
- Owner changed from abeham to mkommend
- Status changed from reviewing to readytorelease