ClassCastException
in
Contributed Library Questions
•
1 month ago
Hello!
I wrote a programme for live visuals, using the promidi library and a Korg nano controller to play with it. When I press the „SCENE“ button on my controller (and only when I do that) the console writes the following message:
Can somebody maybe explain this message to me? I have no idea how to fix that.
Thank you so much!
I wrote a programme for live visuals, using the promidi library and a Korg nano controller to play with it. When I press the „SCENE“ button on my controller (and only when I do that) the console writes the following message:
I think it always did that but I never paid much attention to it. However since I updated to Processing 2.0.1 the programme crashes.java.lang.ClassCastException: com.sun.media.sound.FastSysexMessage
cannot be cast to javax.sound.midi.ShortMessage
at promidi.MidiInDevice.send(MidiInDevice.java:98)
at com.sun.media.sound.AbstractMidiDevice$ TransmitterList.sendMessage( AbstractMidiDevice.java:701)
at com.sun.media.sound.MidiInDevice. callbackLongMessage( MidiInDevice.java:162)
at com.sun.media.sound.MidiInDevice.nGetMessages( Native Method)
at com.sun.media.sound.MidiInDevice.run(MidiInDevice. java:123)
at java.lang.Thread.run(Thread.java:680)
Can somebody maybe explain this message to me? I have no idea how to fix that.
Thank you so much!
1