[omniORB] Unassigned Any's and BEA M3

Fredrik Tillman ftillman@coactive.com
Thu, 15 Apr 1999 19:29:11 -0700


Hi,

I'm having trouble sending Any's that haven't been assigned a value (except
by the constructor) to a BEA M3 system. I'm using a 2.6.1-based omniORB
client with an M3 server, and what happens is the omniORB client throws a
CORBA::INTERNAL exception when calling a function on the M3 system that
takes an Any, if the supplied Any has not been assigned a value. See below.
I tried tracing through the client code, and it seems it's in the process of
receiving the reply when the exception is thrown.

CORBA::Any theUninitializedAny;
serverObjRef->SendAny(theUninitializedAny);   // IDL: void SendAny ( in any
the_any );

Has anyone else seen this and/or a solution to it?

TIA,
    Fredrik Tillman