-
Bug
-
Resolution: Fixed
-
P2
-
5.0
-
tiger
-
generic, x86
-
generic, linux, windows_2003
-
Verified
Name: mmR10223 Date: 08/21/2003
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.5.0-b15 (pass using JDK1.5.0-b14, JDK1.4.2-b28 )
JCK : JCK1.5-runtime (b02)
Platform[s] : all
switch/Mode : defaultJCK test owner : http://javaweb.eng/jck/usr/owners.jto
Falling test[s]:
api/java_rmi/server/RemoteObject/index.html#ToStub [RemoteObject0002]
Test source location:
=====================
/java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-5/tests/api/java_rmi/server/RemoteObject/ToStubTests.java
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b15/jck15/linux/suse8.0_gnome_server_linux-2/workDir/api/java_rmi/server/RemoteObject/index_ToStub.jtr
How to reproduce:
=================
Run the following script (you may need to change its variables)
--- script start ---
#!/bin/bash
JCK="/java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-15"
JDK="/java/re/jdk/1.5.0/promoted/latest/binaries/solaris-sparc"
CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
$JDK/bin/java $switches -cp $CLASSPATH javasoft.sqe.tests.api.java.rmi.server.RemoteObject.ToStubTests -TestCaseID RemoteObject0002
--- script end ---
Test output:
============
java.lang.NullPointerException
at java.rmi.server.RemoteObject.toStub(RemoteObject.java:82)
at javasoft.sqe.tests.api.java.rmi.server.RemoteObject.ToStubTests.RemoteObject0002(ToStubTests.java:65)
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.java.rmi.server.RemoteObject.ToStubTests.main(ToStubTests.java:27)
RemoteObject0002: Failed. Test case throws exception: java.lang.NullPointerException
STATUS:Failed.test cases: 1; all failed; first test case failure: RemoteObject0002
Specific machine info:
======================
Hostname: linux-19
OS: Windows 2003
Hostname: linux-2
OS: Suse Linux 8.2 (GNOME2)
Hostname: linux-8
OS: Solaris 10 (sparc) (GNOME)
======================================================================