-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
5.0
-
generic
-
generic
Name: mmR10223 Date: 09/11/2003
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.5.0-b18, JDK1.5.0-b17
JCK : JCK1.5-runtime (b03)
Platform[s] : all
switch/Mode : default
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Falling test[s]:
api/java_rmi/activation/ActivationGroup/index.html#activate3 [ActivationGroup2008]
This test was excluded from JCK1.5 (b02).
Test source location:
=====================
/java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-15/tests/api/java_rmi/activation/ActivationGroup/activate3Tests.java
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b18/jck15/linux/suse8.0_gnome_server_linux-2/workDir/api/java_rmi/activation/ActivationGroup/index_activate3.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"
$JDK/bin/java $switches -cp $CLASSPATH javasoft.sqe.tests.api.java.rmi.activation.ActivationGroup.activate3Tests -TestCaseID ActivationGroup2008
--- script end ---
Test output:
============
Created activation group -2068470546
Removed activation group -2068470546
java.lang.ClassCastException: javasoft.sqe.tests.api.java.rmi.activation.ActivationProtocol
at java.rmi.activation.ActivationID.writeObject(ActivationID.java:193)
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 java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:846)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1299)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1250)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1055)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
at sun.rmi.server.ActivatableRef.writeExternal(ActivatableRef.java:333)
at java.rmi.server.RemoteObject.writeObject(RemoteObject.java:362)
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 java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:846)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1299)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1250)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1055)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
at java.rmi.MarshalledObject.<init>(MarshalledObject.java:92)
at javasoft.sqe.tests.api.java.rmi.activation.ActivationGroup.activate3Tests$TestGroup.activeObject(activate3Tests.java:57)
at java.rmi.activation.Activatable.exportObject(Activatable.java:309)
at javasoft.sqe.tests.api.java.rmi.activation.TestObject2Impl.<init>(TestObject2Impl.java:42)
at javasoft.sqe.tests.api.java.rmi.activation.ActivationGroup.activate3Tests.ActivationGroup2008(activate3Tests.java:109)
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.tests.api.java.rmi.activation.ActivationGroupTest.invokeTestCase(ActivationGroupTest.java:69)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
at javasoft.sqe.tests.api.java.rmi.activation.ActivationTest.run(ActivationTest.java:117)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
at javasoft.sqe.tests.api.java.rmi.activation.ActivationGroup.activate3Tests.main(activate3Tests.java:93)
ActivationGroup2008: Failed. Test case throws exception: java.lang.ClassCastException: javasoft.sqe.tests.api.java.rmi.activation.ActivationProtocol
STATUS:Failed.test cases: 1; all failed; first test case failure: ActivationGroup2008
result: Failed. test cases: 1; all failed; first test case failure: ActivationGroup2008
Specific machine info:
======================
Hostname: linux-2
OS: Suse Linux 8.2 (GNOME2)
======================================================================