Sign in with
Sign up | Sign in
Your question

List index out of bounds (-1) error

Last response: in Windows XP
October 26, 2010 10:13:18 AM

my problem: when i run a program (cf extras-only has got 4 buttons) when i click one button, it is giving this error :list index out of bounds (-1) . i searched at google but i could not its answer.
October 26, 2010 6:39:35 PM

This is a problem with the program, not windows. The program is keeping an internal list of items. Say these items are listed zero thru 9. Clicking the button is trying to access item -1. There is no such item in the list so you get this error.

Unless you wrote the program yourself or have access to the source code there isn't anything you can do.