[omniORB] Bug in the omniOrbPOA::create_new_key function ?

Serguei Kolos Serguei.Kolos at cern.ch
Mon Oct 23 19:03:04 BST 2006


Duncan Grisby wrote:
>
>> - If I call the PortableServer::ObjectId_to_string function
>> (portableserver.cc:401) for this
>>    object ID it throws the BAD_PARAM exception because the Object ID
>> contains zeros.
>>     
>
> ObjectId_to_string is purely a helper function for the case that you
> have user assigned ids that are strings. It isn't intended to be used
> for system ids.
>
> What are you trying to do that requires conversion of system ids into
> strings?
>   
I'm just using them as part of my debug printout which helps me to trace 
the lifetime
of various objects. What else can I use to uniquely identify CORBA 
objects in the
debug statements?

Cheers,
Sergei



More information about the omniORB-list mailing list