summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2006-07-04 13:25:39 +0000
committerMark Spruiell <mes@zeroc.com>2006-07-04 13:25:39 +0000
commit69861eca9d376dde7913c95705b1bbd0fac84715 (patch)
treee29ab4c4959cf9c33b11a8e709f32baf9457d5e0 /cpp/src
parentreverting change in 1.42 (diff)
downloadice-69861eca9d376dde7913c95705b1bbd0fac84715.tar.bz2
ice-69861eca9d376dde7913c95705b1bbd0fac84715.tar.xz
ice-69861eca9d376dde7913c95705b1bbd0fac84715.zip
fixing NullHandleException
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/Ice/Instance.cpp7
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;