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

REGRESSION JCK1.4a api/javax_sound/sampled/LineListener/index.html#LineListener

XMLWordPrintable

    • b12
    • x86, sparc
    • linux, solaris_8, solaris_9, windows_98, windows_2000
    • Verified


      Name: iaR10016 Date: 11/22/2002


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.4.2-b08
                       (passes with JDK1.4.2-b07)
      JCK : JCK1.4a-runtime
      Platform[s] : Windows 98, Solaris 9 (sparc) (CDE), Solaris 8 (x86), RedHat Linux 7.3
      switch/Mode : default
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Falling test s : api/javax_sound/sampled/LineListener/index.html#LineListener [LineListener2001, LineListener2004]

      JCK1.4a-runtime api/javax_sound/sampled/LineListener/index.html#LineListener test fails on JDK1.4.2-b08
      with "java.lang.IllegalArgumentException: pcm format has NOT_SPECIFIED field" error message.

      Test source location:
      =====================
      /java/re/jck/1.4a/promoted/fcs/binaries/JCK-runtime-14a/tests/api/javax_sound/sampled/LineListener/LineListenerTests.java
      /java/re/jck/1.4a/promoted/fcs/binaries/JCK-runtime-14a/tests/api/javax_sound/sampled/LineListener/MyLineListener.java
      /java/re/jck/1.4a/promoted/fcs/binaries/JCK-runtime-14a/tests/api/javax_sound/sampled/LineListener/DataPusher.java

      jtr file location:
      ==================
      /net/jtgb4u4c.eng/export/sail15/results/mantis/b08/jck14a/x86/sol8_x86_server_linux-10/javax_sound/sampled/LineListener/index_LineListener.jtr

      How to reproduce:
      =================
      Run the following script (you may need to change its variables)

      --- script start ---
      #!/bin/bash
      JCK="/net/linux-15/export/home/java/jck1.4a/JCK-runtime-14a"
      JDK="/net/linux-15/export/home/java/jdk1.4.2/x86"
      export CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
      executeClass="javasoft.sqe.tests.api.javax.sound.sampled.LineListener.LineListenerTests -TestCaseID LineListener2001 LineListener2004"
      executeArgs="-platform.canPlaySound false -platform.soundURL file://$JCK/tests/api/javax_sound/sound.wav"
      $JDK/bin/java $executeClass $executeArgs
      --- script end ---

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

      ===== LineListener2001 =====
      java.lang.IllegalArgumentException: pcm format has NOT_SPECIFIED field
       at com.sun.media.sound.AbstractDataLine.open(AbstractDataLine.java:96)
       at com.sun.media.sound.AbstractDataLine.open(AbstractDataLine.java:400)
       at javasoft.sqe.tests.api.javax.sound.sampled.LineListener.LineListenerTests.LineListener2001(LineListenerTests.java:82)
       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 javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399)
       at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
       at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
       at javasoft.sqe.tests.api.javax.sound.sampled.LineListener.LineListenerTests.parseAndRun(LineListenerTests.java:703)
       at javasoft.sqe.tests.api.javax.sound.sampled.LineListener.LineListenerTests.main(LineListenerTests.java:29)
      LineListener2001: Failed. Test case throws exception: java.lang.IllegalArgumentException: pcm format has NOT_SPECIFIED field
      ===== LineListener2004 =====
      java.lang.IllegalArgumentException: pcm format has NOT_SPECIFIED field
       at com.sun.media.sound.AbstractDataLine.open(AbstractDataLine.java:96)
       at com.sun.media.sound.AbstractDataLine.open(AbstractDataLine.java:400)
       at javasoft.sqe.tests.api.javax.sound.sampled.LineListener.LineListenerTests.LineListener2004(LineListenerTests.java:557)
       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 javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399)
       at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
       at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
       at javasoft.sqe.tests.api.javax.sound.sampled.LineListener.LineListenerTests.parseAndRun(LineListenerTests.java:703)
       at javasoft.sqe.tests.api.javax.sound.sampled.LineListener.LineListenerTests.main(LineListenerTests.java:29)
      LineListener2004: Failed. Test case throws exception: java.lang.IllegalArgumentException: pcm format has NOT_SPECIFIED field
      STATUS:Failed.test cases: 2; all failed; first test case failure: LineListener2001

      Specific machine info:
      ======================
      Hostname: linux-10
      OS: Solaris 8 (x86)

      Hostname: linux-17
      OS: Windows 98

      Hostname: novo48
      OS: Solaris 9 (sparc) (CDE)

      Hostname: linux-19
      OS: RedHat Linux 7.3 (GNOME)

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

            fbomerssunw Florian Bomers (Inactive)
            irasunw Ira Ira (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: