exception 'List index out of bounds (-1)'.

Questions and answers on how to use XLSReadWriteII 5.
Post Reply
engmac
Posts: 5
Joined: Mon Nov 11, 2013 11:06 am

exception 'List index out of bounds (-1)'.

Post by engmac »

Hi,

Hope today is a better day to adress issues...


I´m still facing problem, now 'List index out of bounds (-1)'.

There is no apparent reason but often I get this error.

It happens that there is no pattern that can depoy the exception.
I notice that after I got this error during a regular program flow, I got the exception just by reading the file, and I get rid of the exception by deleting the line after the last write, but this effect is not allways noticed.

We have 2 similar applications with the same exception.

---------------------------
Debugger Exception Notification
---------------------------
Project Excel_TestBench.exe raised exception class EListError with message 'List index out of bounds (-1)'.
---------------------------
Break Continue Help
---------------------------
larsa
Site Admin
Posts: 926
Joined: Mon Jun 27, 2005 9:30 pm

Re: exception 'List index out of bounds (-1)'.

Post by larsa »

Hello

I have no idea of what you are talking about.

Please provide a code sample or an excel file that reproduces the problem.
Lars Arvidsson, Axolot Data
Post Reply