hello all
I need some help regarding this matter. I am getting
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException:-11912555
while I installing vuze.
I am unable to understand why I am getting this error.
Printable View
hello all
I need some help regarding this matter. I am getting
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException:-11912555
while I installing vuze.
I am unable to understand why I am getting this error.
Suppose you have an int array like this:
The valid index vanlues are 0, 1 and 2 because the array has three elements; now suppose you try to do this:Code:int[] a= new int[3];
Obviously this isn't a valid index value and that's why you receive that Exception. The Exception stack trace also showed the exact line number in your code where you tried to use such an out of bounds index value.Code:a[-11912555]= 42;
kind regards,
Jos