-
Bug
-
Resolution: Fixed
-
P3
-
1.4.0
-
beta
-
x86, sparc
-
generic, linux, windows_2000
-
Verified
JDK : jdk1.4.0-beta_refresh-b73
JCK : JCK1.4-b07
Platform[s] : Solaris Sparc/Intel -> Failed on all OS
switch/Mode : -Client & (All other switches)
JCK test owner : http://javaweb.eng/jct/sqe/JCK-tck/usr/owners.jto
Failing Test : api/java_beans/XMLEncoder/index.html#write
[XMLEncoder2006, XMLEncoder2007, XMLEncoder2008]
Test source location:
=====================
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_beans/XMLEncoder/writeTests.java
jtr file location:
==================
/net/jtgb4u4c.eng/export/sail15/results/merlin/b73/jck14/sparc/s8_client_jtg-s112/workDir/api/java_beans/XMLEncoder/index_write.jtr
How to reproduce:
==================
1) beans_XMLEncoder_write.ksh
--------------Start Script-------------------------------
#!/bin/ksh
SWITCH=${1+$@}
JDK=/net/jdk/export/disk8/local.java/jdk1.4
TESTBASE=/net/jdk/export/disk8/local.java/jck1.4
JCK=${TESTBASE}/JCK-runtime-14
executeClass="javasoft.sqe.tests.api.java.beans.XMLEncoder.writeTests"
excludeCmd="-exclude XMLEncoder0005,XMLEncoder0006"
executeClassArgs=
executeTestURL=
headless=
executeContextArgs=
case `uname -s` in
SunOS)
ARCH=`uname -p`
case $ARCH in
sparc)
sharedJDK=$JDK/solsparc
;;
i386)
sharedJDK=$JDK/solx86
;;
esac
;;
Linux)
sharedJDK=$JDK/linux-i386
ARCH=linux
;;
esac
CLASSPATH=${JCK}/classes:${JCK}/javatest.jar
DISPLAY=${DISPLAY-$HOST:0.0}
if `echo $SWITCH|grep "\-d64" >/dev/null`; then
LD_LIBRARY_PATH=${JCK}/lib/sparcv9
else
LD_LIBRARY_PATH=${JCK}/lib/${ARCH}
fi
PATH=$JDK/bin:$sharedJDK/bin:$PATH
export PATH CLASSPATH DISPLAY LD_LIBRARY_PATH
echo
java ${SWITCH} -version
echo
java ${SWITCH} -verify -Xfuture -Djava.security.policy=${JCK}/lib/jck.policy -Djava.security.auth.policy=${JCK}/lib/java.auth.policy -Djava.security.auth.login.config=${JCK}/lib/java.login.config -Djava.rmi.activation.port=${executeClass} ${executeClass} ${excludeCmd} ${executeClassArgs} ${executeContextArgs} ${executeTestURL} ----------------End Script------------------------------------------
Test output:
=============
java.lang.ArrayIndexOutOfBoundsException
at java.beans.ObjectHandler.dequeueResult(XMLDecoder.java:270)
at java.beans.XMLDecoder.readObject(XMLDecoder.java:148)
at javasoft.sqe.tests.api.java.beans.XMLEncoder.writeTests.XMLEncoder2006(writeTests.java:150)
at sun.reflect.GeneratedMethodAccessor1704.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Method.java:311)
at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:407)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:203)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd.executeStandardTest(ExecJCKTestSameJVMCmd.java:226)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd.run(ExecJCKTestSameJVMCmd.java:160)
at com.sun.javatest.agent.Agent$Task.executeCommand(Agent.java:747)
at com.sun.javatest.agent.Agent$Task.execute(Agent.java:676)
at com.sun.javatest.agent.Agent$Task.handleRequest(Agent.java:534)
at com.sun.javatest.agent.Agent.handleRequestsUntilClosed(Agent.java:320)
at com.sun.javatest.agent.Agent.access$000(Agent.java:56)
at com.sun.javatest.agent.Agent$1.run(Agent.java:208)
at java.lang.Thread.run(Thread.java:579)
XMLEncoder2006: Failed. Test case throws exception: java.lang.ArrayIndexOutOfBoundsException
java.lang.ArrayIndexOutOfBoundsException
at java.beans.ObjectHandler.dequeueResult(XMLDecoder.java:270)
at java.beans.XMLDecoder.readObject(XMLDecoder.java:148)
at javasoft.sqe.tests.api.java.beans.XMLEncoder.writeTests.XMLEncoder2007(writeTests.java:172)
at sun.reflect.GeneratedMethodAccessor1705.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Method.java:311)
at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:407)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:203)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd.executeStandardTest(ExecJCKTestSameJVMCmd.java:226)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd.run(ExecJCKTestSameJVMCmd.java:160)
at com.sun.javatest.agent.Agent$Task.executeCommand(Agent.java:747)
at com.sun.javatest.agent.Agent$Task.execute(Agent.java:676)
at com.sun.javatest.agent.Agent$Task.handleRequest(Agent.java:534)
at com.sun.javatest.agent.Agent.handleRequestsUntilClosed(Agent.java:320)
at com.sun.javatest.agent.Agent.access$000(Agent.java:56)
at com.sun.javatest.agent.Agent$1.run(Agent.java:208)
at java.lang.Thread.run(Thread.java:579)
XMLEncoder2007: Failed. Test case throws exception: java.lang.ArrayIndexOutOfBoundsException
java.lang.ArrayIndexOutOfBoundsException
at java.beans.ObjectHandler.dequeueResult(XMLDecoder.java:270)
at java.beans.XMLDecoder.readObject(XMLDecoder.java:148)
at javasoft.sqe.tests.api.java.beans.XMLEncoder.writeTests.XMLEncoder2008(writeTests.java:217)
at sun.reflect.GeneratedMethodAccessor1706.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Method.java:311)
at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:407)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:203)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd.executeStandardTest(ExecJCKTestSameJVMCmd.java:226)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd.run(ExecJCKTestSameJVMCmd.java:160)
at com.sun.javatest.agent.Agent$Task.executeCommand(Agent.java:747)
at com.sun.javatest.agent.Agent$Task.execute(Agent.java:676)
at com.sun.javatest.agent.Agent$Task.handleRequest(Agent.java:534)
at com.sun.javatest.agent.Agent.handleRequestsUntilClosed(Agent.java:320)
at com.sun.javatest.agent.Agent.access$000(Agent.java:56)
at com.sun.javatest.agent.Agent$1.run(Agent.java:208)
at java.lang.Thread.run(Thread.java:579)
XMLEncoder2008: Failed. Test case throws exception: java.lang.ArrayIndexOutOfBoundsException
result: Failed. tests: 6; passed: 3; failed: 3; first test case failure: XMLEncoder2006
Specific Machine Info:
======================
SunOS jtg-i116 5.8 Generic i86pc i386 i86pc
SunOS jtg-s120 5.8 Generic sun4u sparc SUNW,Ultra-60
srilakshmi.chappidi@Eng 2001-08-02
JCK : JCK1.4-b07
Platform[s] : Solaris Sparc/Intel -> Failed on all OS
switch/Mode : -Client & (All other switches)
JCK test owner : http://javaweb.eng/jct/sqe/JCK-tck/usr/owners.jto
Failing Test : api/java_beans/XMLEncoder/index.html#write
[XMLEncoder2006, XMLEncoder2007, XMLEncoder2008]
Test source location:
=====================
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_beans/XMLEncoder/writeTests.java
jtr file location:
==================
/net/jtgb4u4c.eng/export/sail15/results/merlin/b73/jck14/sparc/s8_client_jtg-s112/workDir/api/java_beans/XMLEncoder/index_write.jtr
How to reproduce:
==================
1) beans_XMLEncoder_write.ksh
--------------Start Script-------------------------------
#!/bin/ksh
SWITCH=${1+$@}
JDK=/net/jdk/export/disk8/local.java/jdk1.4
TESTBASE=/net/jdk/export/disk8/local.java/jck1.4
JCK=${TESTBASE}/JCK-runtime-14
executeClass="javasoft.sqe.tests.api.java.beans.XMLEncoder.writeTests"
excludeCmd="-exclude XMLEncoder0005,XMLEncoder0006"
executeClassArgs=
executeTestURL=
headless=
executeContextArgs=
case `uname -s` in
SunOS)
ARCH=`uname -p`
case $ARCH in
sparc)
sharedJDK=$JDK/solsparc
;;
i386)
sharedJDK=$JDK/solx86
;;
esac
;;
Linux)
sharedJDK=$JDK/linux-i386
ARCH=linux
;;
esac
CLASSPATH=${JCK}/classes:${JCK}/javatest.jar
DISPLAY=${DISPLAY-$HOST:0.0}
if `echo $SWITCH|grep "\-d64" >/dev/null`; then
LD_LIBRARY_PATH=${JCK}/lib/sparcv9
else
LD_LIBRARY_PATH=${JCK}/lib/${ARCH}
fi
PATH=$JDK/bin:$sharedJDK/bin:$PATH
export PATH CLASSPATH DISPLAY LD_LIBRARY_PATH
echo
java ${SWITCH} -version
echo
java ${SWITCH} -verify -Xfuture -Djava.security.policy=${JCK}/lib/jck.policy -Djava.security.auth.policy=${JCK}/lib/java.auth.policy -Djava.security.auth.login.config=${JCK}/lib/java.login.config -Djava.rmi.activation.port=${executeClass} ${executeClass} ${excludeCmd} ${executeClassArgs} ${executeContextArgs} ${executeTestURL} ----------------End Script------------------------------------------
Test output:
=============
java.lang.ArrayIndexOutOfBoundsException
at java.beans.ObjectHandler.dequeueResult(XMLDecoder.java:270)
at java.beans.XMLDecoder.readObject(XMLDecoder.java:148)
at javasoft.sqe.tests.api.java.beans.XMLEncoder.writeTests.XMLEncoder2006(writeTests.java:150)
at sun.reflect.GeneratedMethodAccessor1704.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Method.java:311)
at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:407)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:203)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd.executeStandardTest(ExecJCKTestSameJVMCmd.java:226)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd.run(ExecJCKTestSameJVMCmd.java:160)
at com.sun.javatest.agent.Agent$Task.executeCommand(Agent.java:747)
at com.sun.javatest.agent.Agent$Task.execute(Agent.java:676)
at com.sun.javatest.agent.Agent$Task.handleRequest(Agent.java:534)
at com.sun.javatest.agent.Agent.handleRequestsUntilClosed(Agent.java:320)
at com.sun.javatest.agent.Agent.access$000(Agent.java:56)
at com.sun.javatest.agent.Agent$1.run(Agent.java:208)
at java.lang.Thread.run(Thread.java:579)
XMLEncoder2006: Failed. Test case throws exception: java.lang.ArrayIndexOutOfBoundsException
java.lang.ArrayIndexOutOfBoundsException
at java.beans.ObjectHandler.dequeueResult(XMLDecoder.java:270)
at java.beans.XMLDecoder.readObject(XMLDecoder.java:148)
at javasoft.sqe.tests.api.java.beans.XMLEncoder.writeTests.XMLEncoder2007(writeTests.java:172)
at sun.reflect.GeneratedMethodAccessor1705.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Method.java:311)
at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:407)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:203)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd.executeStandardTest(ExecJCKTestSameJVMCmd.java:226)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd.run(ExecJCKTestSameJVMCmd.java:160)
at com.sun.javatest.agent.Agent$Task.executeCommand(Agent.java:747)
at com.sun.javatest.agent.Agent$Task.execute(Agent.java:676)
at com.sun.javatest.agent.Agent$Task.handleRequest(Agent.java:534)
at com.sun.javatest.agent.Agent.handleRequestsUntilClosed(Agent.java:320)
at com.sun.javatest.agent.Agent.access$000(Agent.java:56)
at com.sun.javatest.agent.Agent$1.run(Agent.java:208)
at java.lang.Thread.run(Thread.java:579)
XMLEncoder2007: Failed. Test case throws exception: java.lang.ArrayIndexOutOfBoundsException
java.lang.ArrayIndexOutOfBoundsException
at java.beans.ObjectHandler.dequeueResult(XMLDecoder.java:270)
at java.beans.XMLDecoder.readObject(XMLDecoder.java:148)
at javasoft.sqe.tests.api.java.beans.XMLEncoder.writeTests.XMLEncoder2008(writeTests.java:217)
at sun.reflect.GeneratedMethodAccessor1706.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Method.java:311)
at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:407)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:203)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd.executeStandardTest(ExecJCKTestSameJVMCmd.java:226)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd.run(ExecJCKTestSameJVMCmd.java:160)
at com.sun.javatest.agent.Agent$Task.executeCommand(Agent.java:747)
at com.sun.javatest.agent.Agent$Task.execute(Agent.java:676)
at com.sun.javatest.agent.Agent$Task.handleRequest(Agent.java:534)
at com.sun.javatest.agent.Agent.handleRequestsUntilClosed(Agent.java:320)
at com.sun.javatest.agent.Agent.access$000(Agent.java:56)
at com.sun.javatest.agent.Agent$1.run(Agent.java:208)
at java.lang.Thread.run(Thread.java:579)
XMLEncoder2008: Failed. Test case throws exception: java.lang.ArrayIndexOutOfBoundsException
result: Failed. tests: 6; passed: 3; failed: 3; first test case failure: XMLEncoder2006
Specific Machine Info:
======================
SunOS jtg-i116 5.8 Generic i86pc i386 i86pc
SunOS jtg-s120 5.8 Generic sun4u sparc SUNW,Ultra-60
srilakshmi.chappidi@Eng 2001-08-02