aspose file tools*
The moose likes Java in General and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark ""javax.sound.midi.InvalidMidiDataException: cannot get soundbank from stream" after java update" Watch ""javax.sound.midi.InvalidMidiDataException: cannot get soundbank from stream" after java update" New topic
Author

"javax.sound.midi.InvalidMidiDataException: cannot get soundbank from stream" after java update

Poorav Chaudhari
Ranch Hand

Joined: Sep 17, 2002
Posts: 50
I am noticing this error since I did the Mac update. The Mac update included the java update. Right now the java version is 1.6.0_31. My Mac OS X version is 10.7.3. I am seeing the problem for all the soundfont files that I am trying to load. The error i get is.

javax.sound.midi.InvalidMidiDataException: cannot get soundbank from stream
at javax.sound.midi.MidiSystem.getSoundbank(MidiSystem.java:565)
at myPackage.MyMusicApp.main(MyMusicApp.java:14)

Below is a small program I built that shows the code.



I am not sure what the previous build of java I was on, but i know that it was a 1.6 version. Any ideas of what could have caused this?

thanks


Poorav Chaudhari
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: "javax.sound.midi.InvalidMidiDataException: cannot get soundbank from stream" after java update