From: asl Date: Fri, 3 Mar 2006 11:07:22 +0000 (+0000) Subject: PAL9103 : if engine cannot start, the unknown exception is raised X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4a3dfdb925f783c1a09375ae2b6fd013afdb758e;p=modules%2Fkernel.git PAL9103 : if engine cannot start, the unknown exception is raised --- diff --git a/src/Container/Container_i.cxx b/src/Container/Container_i.cxx index 48b3ac787..685e958d1 100644 --- a/src/Container/Container_i.cxx +++ b/src/Container/Container_i.cxx @@ -417,8 +417,11 @@ Engines_Container_i::create_component_instance(const char*genericRegisterName, SCRUTE(iors); Py_RELEASE_NEW_THREAD; - CORBA::Object_var obj = _orb->string_to_object(iors.c_str()); - iobject = Engines::Component::_narrow( obj ) ; + if( iors!="" ) + { + CORBA::Object_var obj = _orb->string_to_object(iors.c_str()); + iobject = Engines::Component::_narrow( obj ) ; + } return iobject._retn(); }