[Solved] Getting java.lang.ArrayIndexOutOfBoundsException, looked, cannot find an example thats the same
In your for loop, i correctly iterates from 0 to the maximum length. However you have code such as: tweetArray[i+1] … tweetArray[i+7] that will fail once i reaches (or gets close to) its maximum. That is, you are referencing past the end of the array. In general, if you need to check something about the … Read more