diff options
author | Mark Spruiell <mes@zeroc.com> | 2006-07-04 13:25:39 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2006-07-04 13:25:39 +0000 |
commit | 69861eca9d376dde7913c95705b1bbd0fac84715 (patch) | |
tree | e29ab4c4959cf9c33b11a8e709f32baf9457d5e0 /cpp/src/Ice/Instance.cpp | |
parent | reverting change in 1.42 (diff) | |
download | ice-69861eca9d376dde7913c95705b1bbd0fac84715.tar.bz2 ice-69861eca9d376dde7913c95705b1bbd0fac84715.tar.xz ice-69861eca9d376dde7913c95705b1bbd0fac84715.zip |
fixing NullHandleException
Diffstat (limited to 'cpp/src/Ice/Instance.cpp')
-rw-r--r-- | cpp/src/Ice/Instance.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cpp/src/Ice/Instance.cpp b/cpp/src/Ice/Instance.cpp index abd02746d5b..ada0e33b5b8 100644 --- a/cpp/src/Ice/Instance.cpp +++ b/cpp/src/Ice/Instance.cpp @@ -471,7 +471,12 @@ IceInternal::Instance::Instance(const CommunicatorPtr& communicator, const Initi throw ex; } } - + + if(!_initData.properties) + { + _initData.properties = createProperties(); + } + if(_initData.properties->getPropertyAsInt("Ice.NullHandleAbort") > 0) { IceUtil::nullHandleAbort = true; |