[omniORB] list names in naming service

bjorn rohde jensen shamus@tdcadsl.dk
Fri Jun 14 21:30:03 2002


Hi Jian,

 I am not sure, you really need to write a program
to traverse the graph of the NameService looking for
a certain object reference, since you can easily use
the nameclt tool in prefix/bin/ for that.
 The reason for the error, you see, is pretty much,
what the error message says; tmpContextV is a nil
reference, and you cant invoke an operation on an
object reference, that points to nothing. You should
always check an object reference created by _narrow'ing
an object reference, since _narrow returns a nil reference,
if the object does not support the interface, you try to
narrow it to.

Yours sincerely,

Bjorn