-
Bug
-
Resolution: Not an Issue
-
P2
-
None
-
1.4.0
-
x86
-
windows_2000
DataInputStream gives java.io.IOException when MidiSystem class is trying to read an rmid sound file from an input stream using the
getMidiFileFormat(InputStream in); in the MidiSystem class.
As this exception is thrown in StandardMidiFileReader, the MidiSystem class doesnot look to the next provider available.
Following is the exception that is thrown
java.io.IOException: Mark/reset not supported at java.io.InputStream.reset(InputStream.java:332) at
java.io.FilterInputStream(FilterInputStream.java:207) at
com.sun.media.sound.StandardMidiFileReader.getMidiFileFormat(StandardMidiFileReader.java:199)
getMidiFileFormat(InputStream in); in the MidiSystem class.
As this exception is thrown in StandardMidiFileReader, the MidiSystem class doesnot look to the next provider available.
Following is the exception that is thrown
java.io.IOException: Mark/reset not supported at java.io.InputStream.reset(InputStream.java:332) at
java.io.FilterInputStream(FilterInputStream.java:207) at
com.sun.media.sound.StandardMidiFileReader.getMidiFileFormat(StandardMidiFileReader.java:199)