Index was outside the bounds of the array error

dilligent

Honorable
Apr 15, 2013
21
0
10,520
Hello guys hope you are well and can help me with an unusual problem I am having with an application called Snip (to display what is playing in obs for streaming). I start teh app as usual and have got a box come up since yesterday that says Index was outside the bounds of the array. I have tried uninstalling and re installing to no avail.

Here is a picture of it,
D2mgjNL.png


Please guys any help would be appreciated. I am using windows 7 ultimate 64bit

Thanks in advance
Dilligent
 
Solution
Looks like a bug in the program. What that technically means from a programming perspective is that there is an array of elements, for example, we'll use an array called letters(), of that, there are 26 elements, each one containing a single letter, and it is referenced by using the array elements letters(0) through letters(25) (it uses 0-25 which is 26 elements. It's a weird programming thing.) The program (or routine) can access the letters by using any number 0-25 which returns a letter. However, what if the program tries to access letters(100)? That element doesn't exist at all, thus you get a bad index. Either the program has a bug, OR it's not validating to make sure the element exists before trying to get it.

What you...
Looks like a bug in the program. What that technically means from a programming perspective is that there is an array of elements, for example, we'll use an array called letters(), of that, there are 26 elements, each one containing a single letter, and it is referenced by using the array elements letters(0) through letters(25) (it uses 0-25 which is 26 elements. It's a weird programming thing.) The program (or routine) can access the letters by using any number 0-25 which returns a letter. However, what if the program tries to access letters(100)? That element doesn't exist at all, thus you get a bad index. Either the program has a bug, OR it's not validating to make sure the element exists before trying to get it.

What you should do is contact the builder of the program and either manually install an older or newer program.
 
Solution
Oh awesome thanks for the quick response. I thought it might be something like that but I don't get that if I was using the program then turned my pc off came back a week later then the problem occurred (no updates etc) why this would happen and is there an easier fix. Nevertheless thank you and I will have to try and find another way to show what I am playing music wise on my stream.