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

Duncan Grisby duncan at grisby.org
Mon Oct 23 17:57:56 BST 2006


On Thursday 19 October, Serguei Kolos wrote:

> I'm using omniORB 4.0.7 on Linux and it seems that I get into trouble with
> the Object ID manipulation. The problem is:
> 
>  - I'm using my own POA with the System ID policy

[...]
> - 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?

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --



More information about the omniORB-list mailing list