Program: 115595
Project: 115595
Buggy source:
private void updateContextFromRegistry(){
  if ((!isClustered()) || (isCoordinator())) {
    try {
      Object dataObj=RegistryManager.getInstance().read(CloudControllerConstants.DATA_RESOURCE);
      if (dataObj != null) {
        if (dataObj instanceof CloudControllerContext) {
          CloudControllerContext serializedObj=(CloudControllerContext)dataObj;
          copyMap(serializedObj.kubernetesClustersMap,kubernetesClustersMap);
          copyMap(serializedObj.clusterIdToMemberContextListMap,clusterIdToMemberContextListMap);
          copyMap(serializedObj.memberIdToMemberContextMap,memberIdToMemberContextMap);
          copyMap(serializedObj.kubClusterIdToKubClusterContextMap,kubClusterIdToKubClusterContextMap);
          copyMap(serializedObj.clusterIdToContextMap,clusterIdToContextMap);
          copyMap(serializedObj.cartridgeTypeToPartitionIdsMap,cartridgeTypeToPartitionIdsMap);
          copyMap(serializedObj.cartridgeTypeToCartridgeMap,cartridgeTypeToCartridgeMap);
          copyMap(serializedObj.serviceGroupNameToServiceGroupMap,serviceGroupNameToServiceGroupMap);
          copyMap(serializedObj.networkPartitionIDToNetworkPartitionMap,networkPartitionIDToNetworkPartitionMap);
          copyMap(serializedObj.partitionToIaasProviderByCartridge,partitionToIaasProviderByCartridge);
          copyMap(serializedObj.cartridgeTypeToIaasProviders,cartridgeTypeToIaasProviders);
          if (log.isDebugEnabled()) {
            log.debug("String_Node_Str");
          }
        }
 else {
          if (log.isDebugEnabled()) {
            log.debug("String_Node_Str");
          }
        }
      }
    }
 catch (    Exception e) {
      String msg="String_Node_Str" + "String_Node_Str";
      log.warn(msg,e);
    }
  }
}

Fixed version (ground truth):
private void updateContextFromRegistry(){
  if ((!isClustered()) || (isCoordinator())) {
    try {
      Object dataObj=RegistryManager.getInstance().read(CloudControllerConstants.DATA_RESOURCE);
      if (dataObj != null) {
        if (dataObj instanceof CloudControllerContext) {
          CloudControllerContext serializedObj=(CloudControllerContext)dataObj;
          copyMap(serializedObj.kubernetesClustersMap,kubernetesClustersMap);
          copyMap(serializedObj.clusterIdToMemberContextListMap,clusterIdToMemberContextListMap);
          copyMap(serializedObj.memberIdToMemberContextMap,memberIdToMemberContextMap);
          copyMap(serializedObj.kubClusterIdToKubClusterContextMap,kubClusterIdToKubClusterContextMap);
          copyMap(serializedObj.clusterIdToContextMap,clusterIdToContextMap);
          copyMap(serializedObj.cartridgeTypeToPartitionIdsMap,cartridgeTypeToPartitionIdsMap);
          copyMap(serializedObj.cartridgeTypeToCartridgeMap,cartridgeTypeToCartridgeMap);
          copyMap(serializedObj.serviceGroupNameToServiceGroupMap,serviceGroupNameToServiceGroupMap);
          copyMap(serializedObj.networkPartitionIDToNetworkPartitionMap,networkPartitionIDToNetworkPartitionMap);
          copyMap(serializedObj.partitionToIaasProviderByCartridge,partitionToIaasProviderByCartridge);
          copyMap(serializedObj.cartridgeTypeToIaasProviders,cartridgeTypeToIaasProviders);
          copyMap(serializedObj.applicationIdToClusterIdToPortMappings,applicationIdToClusterIdToPortMappings);
          if (log.isDebugEnabled()) {
            log.debug("String_Node_Str");
          }
        }
 else {
          if (log.isDebugEnabled()) {
            log.debug("String_Node_Str");
          }
        }
      }
    }
 catch (    Exception e) {
      String msg="String_Node_Str" + "String_Node_Str";
      log.warn(msg,e);
    }
  }
}