-
Bug
-
Resolution: Fixed
-
P2
-
5.0
-
b48
-
generic
-
generic
-
Verified
Name: iaR10016 Date: 03/12/2004
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.5.0-b41, JDK1.5.0-b40
(the tests are not valid for JDK1.4.2)
JCK : JCK1.5-runtime (b13, b14)
Platform[s] : all
switch/Mode : default
JCK test owner : http://javaweb.sfbay/jcce/tcks/jck/1.5/project/data_reports/owners.jto
Falling test[s]: api/java_util/EnumSet/index.html#allOf[allOf001]
api/java_util/EnumSet/index.html#clone[clone001, clone002, clone003]
api/java_util/EnumSet/index.html#copyOf[copyOf001, copyOf003, copyOf004]
api/java_util/EnumSet/index.html#copyOf1[copyOf1004]
api/java_util/EnumSet/index.html#noneOf[noneOf001]
api/java_util/EnumSet/index.html#of1[of1001]
api/java_util/EnumSet/index.html#of2[of2001]
api/java_util/EnumSet/index.html#of3[of3001]
api/java_util/EnumSet/index.html#of4[of4001]
api/java_util/EnumSet/index.html#of5[of5001]
api/java_util/EnumSet/index.html#range[range001]
11 JCK1.5-runtime api/java_util/EnumSet tests fail using JDK1.5.0-b41 on all platforms with
java.lang.NullPointerException.
These tests failed in previous JCK runs because of the test bugs 4951318, 4982577 integrated in JCK1.5.
Please, see also bugs 4951318, 4982577.
Test source location:
=====================
/java/re/jck/1.5/promoted/beta/b14/binaries/JCK-runtime-15/tests/api/java_util/EnumSet/of5Tests.java
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b41/jck15/sparc/Solaris_10_sparc_GNOME__linux-8/workDir/api/java_util/EnumSet/index_of5.jtr
...
How to reproduce:
=================
Run the following script (you may need to change its variables)
--- script start ---
#!/bin/sh
#Paths in Java Software:
JDK="/java/re/jdk/1.5.0/promoted/all/b41/binaries/solaris-sparc"
JCK="/java/re/jck/1.5/promoted/beta/b14/binaries/JCK-runtime-15"
#Alternative paths outside Java Software
#JDK="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b41/binaries/solaris-sparc"
#JCK="/net/koori.sfbay/onestop/jck/1.5/promoted/beta/b14/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/sparc"
export CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
echo `cat $JCK/build.txt | grep JCK_VERSION` `cat $JCK/build.txt | grep JCK_BUILD`
$JDK/bin/java -showversion javasoft.sqe.tests.api.java.util.EnumSet.of5Tests -TestCaseID of5001
--- script end ---
Test output:
============
JCK_VERSION=1.5 JCK_BUILD_ID=b14
java version "1.5.0-beta2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta2-b41)
Java HotSpot(TM) Client VM (build 1.5.0-beta2-b41, mixed mode)
java.lang.NullPointerException
at java.util.EnumSet.noneOf(EnumSet.java:92)
at java.util.EnumSet.of(EnumSet.java:248)
at javasoft.sqe.tests.api.java.util.EnumSet.of5Tests.of5001(of5Tests.java:44)
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:495)
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.java.util.EnumSet.of5Tests.main(of5Tests.java:28)
of5001: Failed. Test case throws exception: java.lang.NullPointerException
STATUS:Failed.test cases: 1; all failed; first test case failure: of5001
Specific machine info:
======================
Hostname: linux-19
OS: Windows 2003
Hostname: linux-22
OS: RedHat Linux 9.0 (GNOME)
Hostname: linux-3
OS: Solaris 10 (x86) (CDE)
Hostname: linux-4
OS: SuSE SLES 8
Hostname: linux-6
OS: Solaris 9 (x86) (O/W)
Hostname: linux-8
OS: Solaris 10 (sparc) (GNOME)
======================================================================