You need to sign in to do that
Don't have an account?
Shantanu Mahajan 4
Getting Error List index out of bounds: 2060
Hii all,
I am getting this error List index out of bounds: 2060.
Here my Total Size is 2063.
I am getting this error List index out of bounds: 2060.
Here my Total Size is 2063.
for(Integer j=total_size-Math.mod(total_size,list_size);j<total_size;j++) { ListWrap.add(wraplist.get(j)); }
Peter Friberg 26
Try to add an assertion of j against wraplist.size() inside the loop to see what happens.