I'm not sure we can help with just the stack trace. All we see is that there is array index out of bounds exception being thrown in your code somewhere.
Can you take a look at what defensive programming means here and here.
In short, are you really checking the size and length of whatever array you are reading before actually reading.
If you are not laughing at yourself, then you just didn't get the joke.