AR "List index out of bounds (-1)"

Posted by: Kay

AR "List index out of bounds (-1)" - 08/01/08 10:26 AM

I am running AR 8.0B (061213). I have been printing monthly statements just fine for the past 2 years. There is about 300 customers in the database and 45 statements to be sent - which is a normal number each month.

It doesn't make any difference if I set print parameters or just click "Print or Preview" after the acknowledging notification that "Interest charges have not been run....", the counter scans the customer base and 3/4 of the way through I get the "List..." message. This occurs in a preliminary phase of generating statements well before previewing, printing, or emailing.

I have rebooted the workstation and the server. I have tried this on an XP-64 and 2 different XP-32 workstations. I have done a "Data Integrity Check" 3 times. I have tried individual customers and all customers - makes no difference.

There have been no changes to any of the systems except normal updates from Microsoft.

My guess is, and I don't pretend to be an expert, that the indexs may need rebuilding. I have not figured out how to force a rebuild in Adagio. Can I still use Accpac for a Data Integrity Check and then tell it to rebuild the indexs?
Posted by: Retired_Guy

Re: AR "List index out of bounds (-1)" - 08/01/08 11:08 AM

Hello Kay,

Do you get the same behavior if you try and print statements in the sample data?
Posted by: Kay

Re: AR "List index out of bounds (-1)" - 08/01/08 12:00 PM

I apologize but I have never loaded the Sample Data and am not sure how to get it loaded.
Posted by: Lars

Re: AR "List index out of bounds (-1)" - 08/01/08 12:02 PM

Hi Kay - For what it's worth, I get the same error when my printer goes off line. I don't think your error has anything to do with having to rebuild indices.

Lars Glimhagen
Posted by: Kay

Re: AR "List index out of bounds (-1)" - 08/01/08 12:19 PM

It appears that I am getting the error long before I am getting to the print phase. I get the error in "Preview" and "Email" mode so I don't think it has anything to do with the actual printing. I beleive that it is in a verification or some preliminary phase. I can't even run just a single statement for the 1st customer that would get a statement.

All other reports - Overdue, etc. run just fine.
Posted by: Retired_Guy

Re: AR "List index out of bounds (-1)" - 08/01/08 12:21 PM

Have you installed any new printers, or printer drivers, recently?
Posted by: Kay

Re: AR "List index out of bounds (-1)" - 08/01/08 01:03 PM

I have been on 3 weeks vacation and haven't had time to make any changes to my system(s) except for Microsoft updates (automatic). No new devices of any kind have been added let alone on 3 different desktops.
Posted by: Retired_Guy

Re: AR "List index out of bounds (-1)" - 08/01/08 01:13 PM

How many statement specifications do you have defined in the data set? Can you delete the ones you are not using and see if the problem "goes away". This has nothing to do with the file indexes and is an internal error as a table is being built of the list of statement names and/or default printer attributes.
Posted by: Softrak Support

Re: AR "List index out of bounds (-1)" - 08/01/08 01:27 PM

Hi, Kay,

There was also a similar (albeit not exact) incidence of this reported previously. Seems the site had recently installed a new virus checker and needed to set it so it excluded the Adagio files from its scan.

In another instance, a site found that when they forced an uninstall of the printer driver and then reconnected the network printer it resolved their problem. Perhaps their printer driver had become corrupted somehow.
Posted by: Kay

Re: AR "List index out of bounds (-1)" - 08/01/08 01:33 PM

Great catch. I had just set up a new/similar company and somehow moved instead of copied the specs from the current company to the new company. There were no specs available in the current company where I was trying to print statements. Thank heaven I didn't make this mistake in Invoicing.

Thank you, thank you, thank you.
Posted by: Bruce Gardner

Re: AR "List index out of bounds (-1)" - 08/01/08 04:19 PM

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.
Posted by: Retired_Guy

Re: AR "List index out of bounds (-1)" - 08/01/08 05:58 PM

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!
Posted by: Bruce Gardner

Re: AR "List index out of bounds (-1)" - 08/04/08 11:02 PM

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.