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

TEST_BUG: REG-TESTS: javax/sound/midi/Devices/MidiIO.java is invalid

    Details

    • Subcomponent:
    • Resolved In Build:
      b12
    • CPU:
      x86
    • OS:
      windows_2000
    • Verification:
      Verified

      Description



      Name: icR10030 Date: 08/02/2002



      Filed By : J2SE-SQA [###@###.###
      JDK : jdk1.4.1-rc-b18
      Testbase : Regression testsuite
      Platform[s] : Windows 2000
      Failing Test : javax/sound/midi/Devices/MidiIO.java

      Here is the part of the javax/sound/midi/Devices/MidiIO.java
      (from the test javax/sound/midi/Devices/MidiIO.java):
      ..
      if (aInfos.length == 0) {
      out("No devices available. Test should be run on systems with MIDI drivers installed.");
      } else {
      if (outOnlyCount>1) {
      if (inOnlyCount==0) {
      throw new Exception("No input devices! test fails.");
      }
      out("Test passed.");
      } else {
      out("no MIDI I/O installed. Test should be run on systems with MIDI drivers installed.");
      }
      }
      ..
      The test supposes that if there are OUT-only midi devices, then
      there must be IN-only midi devices.
      But this is not true.

      jtr file location:
      ==================
      /net/jtgb4u4c.eng/export/sail15/results/hopper/b18/regtest/win32/win2000_smp_linux-22/workDir/test/javax/sound/midi/Devices/MidiIO.jtr

      How to reproduce:
      =================
      Run the test on Windows 2000.

      Test output:
      ============

      ----------messages:(3/114)----------
      command: main MidiIO
      reason: Assumed action based on file name: run main MidiIO
      elapsed time (seconds): 2.015
      ----------System.out:(6/462)----------
      4356787: MIDI device I/O is not working (windows)
        available MIDI devices:
      0 IN OUT Java Sound Synthesizer, Sun Microsystems, Version 1.0, Software wavetable synthesizer and receiver
      1 IN OUT Java Sound Sequencer, Sun Microsystems, Version 1.0, Software sequencer / synthesizer module
      2 OUT Microsoft MIDI Mapper, Unknown Vendor, 5.0, Windows MIDI_MAPPER
      3 OUT Microsoft GS Wavetable SW Synth, Unknown Vendor, 5.0, Internal software synthesizer
      ----------System.err:(21/1222)----------
      java.lang.Exception: No input devices! test fails.
              at MidiIO.main(MidiIO.java:53)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:324)
              at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:82)
              at java.lang.Thread.run(Thread.java:536)
      java.lang.Exception: No input devices! test fails.
              at MidiIO.main(MidiIO.java:53)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:324)
              at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:82)
              at java.lang.Thread.run(Thread.java:536)

      JavaTest Message: Test threw exception: java.lang.Exception: No input devices! test fails.
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.Exception: No input devices! test fails.
      result: Failed. Execution failed: `main' threw exception: java.lang.Exception: No input devices! test fails.


      test result: Failed. Execution failed: `main' threw exception: java.lang.Exception: No input devices! test fails.

      Specific Machine Info:
      ======================
      Hostname: linux-22, linux-2
      OS: Windows 2000 Pro

      ======================================================================

        Attachments

          Activity

            People

            • Assignee:
              fbomerssunw Florian Bomers (Inactive)
              Reporter:
              ichesunw Iche Iche (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: