[omniORB] PortableServer::ObjectId_to_string crashes the client.

Alfonso Tamés alfonso@tames.com
Fri, 20 Jul 2001 20:06:22 -0500



Hi,

Does anyone knows why when I put this line:

CORBA::String_var oid_str = PortableServer::ObjectId_to_string(oid);

inside a preinvoke method of the servant_locator class of the poa example it 
crashes the client with error:

Caught a CORBA::SystemException

I am doing exactly the same thing as in the Vinoski book, it seems strange.

Thanks for any help !