Index: tol/btol/set_type/set.cpp
===================================================================
--- tol/btol/set_type/set.cpp	(revision 7046b67fae49ca469e96ee5276df1d16dc0f8a43)
+++ tol/btol/set_type/set.cpp	(revision c02c817e1c7d74ea10ab9e34532ecde046264ff5)
@@ -353,5 +353,5 @@
 //--------------------------------------------------------------------
 {
-  if(nameBlock_)
+  if(nameBlock_ && nameBlock_->EnsureIsAssigned())
   {
     Error(I2("Cannot access to NameBlock members with operator ",
@@ -483,5 +483,5 @@
 //--------------------------------------------------------------------
 {
-  if(nameBlock_)
+  if(nameBlock_ && nameBlock_->EnsureIsAssigned())
   {
     Error(I2("Cannot access to NameBlock members with operator ",
@@ -523,5 +523,5 @@
 	  }
   }
-  else if(nameBlock_)
+  else if(nameBlock_ && nameBlock_->EnsureIsAssigned())
   {
     Error(I2("Cannot access to NameBlock members with ",
@@ -556,5 +556,8 @@
   BText txt;
   BText end;
-  if(nameBlock_) { txt = "NameBlock [["; end = "]]"; } else 
+  if(nameBlock_&& nameBlock_->EnsureIsAssigned()) 
+  { 
+    txt = "NameBlock [["; end = "]]"; 
+  } else 
   if(Struct()) { txt = struct_->Name() + "("; end = ")"; }  
   else { txt = "[[ "; end = "]]"; }
@@ -958,5 +961,5 @@
 //--------------------------------------------------------------------
 {
-  if(!nameBlock_)
+  if(!nameBlock_ || !nameBlock_->EnsureIsAssigned())
   {
     errMsg = I2("Cannot access to member ",
