The following test failed on merlin build 46 and passed on build 44.
Failing Test:
=============
api/java_net/URL/serial/index.html#InputTests
Test source location:
=====================
/usr/local/java/jck1.3/JCK-runtime-13fcs/tests/api/java_net/URL/serial/InputTests.java
Platforms:
=============
Failed on x86 5.6 and on sparc S7.
Haven't checked on other OSs.
JDK, switches Info:
===================
jdk1.4.0/bin/java -version
java version "1.4.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b46)
Java HotSpot(TM) Client VM (build 1.4beta-B45, mixed mode)
Failed for -client.
jtr file location:
==================
file:/net/jtg-i104/export/home/jtg-test/JH_jdk14_b44_jck13/workDir/api/java_net/URL/serial/index_InputTests.jtr
(This jtr file is also in the attachment.)
How to reproduce:
=================
Run the attached script:
1) URLInputTest.ksh
ERROR MESSAGE:
==============
----------log:(21/1293)----------
java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invoke(Native Method)
at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:408)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:204)
at javasoft.sqe.tests.api.java.net.URL.serial.InputTests.main(InputTests.java:57)
Caused by: java.lang.NullPointerException
at java.util.Hashtable.get(Hashtable.java:320)
at java.net.URL.getURLStreamHandler(URL.java:923)
at java.net.URL.readObject(URL.java:1046)
at sun.misc.Unsafe.invokeSpecial(Native Method)
at sun.misc.ClassReflector.invokeSpecial(ClassReflector.java:376)
at $ClassReflector0.readObject(Unknown Source)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1585)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1508)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1161)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:283)
at javasoft.sqe.serial.util.Convert.streamObjectToObject(Convert.java:60)
at javasoft.sqe.tests.api.java.net.URL.serial.InputTests.InputTest0001(InputTests.java:140)
... 4 more
InputTest0001: Failed. Test case throws exception: java.lang.NullPointerException
STATUS:Failed.tests: 1; failed: 1; first test case failure: InputTest0001
result: Failed. tests: 1; failed: 1; first test case failure: InputTest0001
System Info:
============
x86:
----
jtg-i104% uname -a
SunOS jtg-i104 5.6 Generic_105182-20 i86pc i386 i86pc
jtg-i104% psrinfo -v
Status of processor 0 as of: 12/19/00 12:26:41
Processor has been on-line since 12/13/00 16:50:54.
The i386 processor operates at 234 MHz,
and has an i387 compatible floating point processor.
Status of processor 1 as of: 12/19/00 12:26:41
Processor has been on-line since 12/13/00 16:50:54.
The i386 processor operates at 234 MHz,
and has an i387 compatible floating point processor.
SPARC:
-------
jtg-s117% uname -a
SunOS jtg-s117 5.7 Generic_106541-12 sun4u sparc SUNW,Ultra-60
jtg-s117% psrinfo -v
Status of processor 0 as of: 12/21/00 16:16:07
Processor has been on-line since 12/20/00 10:44:13.
The sparcv9 processor operates at 296 MHz,
and has a sparcv9 floating point processor.
Status of processor 2 as of: 12/21/00 16:16:07
Processor has been on-line since 12/20/00 10:44:14.
The sparcv9 processor operates at 296 MHz,
and has a sparcv9 floating point processor.
Additional JCK related info:
============================
URL to find JCK test owners: http://javaweb.eng/jck/usr/owners.jto
JCK FAQ: http://javaweb.eng/jck/usr/ConformanceTesting/JCKconformanceFaq.html
srilakshmi.chappidi@Eng 2001-01-05
Failing Test:
=============
api/java_net/URL/serial/index.html#InputTests
Test source location:
=====================
/usr/local/java/jck1.3/JCK-runtime-13fcs/tests/api/java_net/URL/serial/InputTests.java
Platforms:
=============
Failed on x86 5.6 and on sparc S7.
Haven't checked on other OSs.
JDK, switches Info:
===================
jdk1.4.0/bin/java -version
java version "1.4.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b46)
Java HotSpot(TM) Client VM (build 1.4beta-B45, mixed mode)
Failed for -client.
jtr file location:
==================
file:/net/jtg-i104/export/home/jtg-test/JH_jdk14_b44_jck13/workDir/api/java_net/URL/serial/index_InputTests.jtr
(This jtr file is also in the attachment.)
How to reproduce:
=================
Run the attached script:
1) URLInputTest.ksh
ERROR MESSAGE:
==============
----------log:(21/1293)----------
java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invoke(Native Method)
at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:408)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:204)
at javasoft.sqe.tests.api.java.net.URL.serial.InputTests.main(InputTests.java:57)
Caused by: java.lang.NullPointerException
at java.util.Hashtable.get(Hashtable.java:320)
at java.net.URL.getURLStreamHandler(URL.java:923)
at java.net.URL.readObject(URL.java:1046)
at sun.misc.Unsafe.invokeSpecial(Native Method)
at sun.misc.ClassReflector.invokeSpecial(ClassReflector.java:376)
at $ClassReflector0.readObject(Unknown Source)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1585)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1508)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1161)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:283)
at javasoft.sqe.serial.util.Convert.streamObjectToObject(Convert.java:60)
at javasoft.sqe.tests.api.java.net.URL.serial.InputTests.InputTest0001(InputTests.java:140)
... 4 more
InputTest0001: Failed. Test case throws exception: java.lang.NullPointerException
STATUS:Failed.tests: 1; failed: 1; first test case failure: InputTest0001
result: Failed. tests: 1; failed: 1; first test case failure: InputTest0001
System Info:
============
x86:
----
jtg-i104% uname -a
SunOS jtg-i104 5.6 Generic_105182-20 i86pc i386 i86pc
jtg-i104% psrinfo -v
Status of processor 0 as of: 12/19/00 12:26:41
Processor has been on-line since 12/13/00 16:50:54.
The i386 processor operates at 234 MHz,
and has an i387 compatible floating point processor.
Status of processor 1 as of: 12/19/00 12:26:41
Processor has been on-line since 12/13/00 16:50:54.
The i386 processor operates at 234 MHz,
and has an i387 compatible floating point processor.
SPARC:
-------
jtg-s117% uname -a
SunOS jtg-s117 5.7 Generic_106541-12 sun4u sparc SUNW,Ultra-60
jtg-s117% psrinfo -v
Status of processor 0 as of: 12/21/00 16:16:07
Processor has been on-line since 12/20/00 10:44:13.
The sparcv9 processor operates at 296 MHz,
and has a sparcv9 floating point processor.
Status of processor 2 as of: 12/21/00 16:16:07
Processor has been on-line since 12/20/00 10:44:14.
The sparcv9 processor operates at 296 MHz,
and has a sparcv9 floating point processor.
Additional JCK related info:
============================
URL to find JCK test owners: http://javaweb.eng/jck/usr/owners.jto
JCK FAQ: http://javaweb.eng/jck/usr/ConformanceTesting/JCKconformanceFaq.html
srilakshmi.chappidi@Eng 2001-01-05
- duplicates
-
JDK-4404696 java.io.ObjectInputStream.readObject() no longer suport dots in field's types
- Closed