We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
ProMidi crash (Read 470 times)
ProMidi crash
Dec 8th, 2007, 9:19pm
 
I'm trying to send out some Midi notes from Processing but every time I launch the sketch, I get an error

Quote:
Exception in thread "Thread-8" java.lang.ArrayIndexOutOfBoundsException: 3

at java.util.AbstractCollection.toArray(AbstractCollection.java:126)

at promidi.MidiOut$NoteBuffer.run(MidiOut.java:293)



The error is always the same except for the Thread # which varies from 6 to 8.
It doesn't appear at the same time. Sometimes, it will run for 2s, 10s, 20s, etc before the error pops up.

Anyone knows why?
Re: ProMidi crash
Reply #1 - Dec 13th, 2007, 12:10am
 
Hi Steven

Could you send me you sketch or at least a part of it causing the trouble, so I can try to analyse it.
Page Index Toggle Pages: 1