Bug 964 : Exception in thread "event-handler" java.lang.ArrayIndexOutOfBoundsException: -337
Last modified: 2008-11-24 12:34



Assigned To:

Attachment Type Created Size Actions
MP3 player visualiser application/zip 2008-10-19 20:06 189.24 KB

Description:   Opened: 2008-10-19 04:26
intel quad core 2.4 ati radeon hd 3870

Exception in thread "event-handler"
java.lang.ArrayIndexOutOfBoundsException: -337
at processing.app.Editor.statusError(Editor.java:2184)
at processing.app.debug.Runner.exception(Runner.java:644)
at processing.app.debug.EventThread.exceptionEvent(EventThread.java:388)
at processing.app.debug.EventThread.handleEvent(EventThread.java:276)
at processing.app.debug.EventThread.run(EventThread.java:111)
Additional Comment #1 From fry 2008-10-19 04:31
what release are you using?
Additional Comment #2 From badjano 2008-10-19 18:27
I´m using ESS to read an mp3´s spectrum and save all in differente tsv
files with printWriter, than I use your floatTable to read it so I could
render in exact frame rate, and this is when it crashes. I think it´s when
I call getFloat, since it doesn´t crash if I comment the line.
Additional Comment #3 From fry 2008-10-19 18:30
what release of Processing are you using?
Additional Comment #4 From badjano 2008-10-19 18:33
Additional Comment #5 From fry 2008-10-19 18:40
can you please try it with the most recent release?
Additional Comment #6 From badjano 2008-10-19 19:14
I installed tha newest revision, but I still got the same error.
But I noticed some things, when I tried the first time, I made files with
100 lines, and it crashed after rendering the 97th frame, then I reduced it
to 30 line per file, and now it crashes on the 27th frame, so I reduced 1
from the row argument, and it crashed after the 28th, when I tried to
reduce 2 from the argument, it crashed before trying to render anything.

there´s another thing, I didn´t use the firest line as col names, I just
inserted data from the start... I´m starting to think this is getting in
the way, but it´s strange since 2 lines are still not loading, so there´s
one missing here... do I have to finish the file with a blank line?
Additional Comment #7 From fry 2008-10-19 19:19
can you use Tools > Archive Sketch to make a zip of the sketch file, and
post it here as an attachment? (or if it's large, post it somewhere else
and include a link?)
Additional Comment #8 From badjano 2008-10-19 20:06
MP3 player visualiser

to start recording data from mp3 to .tsv files, press R
to start rendering to png files press M
to test it full blow press 1 then M
thanks! you´re very kind! :)
Additional Comment #9 From fry 2008-10-20 15:58
I can't get that error to show up when running this code. I get other
errors, which have to do with bugs in the code, but I don't get the message
that you posted here. What steps do I need to do to make the error show up?
Additional Comment #10 From fry 2008-11-24 12:34
No response for a month, closing bug.