-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
5.0
-
sparc
-
solaris_1
********************************************************************************
###@###.### 2002-12-11
Problem description :
This is a regression in ripint generic build (12/3).
Serializing java.util.Date between ripint generic and J2SE builds fails. The error seems to happens at the ripint side(client or server) while unmarshalling java.util.Date.
test :
/java/idl/ws/rip/RIP_TEST_MASTER/tests/interoperability/serialization
to run the tests.
$cd <RTM_HOME>/tests/interoperability/serialization
$rip-make -env ripint -v clean build
$rip-make -env ripint -v runnaming runserver
$rip-make -env mantis -v -port 6050 runclient
Error trace :
Exception in thread "SelectReaderThread CorbaConnectionImpl[ kokuho 62169 ESTABLISHED]" java.io.StreamCorruptedException: Default data must be read first
at com.sun.corba.ee.internal.io.InputStreamHook$InReadObjectDefaultsSentState.readData(InputStreamHook.java:350)
at com.sun.corba.ee.internal.io.IIOPInputStream.readLong(IIOPInputStream.java:781)
at java.util.Date.readObject(Date.java:1133)
at com.sun.corba.ee.internal.io.IIOPInputStream.readObject(Native Method)
at com.sun.corba.ee.internal.io.IIOPInputStream.invokeObjectReader(IIOPInputStream.java:1627)
at com.sun.corba.ee.internal.io.IIOPInputStream.inputObject(IIOPInputStream.java:1159)
at com.sun.corba.ee.internal.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:369)
at com.sun.corba.ee.internal.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:328)
at com.sun.corba.ee.internal.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:294)
at com.sun.corba.ee.internal.iiop.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1041)
at com.sun.corba.ee.internal.iiop.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:901)
at com.sun.corba.ee.internal.iiop.CDRInputStream.read_value(CDRInputStream.java:235)
at com.sun.corba.ee.internal.corba.TCUtility.unmarshalIn(TCUtility.java:266)
at com.sun.corba.ee.internal.corba.AnyImpl.read_value(AnyImpl.java:570)
at com.sun.corba.ee.internal.iiop.CDRInputStream_1_0.read_any(CDRInputStream_1_0.java:699)
at com.sun.corba.ee.internal.iiop.CDRInputStream.read_any(CDRInputStream.java:206)
at com.sun.corba.ee.internal.xgiop.MediatorToServerRequestAdapter.read_any(MediatorToServerRequestAdapter.java:253)
at com.sun.corba.ee.internal.javax.rmi.CORBA.Util.readAny(Util.java:100) at javax.rmi.CORBA.Util.readAny(Util.java:90)
at interoperability.serialization._Server_Tie._invoke(Unknown Source)
at com.sun.corba.ee.internal.subcontract.ServerDelegateImpl.dispatchToServant(ServerDelegateImpl.java:611)
at com.sun.corba.ee.internal.subcontract.ServerDelegateImpl.dispatch(ServerDelegateImpl.java:192)
at com.sun.corba.ee.internal.subcontract.ServerSubcontractImpl.handleRequest(ServerSubcontractImpl.java:317)
at com.sun.corba.ee.internal.subcontract.ServerSubcontractImpl.handleRequest(ServerSubcontractImpl.java:120)
at com.sun.corba.ee.internal.xgiop.CorbaMessageMediatorImpl.dispatchToSubcontract(CorbaMessageMediatorImpl.java:658)
at com.sun.corba.ee.internal.xgiop.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:765)
at com.sun.corba.ee.internal.iiop.messages.RequestMessage_1_2.callback(RequestMessage_1_2.java:164)
at com.sun.corba.ee.internal.xgiop.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:249)
at com.sun.corba.ee.internal.xgiop.CorbaConnectionImpl.handleReadEvent(CorbaConnectionImpl.java:846)
at com.sun.corba.ee.internal.framework.util.SelectReaderThread.run(SelectReaderThread.java:70)
********************************************************************************
###@###.### 2002-12-11
Problem description :
This is a regression in ripint generic build (12/3).
Serializing java.util.Date between ripint generic and J2SE builds fails. The error seems to happens at the ripint side(client or server) while unmarshalling java.util.Date.
test :
/java/idl/ws/rip/RIP_TEST_MASTER/tests/interoperability/serialization
to run the tests.
$cd <RTM_HOME>/tests/interoperability/serialization
$rip-make -env ripint -v clean build
$rip-make -env ripint -v runnaming runserver
$rip-make -env mantis -v -port 6050 runclient
Error trace :
Exception in thread "SelectReaderThread CorbaConnectionImpl[ kokuho 62169 ESTABLISHED]" java.io.StreamCorruptedException: Default data must be read first
at com.sun.corba.ee.internal.io.InputStreamHook$InReadObjectDefaultsSentState.readData(InputStreamHook.java:350)
at com.sun.corba.ee.internal.io.IIOPInputStream.readLong(IIOPInputStream.java:781)
at java.util.Date.readObject(Date.java:1133)
at com.sun.corba.ee.internal.io.IIOPInputStream.readObject(Native Method)
at com.sun.corba.ee.internal.io.IIOPInputStream.invokeObjectReader(IIOPInputStream.java:1627)
at com.sun.corba.ee.internal.io.IIOPInputStream.inputObject(IIOPInputStream.java:1159)
at com.sun.corba.ee.internal.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:369)
at com.sun.corba.ee.internal.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:328)
at com.sun.corba.ee.internal.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:294)
at com.sun.corba.ee.internal.iiop.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1041)
at com.sun.corba.ee.internal.iiop.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:901)
at com.sun.corba.ee.internal.iiop.CDRInputStream.read_value(CDRInputStream.java:235)
at com.sun.corba.ee.internal.corba.TCUtility.unmarshalIn(TCUtility.java:266)
at com.sun.corba.ee.internal.corba.AnyImpl.read_value(AnyImpl.java:570)
at com.sun.corba.ee.internal.iiop.CDRInputStream_1_0.read_any(CDRInputStream_1_0.java:699)
at com.sun.corba.ee.internal.iiop.CDRInputStream.read_any(CDRInputStream.java:206)
at com.sun.corba.ee.internal.xgiop.MediatorToServerRequestAdapter.read_any(MediatorToServerRequestAdapter.java:253)
at com.sun.corba.ee.internal.javax.rmi.CORBA.Util.readAny(Util.java:100) at javax.rmi.CORBA.Util.readAny(Util.java:90)
at interoperability.serialization._Server_Tie._invoke(Unknown Source)
at com.sun.corba.ee.internal.subcontract.ServerDelegateImpl.dispatchToServant(ServerDelegateImpl.java:611)
at com.sun.corba.ee.internal.subcontract.ServerDelegateImpl.dispatch(ServerDelegateImpl.java:192)
at com.sun.corba.ee.internal.subcontract.ServerSubcontractImpl.handleRequest(ServerSubcontractImpl.java:317)
at com.sun.corba.ee.internal.subcontract.ServerSubcontractImpl.handleRequest(ServerSubcontractImpl.java:120)
at com.sun.corba.ee.internal.xgiop.CorbaMessageMediatorImpl.dispatchToSubcontract(CorbaMessageMediatorImpl.java:658)
at com.sun.corba.ee.internal.xgiop.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:765)
at com.sun.corba.ee.internal.iiop.messages.RequestMessage_1_2.callback(RequestMessage_1_2.java:164)
at com.sun.corba.ee.internal.xgiop.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:249)
at com.sun.corba.ee.internal.xgiop.CorbaConnectionImpl.handleReadEvent(CorbaConnectionImpl.java:846)
at com.sun.corba.ee.internal.framework.util.SelectReaderThread.run(SelectReaderThread.java:70)
********************************************************************************