-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
1.4.2_11
Synopsis : encoder test passing with 142_10-b03 but failing with 142_11-b01
Test Case :
===========
CTE_REGTEST/Generic/4901731/encoder.java
uname -a :
========
SunOS urti059 5.10 Generic_118844-22 i86pc i386 i86pc
more /etc/release:
=================
Solaris 10 1/06 s10x_u1wos_17 X86
Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 25 October 2005
java -version
=============
java version "1.4.2_11-ea"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_11-ea-b01)
Java HotSpot(TM) Client VM (build 1.4.2_11-ea-b01, mixed mode)
To Reproduce:
=============
install jdk in the testing machine
copy the encoder.java in the testing machine ( encoder.java Attached to the bugster)
compile the encoder.java file
excute the java file by using the command <java_home>/bin/java -Xms300m -Xmx512m encoder (according to README file attached to the bugster)
OUTPUT :
=======
took 1: 180
Write - Passed
Exception in thread "main" org.omg.CORBA.MARSHAL: underflow called with grow strategy vmcid: SUN minor code: 202 completed: No
at com.sun.corba.se.internal.iiop.BufferManagerReadGrow.underflow(BufferManagerReadGrow.java:25)
at com.sun.corba.se.internal.iiop.CDRInputStream_1_1.grow(CDRInputStream_1_1.java:73)
at com.sun.corba.se.internal.iiop.CDRInputStream_1_2.alignAndCheck(CDRInputStream_1_2.java:28)
at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_long(CDRInputStream_1_0.java:385)
at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.readStringOrIndirection(CDRInputStream_1_0.java:443)
at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_string(CDRInputStream_1_0.java:526)
at com.sun.corba.se.internal.iiop.CDRInputStream.read_string(CDRInputStream.java:197)
at com.sun.corba.se.internal.ior.IOR.<init>(IOR.java:167)
at com.sun.corba.se.internal.core.IOR.<init>(IOR.java:224)
at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_Object(CDRInputStream_1_0.java:652)
at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_abstract_interface(CDRInputStream_1_0.java:857)
at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_abstract_interface(CDRInputStream_1_0.java:851)
at com.sun.corba.se.internal.iiop.CDRInputStream.read_abstract_interface(CDRInputStream.java:309)
at com.sun.corba.se.internal.io.IIOPInputStream.readObjectDelegate(IIOPInputStream.java:228)
at com.sun.corba.se.internal.io.IIOPInputStream.readObjectOverride(IIOPInputStream.java:381)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:318)
at java.util.HashMap.readObject(HashMap.java:1010)
at com.sun.corba.se.internal.io.IIOPInputStream.readObject(Native Method)
at com.sun.corba.se.internal.io.IIOPInputStream.invokeObjectReader(IIOPInputStream.java:1298)
at com.sun.corba.se.internal.io.IIOPInputStream.inputObject(IIOPInputStream.java:908)
at com.sun.corba.se.internal.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:261)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:247)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:209)
at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:948)
at com.sun.corba.se.internal.iiop.CDRInputStream.read_value(CDRInputStream.java:289)
at encoder.main(encoder.java:65)
Exception in thread "main" org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : Serializable readObject method failed internally vmcid: SUN minor code: 211 completed: Maybe
at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:953)
at com.sun.corba.se.internal.iiop.CDRInputStream.read_value(CDRInputStream.java:289)
at encoder.main(encoder.java:65)
For 142_10-b03
==============
java -version :
==============
java version "1.4.2_10"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_10-b03)
Java HotSpot(TM) Client VM (build 1.4.2_10-b03, mixed mode)
OUTPUT:
=======
took 1: 3199
Write - Passed
took 2: 5317
Read - Passed
Test Case :
===========
CTE_REGTEST/Generic/4901731/encoder.java
uname -a :
========
SunOS urti059 5.10 Generic_118844-22 i86pc i386 i86pc
more /etc/release:
=================
Solaris 10 1/06 s10x_u1wos_17 X86
Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 25 October 2005
java -version
=============
java version "1.4.2_11-ea"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_11-ea-b01)
Java HotSpot(TM) Client VM (build 1.4.2_11-ea-b01, mixed mode)
To Reproduce:
=============
install jdk in the testing machine
copy the encoder.java in the testing machine ( encoder.java Attached to the bugster)
compile the encoder.java file
excute the java file by using the command <java_home>/bin/java -Xms300m -Xmx512m encoder (according to README file attached to the bugster)
OUTPUT :
=======
took 1: 180
Write - Passed
Exception in thread "main" org.omg.CORBA.MARSHAL: underflow called with grow strategy vmcid: SUN minor code: 202 completed: No
at com.sun.corba.se.internal.iiop.BufferManagerReadGrow.underflow(BufferManagerReadGrow.java:25)
at com.sun.corba.se.internal.iiop.CDRInputStream_1_1.grow(CDRInputStream_1_1.java:73)
at com.sun.corba.se.internal.iiop.CDRInputStream_1_2.alignAndCheck(CDRInputStream_1_2.java:28)
at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_long(CDRInputStream_1_0.java:385)
at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.readStringOrIndirection(CDRInputStream_1_0.java:443)
at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_string(CDRInputStream_1_0.java:526)
at com.sun.corba.se.internal.iiop.CDRInputStream.read_string(CDRInputStream.java:197)
at com.sun.corba.se.internal.ior.IOR.<init>(IOR.java:167)
at com.sun.corba.se.internal.core.IOR.<init>(IOR.java:224)
at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_Object(CDRInputStream_1_0.java:652)
at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_abstract_interface(CDRInputStream_1_0.java:857)
at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_abstract_interface(CDRInputStream_1_0.java:851)
at com.sun.corba.se.internal.iiop.CDRInputStream.read_abstract_interface(CDRInputStream.java:309)
at com.sun.corba.se.internal.io.IIOPInputStream.readObjectDelegate(IIOPInputStream.java:228)
at com.sun.corba.se.internal.io.IIOPInputStream.readObjectOverride(IIOPInputStream.java:381)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:318)
at java.util.HashMap.readObject(HashMap.java:1010)
at com.sun.corba.se.internal.io.IIOPInputStream.readObject(Native Method)
at com.sun.corba.se.internal.io.IIOPInputStream.invokeObjectReader(IIOPInputStream.java:1298)
at com.sun.corba.se.internal.io.IIOPInputStream.inputObject(IIOPInputStream.java:908)
at com.sun.corba.se.internal.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:261)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:247)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:209)
at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:948)
at com.sun.corba.se.internal.iiop.CDRInputStream.read_value(CDRInputStream.java:289)
at encoder.main(encoder.java:65)
Exception in thread "main" org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : Serializable readObject method failed internally vmcid: SUN minor code: 211 completed: Maybe
at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:953)
at com.sun.corba.se.internal.iiop.CDRInputStream.read_value(CDRInputStream.java:289)
at encoder.main(encoder.java:65)
For 142_10-b03
==============
java -version :
==============
java version "1.4.2_10"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_10-b03)
Java HotSpot(TM) Client VM (build 1.4.2_10-b03, mixed mode)
OUTPUT:
=======
took 1: 3199
Write - Passed
took 2: 5317
Read - Passed
- duplicates
-
JDK-6345452 JCK14a api/java_util HashMap serial constructor test throws IllegalArgumentException for 1.4.2_11 b1
- Closed
- relates to
-
JDK-6280967 (coll) Exception thrown while deserializing HashMap
- Resolved