Re: Problems with reference_to_servant?
- From: Michael Meeks <michael ximian com>
- To: Chris Roberts <croberts bongle co uk>
- Cc: orbit <orbit-list gnome org>
- Subject: Re: Problems with reference_to_servant?
- Date: Thu, 18 Sep 2003 15:03:52 +0100
Hi Chris,
On Sun, 2003-09-14 at 20:22, Chris Roberts wrote:
> to modify a newly created object, however when I try to manipulate an object
> created elsewhere in the server code:
> name = RMP_Interface__get_name(interface, ev);
> serv = PortableServer_POA_reference_to_servant(poa, interface, ev);
Hmm; sounds very strange; are you certain that the 'interface' pointers
are identical ?
> ** (process:15382): WARNING **: file poa.c: line 1885: assertion
> `reference->adaptor_obj != NULL' failed. returning exception
> 'IDL:omg.org/PortableServer/POA/WrongAdapter:1.0'
That would seem to suggest you're attempting this on an object that is
not implemented in this process.
> The POA being passed into the call is the same on both calls, and is the POA
> of the RMP_Interface factory in both cases. I don't entirely understand the
> error above enough to track this down.
Poke at ORBit2/src/orb/poa/poa.c then I guess.
Regards,
Michael.
--
michael@ximian.com <><, Pseudo Engineer, itinerant idiot
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]