-
Type:
Bug
-
Resolution: Not an Issue
-
Priority:
P2
-
None
-
Affects Version/s: 1.4.0
-
Component/s: client-libs
-
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)