I entered the code from page 53 of Ben Fry's
Visualizing Data (great book!) - the sketch that allows you to use your own map to make a locations.tsv file, clicking on the places where you want the data to be represented. I have checked my typing several times, can't find any errors, no errors for that page reported on the O"Reilly site either.
I think I understand the flow of the program. My execution gets down to the mousePressed function, displaying both the map and the "Click the mouse to begin" message in the terminal. Then I get the error. So what is this "ArrayIndexOutOfBoundsException 1" error? I assume I did something wrong but can't figure out what it was. Any assistance is appreciated.