Program: 138730
Project: 138730
Buggy source:
@Override protected boolean doExecute() throws Exception {
  EMFUtil emfUtil=new EMFUtil();
  for (  File file : fileList) {
    if (file.isFile()) {
      URI uri=URI.createFileURI(file.getAbsolutePath());
      EObject eObject=null;
      try {
        Resource resource=emfUtil.getResourceSet().getResource(uri,true);
        eObject=resource.getContents().get(0);
        if (FactoriesUtil.isProvFile(uri.fileExtension())) {
          for (          EObject object : resource.getContents()) {
            if (object instanceof Connection) {
              eObject=object;
              break;
            }
          }
        }
      }
 catch (      Exception e) {
        log.warn("String_Node_Str" + file.getAbsolutePath(),e);
      }
      if (eObject != null) {
        if (eObject instanceof ModelElement) {
          ModelElement modelElement=(ModelElement)eObject;
          AElementPersistance writer=ElementWriterFactory.getInstance().create(uri.fileExtension());
          Property oldPropery=PropertyHelper.getProperty(modelElement);
          if (writer != null) {
            Property property=writer.initProperty(modelElement);
            if (oldPropery != null) {
              property.setId(oldPropery.getId());
              property.setAuthor(oldPropery.getAuthor());
              property.getItem().setState(oldPropery.getItem().getState());
            }
            computePath(property,file);
            URI propURI=uri.trimFileExtension().appendFileExtension(FactoriesUtil.PROPERTIES_EXTENSION);
            Resource propResource=emfUtil.getResourceSet().createResource(propURI);
            propResource.getContents().add(property);
            propResource.getContents().add(property.getItem());
            propResource.getContents().add(property.getItem().getState());
            EMFUtil.saveResource(propResource);
          }
 else {
            log.warn("String_Node_Str" + modelElement.getName() + "String_Node_Str");
          }
        }
 else {
          log.warn("String_Node_Str" + eObject.toString());
        }
      }
    }
  }
  emfUtil=null;
  return true;
}

Fixed version (ground truth):
@Override protected boolean doExecute() throws Exception {
  EMFUtil emfUtil=new EMFUtil();
  for (  File file : fileList) {
    if (file.isFile()) {
      URI uri=URI.createFileURI(file.getAbsolutePath());
      System.out.println("String_Node_Str" + uri.toString());
      EObject eObject=null;
      try {
        Resource resource=emfUtil.getResourceSet().getResource(uri,true);
        eObject=resource.getContents().get(0);
        if (FactoriesUtil.isProvFile(uri.fileExtension())) {
          for (          EObject object : resource.getContents()) {
            if (object instanceof Connection) {
              eObject=object;
              break;
            }
          }
        }
      }
 catch (      Exception e) {
        log.warn("String_Node_Str" + file.getAbsolutePath(),e);
      }
      if (eObject != null) {
        if (eObject instanceof ModelElement) {
          ModelElement modelElement=(ModelElement)eObject;
          AElementPersistance writer=ElementWriterFactory.getInstance().create(uri.fileExtension());
          Property oldPropery=PropertyHelper.getProperty(modelElement);
          if (writer != null) {
            Property property=writer.initProperty(modelElement);
            if (oldPropery != null) {
              property.setId(oldPropery.getId());
              property.setAuthor(oldPropery.getAuthor());
              property.getItem().setState(oldPropery.getItem().getState());
            }
            if (file.getName().endsWith("String_Node_Str")) {
              System.out.println("String_Node_Str");
            }
            String statePathStr=PropertyHelper.computePath(property,file);
            property.getItem().getState().setPath(statePathStr);
            URI propURI=uri.trimFileExtension().appendFileExtension(FactoriesUtil.PROPERTIES_EXTENSION);
            Resource propResource=emfUtil.getResourceSet().createResource(propURI);
            propResource.getContents().add(property);
            propResource.getContents().add(property.getItem());
            propResource.getContents().add(property.getItem().getState());
            EMFUtil.saveResource(propResource);
          }
 else {
            log.warn("String_Node_Str" + modelElement.getName() + "String_Node_Str");
          }
        }
 else {
          log.warn("String_Node_Str" + eObject.toString());
        }
      }
    }
  }
  emfUtil=null;
  return true;
}