Can't activate components using bonobo_get_object



Hi!

I'm using bonobo_get_object() from bonobo CVS to activate my components.
Everything was ok until today.

Now, after calling it, the following message appeared:


Bonobo-WARNING **: Activating 'OAFIID:Bonobo_Moniker_Oaf' returned nothing

Bonobo-CRITICAL **: file bonobo-moniker-util.c: line 502
(bonobo_moniker_client_resolve_default): assertion `moniker !=
CORBA_OBJECT_NIL' failed.
Could not create an instance of the OAFIID:Com_AtenaCom_Sample_Echo
component


It seems to me that the oaf moniker can't be activated:


(gdb) r
Starting program:
/home/arturo/MOUNT/tesis/examples-src/checked-bonobo-echo/test-com-atenacom-sample-echo

Breakpoint 1, main (argc=1, argv=0xbffff7c4) at test-sample-echo.c:56
56		init_bonobo (argc, argv);
(gdb) c
Continuing.

Breakpoint 2, main (argc=1, argv=0xbffff7c4) at test-sample-echo.c:88
88		server = bonobo_get_object (obj_id,
"Com/AtenaCom/Sample/Echo", &ev);
(gdb) c
Continuing.

Breakpoint 3, bonobo_get_object (name=0x8049520
"OAFIID:Com_AtenaCom_Sample_Echo",
    interface_name=0x8049561 "Com/AtenaCom/Sample/Echo", ev=0xbffff730) at
bonobo-moniker-util.c:567
567		moniker = bonobo_moniker_client_new_from_name (name, ev);
(gdb)
Continuing.

Breakpoint 4, bonobo_moniker_util_new_from_name_full (parent=0x0,
    name=0x8049520 "OAFIID:Com_AtenaCom_Sample_Echo", ev=0xbffff730) at
bonobo-moniker-util.c:164
164			object = oaf_activate_from_id ((gchar *) iid, 0,
NULL, ev);
(gdb) n
166			if (BONOBO_EX (ev))
(gdb)
164			object = oaf_activate_from_id ((gchar *) iid, 0,
NULL, ev);
(gdb)
166			if (BONOBO_EX (ev))
(gdb)
169			if (object == CORBA_OBJECT_NIL) {
(gdb)
170				g_warning ("Activating '%s' returned
nothing", iid);
(gdb) p object
$8 = 0x0
(gdb) p iid
$9 = 0x4006ae68 "OAFIID:Bonobo_Moniker_Oaf"




	Saludos!
	Greetings!

-- 
Name:  Arturo Tena
email: arturo directmail org
ICQ:   63292893





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]