Program: 165174
Project: 165174
Buggy source:
/** 
 * Executing migration
 * @throws UnknownHostException exception
 * @throws NoSuchMethodException exception
 * @throws IllegalAccessException exception
 * @throws InvocationTargetException exception
 * @throws InstantiationException exception
 */
public void execute() throws UnknownHostException, NoSuchMethodException, IllegalAccessException, InvocationTargetException, InstantiationException {
  if (!isEnabled()) {
    logger.info("String_Node_Str");
    return;
  }
  validateConfig();
  logger.info("String_Node_Str");
  dao.connectMongoDb(mongoClientURI,dbName);
  ChangeService service=new ChangeService(changelogsScanPackage,springEnvironment);
  for (  Class<?> changelogClass : service.fetchChangelogs()) {
    Object changelogInstance=changelogClass.getConstructor().newInstance();
    List<Method> changesetMethods=service.fetchChangesets(changelogInstance.getClass());
    for (    Method changesetMethod : changesetMethods) {
      ChangeEntry changeEntry=service.createChangeEntry(changesetMethod);
      try {
        if (dao.isNewChange(changeEntry)) {
          executeChangesetMethod(changesetMethod,changelogInstance,dao.getDb());
          dao.save(changeEntry);
          logger.info(changeEntry + "String_Node_Str");
        }
 else         if (service.isRunAlwaysChangeset(changesetMethod)) {
          executeChangesetMethod(changesetMethod,changelogInstance,dao.getDb());
          logger.info(changeEntry + "String_Node_Str");
        }
 else {
          logger.info(changeEntry + "String_Node_Str");
        }
      }
 catch (      MongobeeChangesetException e) {
        logger.error(e.getMessage());
      }
    }
  }
  logger.info("String_Node_Str");
}

Fixed version (ground truth):
/** 
 * Executing migration
 * @throws UnknownHostException exception
 * @throws NoSuchMethodException exception
 * @throws IllegalAccessException exception
 * @throws InvocationTargetException exception
 * @throws InstantiationException exception
 */
public void execute() throws UnknownHostException, NoSuchMethodException, IllegalAccessException, InvocationTargetException, InstantiationException {
  if (!isEnabled()) {
    logger.info("String_Node_Str");
    return;
  }
  validateConfig();
  logger.info("String_Node_Str");
  dao.connectMongoDb(mongoClientURI,dbName);
  ChangeService service=new ChangeService(changeLogsScanPackage,springEnvironment);
  for (  Class<?> changelogClass : service.fetchChangeLogs()) {
    Object changelogInstance=changelogClass.getConstructor().newInstance();
    List<Method> changesetMethods=service.fetchChangeSets(changelogInstance.getClass());
    for (    Method changesetMethod : changesetMethods) {
      ChangeEntry changeEntry=service.createChangeEntry(changesetMethod);
      try {
        if (dao.isNewChange(changeEntry)) {
          executeChangeSetMethod(changesetMethod,changelogInstance,dao.getDb());
          dao.save(changeEntry);
          logger.info(changeEntry + "String_Node_Str");
        }
 else         if (service.isRunAlwaysChangeSet(changesetMethod)) {
          executeChangeSetMethod(changesetMethod,changelogInstance,dao.getDb());
          logger.info(changeEntry + "String_Node_Str");
        }
 else {
          logger.info(changeEntry + "String_Node_Str");
        }
      }
 catch (      MongobeeChangeSetException e) {
        logger.error(e.getMessage());
      }
    }
  }
  logger.info("String_Node_Str");
}