I'd reproduce and track exactly where, either in engine or app, find
the iteration or recursion accessing the Array and we know more. Array
or ArrayList is the best structure and trying to access element
outside array means an array index calculation went one beyond
predefined Array length. Meantime here's a good old classic themed
crawling
http://www.weyrich.com/book_reviews/internet_agents.html
technical and cultural
Sincerely
Nick Rosencrantz
In fact there're 2 errors here, the (expensive) casting fails and it
tries accessing a row element longer than the row. Which could be a
Vector internally Array implemented. Vector internally