TheMidiBus issue: noteOn disabling

Hello everyone,

I am using TheMidiBus on an installation. Running Processing 2.1.1 on OS X 10.8.5.

Processing does not quit, but TheMidiBus is:

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

Thank anyone in advance for their insights.

Tagged:

Answers

  • bumping. I've encountered this problem as well, wrote a post about it, but still have had no response either. let's squash this! ;)

  • Looks like a different issue, can be just a programming error in the noteOn() function (accessing array index 2000 in a too small array).

Sign In or Register to comment.