I need help with name-resolve example








Hello!

I am having a problem with the name-resolve example found in the "http://www.gnome.org/projects/ORBit2/orbit-docs/orbit/index.html" page.

I had not make any change to the source code, and just run the make command.

But once I start the name-resolve-server I got this error:

$ ./name-resolve-server

Binding service reference at name service against id: Examples/NameResolve/Service


** ERROR **: failed binding of service IDL:omg.org/CORBA/INV_OBJREF:1.0

aborting...

Aborted

So, I run the application in debug mode and manage to find where the problem lay but I don't know what to do to solve this problem.

The problem is in the name-resolve-server.c file at line 187

name_service = etk_get_name_service (global_orb, ev);

After this instruction had run, name_service is a null pointer.

So in the next instruction, line 190

etk_name_service_bind (name_service, servant, id, ev);

etk_name_service_bind() throw an exception via ev.

And this is the exception I get.

If anybody got a clue why etk_get_name_service () returns null, I will appreciated help.

Thank you

Sorry for my bad English.

Ge







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