Program: 115706
Project: 115706
Buggy source:
@Override public void run(){
  if (!statsPublisher.isEnabled()) {
    if (log.isWarnEnabled()) {
      log.warn("String_Node_Str");
    }
    return;
  }
  try {
    double memoryConsumption=MockHealthStatistics.getInstance().getStatistics(mockMemberContext.getServiceName(),MockScalingFactor.MemoryConsumption);
    if (log.isDebugEnabled()) {
      log.debug(String.format("String_Node_Str",mockMemberContext.getMemberId(),memoryConsumption));
    }
    statsPublisher.publish(mockMemberContext.getClusterId(),mockMemberContext.getClusterInstanceId(),mockMemberContext.getNetworkPartitionId(),mockMemberContext.getMemberId(),mockMemberContext.getPartitionId(),MEMORY_CONSUMPTION,memoryConsumption);
  }
 catch (  NoStatisticsFoundException ignore) {
  }
catch (  Exception e) {
    if (log.isErrorEnabled()) {
      log.error("String_Node_Str",e);
    }
  }
  try {
    double loadAvereage=MockHealthStatistics.getInstance().getStatistics(mockMemberContext.getServiceName(),MockScalingFactor.LoadAverage);
    if (log.isDebugEnabled()) {
      log.debug(String.format("String_Node_Str",mockMemberContext.getMemberId(),loadAvereage));
    }
    statsPublisher.publish(mockMemberContext.getClusterId(),mockMemberContext.getClusterInstanceId(),mockMemberContext.getNetworkPartitionId(),mockMemberContext.getMemberId(),mockMemberContext.getPartitionId(),LOAD_AVERAGE,loadAvereage);
  }
 catch (  NoStatisticsFoundException ignore) {
  }
catch (  Exception e) {
    if (log.isErrorEnabled()) {
      log.error("String_Node_Str",e);
    }
  }
}

Fixed version (ground truth):
@Override public void run(){
  if (!statsPublisher.isEnabled()) {
    if (log.isWarnEnabled()) {
      log.warn("String_Node_Str");
    }
    return;
  }
  try {
    double memoryConsumption=MockHealthStatistics.getInstance().getStatistics(mockMemberContext.getServiceName(),MockScalingFactor.MemoryConsumption);
    if (log.isDebugEnabled()) {
      log.debug(String.format("String_Node_Str",mockMemberContext.getMemberId(),memoryConsumption));
    }
    statsPublisher.publish(mockMemberContext.getClusterId(),mockMemberContext.getClusterInstanceId(),mockMemberContext.getNetworkPartitionId(),mockMemberContext.getMemberId(),mockMemberContext.getPartitionId(),MEMORY_CONSUMPTION,memoryConsumption);
  }
 catch (  NoStatisticsFoundException ignore) {
  }
catch (  Exception e) {
    if (log.isErrorEnabled()) {
      log.error("String_Node_Str",e);
    }
  }
  try {
    double loadAvereage=MockHealthStatistics.getInstance().getStatistics(mockMemberContext.getServiceName(),MockScalingFactor.LoadAverage);
    if (log.isDebugEnabled()) {
      log.debug(String.format("String_Node_Str",mockMemberContext.getMemberId(),loadAvereage));
    }
    statsPublisher.publish(mockMemberContext.getClusterId(),mockMemberContext.getClusterInstanceId(),mockMemberContext.getNetworkPartitionId(),mockMemberContext.getMemberId(),mockMemberContext.getPartitionId(),LOAD_AVERAGE,loadAvereage);
  }
 catch (  NoStatisticsFoundException ignore) {
  }
catch (  Exception e) {
    if (log.isErrorEnabled()) {
      log.error("String_Node_Str",e);
    }
  }
  try {
    double requestsInFlight=MockHealthStatistics.getInstance().getStatistics(mockMemberContext.getServiceName(),MockScalingFactor.RequestsInFlight);
    if (log.isDebugEnabled()) {
      log.debug(String.format("String_Node_Str",mockMemberContext.getMemberId(),requestsInFlight));
    }
    statsPublisher.publish(mockMemberContext.getClusterId(),mockMemberContext.getClusterInstanceId(),mockMemberContext.getNetworkPartitionId(),mockMemberContext.getMemberId(),mockMemberContext.getPartitionId(),REQUESTS_IN_FLIGHT,requestsInFlight);
  }
 catch (  NoStatisticsFoundException ignore) {
  }
catch (  Exception e) {
    if (log.isErrorEnabled()) {
      log.error("String_Node_Str",e);
    }
  }
}