You have to use the for-each loop for read-only passes. Currently, in your constructor, the elements in your array still remain uninitialized and hence the error.
So change it to a normal for loop.
for(int i = 0; i < numbers.length; i++){
numbers[i] = new Number(0);
}