|
Quick Lists
|
|
Bug ID:
|
4941629
|
|
Votes
|
0
|
|
Synopsis
|
REGRESSION: JCK1.5 api/javax_sound/sampled/AudioSystem/index.html#AudioSystem
|
|
Category
|
java:classes_sound
|
|
Reported Against
|
tiger-beta
|
|
Release Fixed
|
1.5(tiger-b26)
|
|
State
|
10-Fix Delivered,
Verified,
bug
|
|
Priority:
|
2-High
|
|
Related Bugs
|
4912693
,
4925483
|
|
Submit Date
|
22-OCT-2003
|
|
Description
|
Filed By : J2SE-SQA [j2se-tck- xxxxx@xxxxx ]
JDK : JDK1.5.0-b24
(passes with JDK1.5.0-b23, JDK1.4.2-b28)
JCK : JCK1.5-runtime (b06)
Platform[s] : all
switch/Mode : default
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Falling test[s]:
api/javax_sound/sampled/AudioSystem/index.html#AudioSystem [AudioSystem2017, AudioSystem2020]
JCK1.5-runtime api/javax_sound/sampled/AudioSystem/index.html#AudioSystem test fails using JDK1.5.0-b24
with java.lang.NullPointerException.
Test source location:
=====================
/java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-15/tests/api/javax_sound/sampled/AudioSystem/AudioSystemTests.java
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b24/jck15/linux/redhat9.0_gnome_smp_plugin_ns7.1_linux-22/workDir/api/javax_sound/sampled/AudioSystem/index_AudioSystem.jtr
How to reproduce:
=================
Run the following script (you may need to change its variables)
--- script start ---
#!/bin/bash
#Paths in Java Software:
JDK="/java/re/jdk/1.5.0/promoted/all/b24/binaries/"
JCK="/java/re/jck/1.5/promoted/beta/b04/binaries/JCK-runtime-15"
#Alternative paths outside Java Software:
#JDK="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b24/binaries/"
#JCK="/net/koori.sfbay/onestop/jck/1.5/promoted/beta/b04/binaries/JCK-runtime-15"
#Alternative paths for the NSK site:
#JCK="/net/linux-15/export/home/java/jck1.5/JCK-runtime-15"
#JDK="/net/linux-15/export/home/java/jdk1.5.0/linux"
export CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
workDir=`pwd`
$JDK/bin/java -showversion javasoft.sqe.tests.api.javax.sound.sampled.AudioSystem.AudioSystemTests -TestCaseID AudioSystem2017 AudioSystem2020 -TestURL file://$JCK/tests/api/javax_sound/sampled/AudioSystem/index.html#AudioSystem -TestWorkDirURL file://$workDir
--- script end ---
Test output:
============
java version "1.5.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b24)
Java HotSpot(TM) Client VM (build 1.5.0-beta-b24, mixed mode)
AudioSystem2017: Failed. Unexpected exception caught - java.lang.NullPointerException
AudioSystem2020: Failed. Unexpected exception caught - java.lang.NullPointerException
STATUS:Failed.test cases: 2; all failed; first test case failure: AudioSystem2017
Specific machine info:
======================
Hostname: linux-22
OS: customer Linux 9.0 (GNOME)
Hostname: linux-4
OS: SuSE SLES 8
Hostname: linux-6
OS: Solaris 9 (x86) (CDE)
Hostname: linux-8
OS: Solaris 10 (sparc) (CDE)
======================================================================
|
|
Work Around
|
N/A
|
|
Evaluation
|
Can reproduce the bug. An NPE is thrown when AudioSystem.write(ais, null, stream) is called. The bug was introduced with the fix for RFE 4925483.
Eventually, all Java Sound methods should throw NPE's for un-justified null arguments. See RFE 4912693.
xxxxx@xxxxx 2003-10-22
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |