From 4a3dfdb925f783c1a09375ae2b6fd013afdb758e Mon Sep 17 00:00:00 2001 From: asl Date: Fri, 3 Mar 2006 11:07:22 +0000 Subject: [PATCH] PAL9103 : if engine cannot start, the unknown exception is raised --- src/Container/Container_i.cxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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(); } -- 2.39.2