Page 1 of 1

List index out of bounds

Posted: Mon Aug 19, 2013 9:35 pm
by villep
Hi
A minor bug report that I think I have isolated even if I am not fully shore how to repeat.

Sometimes I get an List index out of bounds.
I get this when opening the Display start list and at the same time having Individual classification open.

Setup
* The different classes has different number of skiers
* In the start list or the result I have marked an skier with higher index then the number of skers in the other start list.
* I change class in the classification tab when the start list is closed.
- The error comes when pressing Display start list

Uninformatively I have not found an step by step how to repeat, but it happened 4 times during the competition and now when testing I have been able to repeat it once (after 10 open/close/change step, but then I have tested 100 times without being able to repeat)

So hopefully you can find an error based on this information or else since the error is handled it cause no problem.

Best regards
Vilhelm Persson

Re: List index out of bounds

Posted: Tue Aug 20, 2013 8:14 am
by emmanuel
villep wrote:Hi
A minor bug report that I think I have isolated even if I am not fully shore how to repeat.

Sometimes I get an List index out of bounds.
I get this when opening the Display start list and at the same time having Individual classification open.

Setup
* The different classes has different number of skiers
* In the start list or the result I have marked an skier with higher index then the number of skers in the other start list.
* I change class in the classification tab when the start list is closed.
- The error comes when pressing Display start list

Uninformatively I have not found an step by step how to repeat, but it happened 4 times during the competition and now when testing I have been able to repeat it once (after 10 open/close/change step, but then I have tested 100 times without being able to repeat)

So hopefully you can find an error based on this information or else since the error is handled it cause no problem.

Best regards
Vilhelm Persson
Hi Vilhelm,

I just tried to reproduce this bug, but did not succeed.
I checked some of the code, but did not find where this could happen so far.
I will keep an eye on that.

If you manage to reproduce this bug, please send the file (upload attachment), and describe the steps to reproduce it.

Regards,
Emmanuel