On Wed, 9 Nov 2005, Analyzer wrote:
Dear MICO!
I'm currently developping an application in this environment : patform solaris 2.8
& mico.2.3.11.
(using TMF814 v2.0 recomendations)
I have a problem in running my program.
This is what occurs when launched :
$> static.cc:698: failed assertion `(*(_MICO_T *)v)->_ior()'
$> Abort - core dumped
some sources :
[...]
NmsSession_I_impl *client = new NmsSession_I_impl();
EmsSession_I_var emsSessionInterface;
try { EmsSessionFactory_I_var emsSessionFactory =
EmsSessionFactory_I::_narrow (obj);
here is a check for emsSessionFactory missing! You can use something like:
assert(!CORBA::is_nil(emsSessionFactory));
for development.
emsSessionFactory->getEmsSession("userName","TuserPass", client,
emsSessionInterface);
^^^^^^
also here, you seems to invoke remote operation, but do not pass CORBA
object!
May I recommend you to read some nice book about CORBA? Although a bit
old, Henning's&Vinoski's Advanced CORBA programming with C++ is still
great.
Cheers,
Karel
--
Karel Gardas [EMAIL PROTECTED]
ObjectSecurity Ltd. http://www.objectsecurity.com
---
Need experienced, fast, reliable technical MICO support?
---> http://www.objectsecurity.com/commsup.html <---
---
_______________________________________________
Mico-devel mailing list
[email protected]
http://www.mico.org/mailman/listinfo/mico-devel