Closed silantnode closed 10 years ago
This means there is something in your noteOn method which is crashing. In particular it seems like you have an array out of bounds problem Caused by: java.lang.ArrayIndexOutOfBoundsException: 2000
.
So the issue is somewhere in you noteOn method, not in TheMidiBus. If you want to post a snippet from your noteOn I can try and help further.
Hi,
Thank you for your response. You are correct. I had another friend pinpoint the problem in my code and help me resolve it.
Kind regards, ilan
Hello,
I hope it is appropriate to report this here. If not please delete posting and kindly accept my apologies in advance.
I am using TheMidiBus for an installation. Using Processing 2.1.1 on OS X 10.8.5.
Processing does not quit, but themidibus gets disabled after about 30 minutes with the following error reported....
The MidiBus Warning: Disabling noteOn(int channel, int pitch, int velocity) because an unkown exception was thrown and caught java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at themidibus.MidiBus.notifyParent(Unknown Source) at themidibus.MidiBus$MReceiver.send(Unknown Source) at com.sun.media.sound.AbstractMidiDevice$TransmitterList.sendMessage(AbstractMidiDevice.java:679) at com.sun.media.sound.MidiInDevice.callbackShortMessage(MidiInDevice.java:172) at com.sun.media.sound.MidiInDevice.nGetMessages(Native Method) at com.sun.media.sound.MidiInDevice.run(MidiInDevice.java:140) at java.lang.Thread.run(Thread.java:744) Caused by: java.lang.ArrayIndexOutOfBoundsException: 2000 at PASSAGES.noteOn(PASSAGES.java:177) ... 10 more