-
Bug
-
Resolution: Not an Issue
-
P3
-
None
-
1.4.0
-
sparc
-
solaris_1
******************************************************************************
###@###.### 2002-10-31
build - Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0_03-ea-b01)
Problem description :
Unable to marshal java.util.IdentityHashMap between client and server orbs using the same jdk version. This class was introduded in merlin and it fails for hopper and mantis too.
Error trace:
Exception in thread "main" org.omg.CORBA.MARSHAL: Unmarshaller requested more data after end of stream vmcid: SUN minor code: 207 completed: No
at com.sun.corba.se.internal.iiop.BufferManagerReadStream.underflow(BufferManagerReadStream.java:56)
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:520)
at com.sun.corba.se.internal.iiop.CDRInputStream.read_string(CDRInputStream.java:197)
at com.sun.corba.se.internal.ior.IOR.<init>(IOR.java:161)
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:643)
at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_abstract_interface(CDRInputStream_1_0.java:848)
at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_abstract_interface(CDRInputStream_1_0.java:842)
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.IdentityHashMap.readObject(IdentityHashMap.java:1158)
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:939)
at com.sun.corba.se.internal.iiop.CDRInputStream.read_value(CDRInputStream.java:289)
at com.sun.corba.se.internal.corba.TCUtility.unmarshalIn(TCUtility.java:266)
at com.sun.corba.se.internal.corba.AnyImpl.read_value(AnyImpl.java:561)
at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_any(CDRInputStream_1_0.java:626)
at com.sun.corba.se.internal.iiop.CDRInputStream.read_any(CDRInputStream.java:260)
at com.sun.corba.se.internal.javax.rmi.CORBA.Util.readAny(Util.java:100) at javax.rmi.CORBA.Util.readAny(Util.java:90)
at interoperability.serialization._List_Stub.echo(Unknown Source)
at interoperability.serialization.Client.test(Client.java:70)
at interoperability.serialization.Client.main(Client.java:32)
Serializing class java.util.IdentityHashMap threw Exception
java.rmi.MarshalException: CORBA MARSHAL 1398079699 Maybe; nested exception is:
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.ShutdownUtilDelegate.mapSystemException(ShutdownUtilDelegate.java:97)
at javax.rmi.CORBA.Util.mapSystemException(Util.java:65)
at interoperability.serialization._List_Stub.echo(Unknown Source)
at interoperability.serialization.Client.test(Client.java:70)
at interoperability.serialization.Client.main(Client.java:32)
*******************************************************************************
###@###.### 2002-10-31
build - Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0_03-ea-b01)
Problem description :
Unable to marshal java.util.IdentityHashMap between client and server orbs using the same jdk version. This class was introduded in merlin and it fails for hopper and mantis too.
Error trace:
Exception in thread "main" org.omg.CORBA.MARSHAL: Unmarshaller requested more data after end of stream vmcid: SUN minor code: 207 completed: No
at com.sun.corba.se.internal.iiop.BufferManagerReadStream.underflow(BufferManagerReadStream.java:56)
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:520)
at com.sun.corba.se.internal.iiop.CDRInputStream.read_string(CDRInputStream.java:197)
at com.sun.corba.se.internal.ior.IOR.<init>(IOR.java:161)
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:643)
at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_abstract_interface(CDRInputStream_1_0.java:848)
at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_abstract_interface(CDRInputStream_1_0.java:842)
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.IdentityHashMap.readObject(IdentityHashMap.java:1158)
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:939)
at com.sun.corba.se.internal.iiop.CDRInputStream.read_value(CDRInputStream.java:289)
at com.sun.corba.se.internal.corba.TCUtility.unmarshalIn(TCUtility.java:266)
at com.sun.corba.se.internal.corba.AnyImpl.read_value(AnyImpl.java:561)
at com.sun.corba.se.internal.iiop.CDRInputStream_1_0.read_any(CDRInputStream_1_0.java:626)
at com.sun.corba.se.internal.iiop.CDRInputStream.read_any(CDRInputStream.java:260)
at com.sun.corba.se.internal.javax.rmi.CORBA.Util.readAny(Util.java:100) at javax.rmi.CORBA.Util.readAny(Util.java:90)
at interoperability.serialization._List_Stub.echo(Unknown Source)
at interoperability.serialization.Client.test(Client.java:70)
at interoperability.serialization.Client.main(Client.java:32)
Serializing class java.util.IdentityHashMap threw Exception
java.rmi.MarshalException: CORBA MARSHAL 1398079699 Maybe; nested exception is:
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.ShutdownUtilDelegate.mapSystemException(ShutdownUtilDelegate.java:97)
at javax.rmi.CORBA.Util.mapSystemException(Util.java:65)
at interoperability.serialization._List_Stub.echo(Unknown Source)
at interoperability.serialization.Client.test(Client.java:70)
at interoperability.serialization.Client.main(Client.java:32)
*******************************************************************************
- relates to
-
JDK-4652911 Hashtable serialization calls put() (undocumented)--fails when subclassed
-
- Resolved
-
-
JDK-4821217 IdentityHashMap serialize size value incorrectly
-
- Closed
-