Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4441343

java.io.IOException in StandardMidiFileReader.getMidiFileFormat(InputStream in)

XMLWordPrintable

      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)

            fbomerssunw Florian Bomers (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: