Page 2 of 2 < 1 2
Topic Options
#13875 - 08/01/08 04:19 PM Re: AR "List index out of bounds (-1)" [Re: Softrak Support]
Bruce Gardner Offline
Adagio Wizard

Registered: 06/15/04
Posts: 3500
Loc: Toronto ON, Canada
Hello:

I've also seen the same error occur when there are no statement specs available (I can't remember the exact circumstances). I'd suggest there should be a check made that the spec file actually exists before lauching the process in order to prevent the error message later.
_________________________
Bruce Gardner
ARX Business Solutions Inc.

Top
#13878 - 08/01/08 05:58 PM Re: AR "List index out of bounds (-1)" [Re: Bruce Gardner]
Retired_Guy Offline
Adagio Master

Registered: 03/16/99
Posts: 10493
Loc: Canada
Hi Bruce,

In the normal operation of Adagio, there should never be a time where there are NO specification files available.

If we checked for every circumstance that might occur with people moving files around using explorer, Adagio modules would never manage to launch!
_________________________
Andrew Bates

Top
#13892 - 08/04/08 11:02 PM Re: AR "List index out of bounds (-1)" [Re: Retired_Guy]
Bruce Gardner Offline
Adagio Wizard

Registered: 06/15/04
Posts: 3500
Loc: Toronto ON, Canada
Hello Andrew:

Rather than checking on start-up (because speed is an issue there), 2 checks could be performed each time a user clicks Print/Preview on a specification-type screen:

1) Has a specification been selected (ie. selection box is not blank)?
2) Does spec file exist?

In the world of "essential" versus "merely-nice-to-have", this is definitely closer to the latter, but it would be fast enough to be imperceptible to the user and would prevent error messages.
_________________________
Bruce Gardner
ARX Business Solutions Inc.

Top
Page 2 of 2 < 1 2


Moderator:  Christa_Meissner 
Who's Online
0 registered (), 68 Guests and 0 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
1847 Members
5 Forums
14237 Topics
69716 Posts

Max Online: 359 @ 11/18/19 09:08 PM
April
Su M Tu W Th F Sa
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30