summaryrefslogtreecommitdiff
path: root/CIAO/ciao/Deployment/Interceptors/Deployment_Interceptors.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'CIAO/ciao/Deployment/Interceptors/Deployment_Interceptors.cpp')
-rw-r--r--CIAO/ciao/Deployment/Interceptors/Deployment_Interceptors.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/CIAO/ciao/Deployment/Interceptors/Deployment_Interceptors.cpp b/CIAO/ciao/Deployment/Interceptors/Deployment_Interceptors.cpp
index 945a4a8e778..644db408a8e 100644
--- a/CIAO/ciao/Deployment/Interceptors/Deployment_Interceptors.cpp
+++ b/CIAO/ciao/Deployment/Interceptors/Deployment_Interceptors.cpp
@@ -49,6 +49,16 @@ namespace CIAO
ACE_TEXT ("Interceptor post install for instance %C\n"),
plan.instance[instance_index].name.in ()));
+ if (&instance_reference == 0)
+ {
+ DANCE_ERROR (3, (LM_WARNING, DLINFO
+ ACE_TEXT ("CIAO_StoreReferences_i::instance_post_install - ")
+ ACE_TEXT ("Got a nil instance_reference, unable to store reference ")
+ ACE_TEXT ("for instance <%C>\n"),
+ inst.name.in ()));
+ return;
+ }
+
for (CORBA::ULong i = 0;
i < inst.configProperty.length ();
++i)