Program: 115577
Project: 115577
Buggy source:
private CloudControllerContext(){
  AxisConfiguration axisConfiguration=ServiceReferenceHolder.getInstance().getAxisConfiguration();
  if ((axisConfiguration != null) && (axisConfiguration.getClusteringAgent() != null)) {
    clustered=true;
  }
  distributedObjectProvider=ServiceReferenceHolder.getInstance().getDistributedObjectProvider();
  kubernetesClustersMap=distributedObjectProvider.getMap(CC_KUB_GROUP_ID_TO_GROUP_MAP);
  clusterIdToMemberContextListMap=distributedObjectProvider.getMap(CC_CLUSTER_ID_TO_MEMBER_CTX_MAP);
  memberIdToMemberContextMap=distributedObjectProvider.getMap(CC_MEMBER_ID_TO_MEMBER_CTX_MAP);
  memberIdToScheduledTaskMap=distributedObjectProvider.getMap(CC_MEMBER_ID_TO_SCH_TASK_MAP);
  kubClusterIdToKubClusterContextMap=distributedObjectProvider.getMap(CC_KUB_CLUSTER_ID_TO_KUB_CLUSTER_CTX_MAP);
  clusterIdToContextMap=distributedObjectProvider.getMap(CC_CLUSTER_ID_TO_CLUSTER_CTX);
  cartridgeTypeToPartitionIdsMap=distributedObjectProvider.getMap(CC_CARTRIDGE_TYPE_TO_PARTITION_IDS_MAP);
  cartridgeTypeToCartridgeMap=distributedObjectProvider.getMap(CC_CARTRIDGE_TYPE_TO_CARTRIDGES_MAP);
  serviceGroupNameToServiceGroupMap=distributedObjectProvider.getMap(CC_SERVICE_GROUP_NAME_TO_SERVICE_GROUP_MAP);
  networkPartitionIDToNetworkPartitionMap=distributedObjectProvider.getMap(CC_NETWORK_PARTITION_ID_TO_NETWORK_PARTITION_MAP);
  partitionToIaasProviderByCartridge=distributedObjectProvider.getMap(CC_PARTITION_TO_IAAS_PROVIDER_BY_CARTRIDGE_MAP);
  cartridgeTypeToIaasProviders=distributedObjectProvider.getMap(CC_CARTRIDGE_TYPE_TO_IAAS_PROVIDER_MAP);
  applicationIdToClusterIdToPortMappings=distributedObjectProvider.getMap(CC_APPLICATION_ID_TO_CLUSTER_ID_TO_PORT_MAPPING_MAP);
  updateContextFromRegistry();
}

Fixed version (ground truth):
private CloudControllerContext(){
  AxisConfiguration axisConfiguration=ServiceReferenceHolder.getInstance().getAxisConfiguration();
  if ((axisConfiguration != null) && (axisConfiguration.getClusteringAgent() != null)) {
    clustered=true;
  }
  distributedObjectProvider=ServiceReferenceHolder.getInstance().getDistributedObjectProvider();
  kubernetesClustersMap=distributedObjectProvider.getMap(CC_KUB_GROUP_ID_TO_GROUP_MAP);
  clusterIdToMemberContextListMap=distributedObjectProvider.getMap(CC_CLUSTER_ID_TO_MEMBER_CTX_MAP);
  memberIdToMemberContextMap=distributedObjectProvider.getMap(CC_MEMBER_ID_TO_MEMBER_CTX_MAP);
  memberIdToScheduledTaskMap=distributedObjectProvider.getMap(CC_MEMBER_ID_TO_SCH_TASK_MAP);
  kubClusterIdToKubClusterContextMap=distributedObjectProvider.getMap(CC_KUB_CLUSTER_ID_TO_KUB_CLUSTER_CTX_MAP);
  clusterIdToContextMap=distributedObjectProvider.getMap(CC_CLUSTER_ID_TO_CLUSTER_CTX);
  cartridgeTypeToPartitionIdsMap=distributedObjectProvider.getMap(CC_CARTRIDGE_TYPE_TO_PARTITION_IDS_MAP);
  cartridgeTypeToCartridgeMap=distributedObjectProvider.getMap(CC_CARTRIDGE_TYPE_TO_CARTRIDGES_MAP);
  serviceGroupNameToServiceGroupMap=distributedObjectProvider.getMap(CC_SERVICE_GROUP_NAME_TO_SERVICE_GROUP_MAP);
  networkPartitionIDToNetworkPartitionMap=distributedObjectProvider.getMap(CC_NETWORK_PARTITION_ID_TO_NETWORK_PARTITION_MAP);
  partitionToIaasProviderByCartridge=distributedObjectProvider.getMap(CC_PARTITION_TO_IAAS_PROVIDER_BY_CARTRIDGE_MAP);
  cartridgeTypeToIaasProviders=distributedObjectProvider.getMap(CC_CARTRIDGE_TYPE_TO_IAAS_PROVIDER_MAP);
  applicationIdToClusterIdToPortMappings=distributedObjectProvider.getMap(CC_APPLICATION_ID_TO_CLUSTER_ID_TO_PORT_MAPPING_MAP);
  if (!unitTest) {
    updateContextFromRegistry();
  }
}