Program: 64069
Project: 64069
Buggy source:
@Override public StackDescription describeStackWithResources(User user,Stack stack,Credential credential){
  AwsTemplate awsInfra=(AwsTemplate)stack.getTemplate();
  AwsCredential awsCredential=(AwsCredential)credential;
  DescribeStacksResult stackResult=null;
  DescribeStackResourcesResult resourcesResult=null;
  try {
    AmazonCloudFormationClient client=awsStackUtil.createCloudFormationClient(awsInfra.getRegion(),awsCredential);
    DescribeStacksRequest stackRequest=new DescribeStacksRequest().withStackName(stack.getCfStackName());
    stackResult=client.describeStacks(stackRequest);
    DescribeStackResourcesRequest resourcesRequest=new DescribeStackResourcesRequest().withStackName(stack.getCfStackName());
    resourcesResult=client.describeStackResources(resourcesRequest);
  }
 catch (  AmazonServiceException e) {
    if (CF_SERVICE_NAME.equals(e.getServiceName()) && e.getErrorMessage().equals(String.format("String_Node_Str",stack.getCfStackName()))) {
      LOGGER.error("String_Node_Str",stack.getCfStackName());
      stackResult=new DescribeStacksResult();
    }
 else {
      throw e;
    }
  }
  AmazonEC2Client ec2Client=awsStackUtil.createEC2Client(awsInfra.getRegion(),awsCredential);
  DescribeInstancesRequest instancesRequest=new DescribeInstancesRequest().withFilters(new Filter().withName("String_Node_Str" + INSTANCE_TAG_NAME).withValues(stack.getName()));
  DescribeInstancesResult instancesResult=ec2Client.describeInstances(instancesRequest);
  return new DetailedAwsStackDescription(stackResult,resourcesResult,instancesResult);
}

Fixed version (ground truth):
@Override public StackDescription describeStackWithResources(User user,Stack stack,Credential credential){
  AwsTemplate awsInfra=(AwsTemplate)stack.getTemplate();
  AwsCredential awsCredential=(AwsCredential)credential;
  DescribeStacksResult stackResult=null;
  DescribeStackResourcesResult resourcesResult=null;
  try {
    AmazonCloudFormationClient client=awsStackUtil.createCloudFormationClient(awsInfra.getRegion(),awsCredential);
    DescribeStacksRequest stackRequest=new DescribeStacksRequest().withStackName(stack.getCfStackName());
    stackResult=client.describeStacks(stackRequest);
    DescribeStackResourcesRequest resourcesRequest=new DescribeStackResourcesRequest().withStackName(stack.getCfStackName());
    resourcesResult=client.describeStackResources(resourcesRequest);
  }
 catch (  AmazonServiceException e) {
    if (CF_SERVICE_NAME.equals(e.getServiceName()) && e.getErrorMessage().equals(String.format("String_Node_Str",stack.getCfStackName()))) {
      LOGGER.error("String_Node_Str",stack.getCfStackName());
      stackResult=new DescribeStacksResult();
    }
 else {
      throw e;
    }
  }
  AmazonEC2Client ec2Client=awsStackUtil.createEC2Client(awsInfra.getRegion(),awsCredential);
  DescribeInstancesRequest instancesRequest=new DescribeInstancesRequest().withFilters(new Filter().withName("String_Node_Str" + INSTANCE_TAG_NAME).withValues(stack.getCfStackName()));
  DescribeInstancesResult instancesResult=ec2Client.describeInstances(instancesRequest);
  return new DetailedAwsStackDescription(stackResult,resourcesResult,instancesResult);
}