Program: 138102
Project: 138102
Buggy source:
@Override public List<IRepositoryNode> getChildren(boolean withDeleted){
  try {
    super.getChildren().clear();
    RootContainer<String,IRepositoryViewObject> tdqViewObjects=ProxyRepositoryFactory.getInstance().getTdqRepositoryViewObjects(getContentType(),RepositoryNodeHelper.getPath(this).toString());
    for (    Container<String,IRepositoryViewObject> container : tdqViewObjects.getSubContainer()) {
      Folder folder=new Folder((Property)container.getProperty(),ERepositoryObjectType.TDQ_RULES_PARSER);
      if (!withDeleted && folder.isDeleted()) {
        continue;
      }
      RulesSubFolderRepNode childNodeFolder=new RulesSubFolderRepNode(folder,this,ENodeType.SIMPLE_FOLDER);
      childNodeFolder.setProperties(EProperties.CONTENT_TYPE,ERepositoryObjectType.TDQ_RULES_PARSER);
      childNodeFolder.setProperties(EProperties.LABEL,ERepositoryObjectType.TDQ_RULES_PARSER);
      super.getChildren().add(childNodeFolder);
    }
    for (    IRepositoryViewObject viewObject : tdqViewObjects.getMembers()) {
      if (!withDeleted && viewObject.isDeleted()) {
        continue;
      }
      RuleRepNode repNode=new RuleRepNode(viewObject,this,ENodeType.REPOSITORY_ELEMENT);
      repNode.setProperties(EProperties.CONTENT_TYPE,ERepositoryObjectType.TDQ_RULES_PARSER);
      repNode.setProperties(EProperties.LABEL,ERepositoryObjectType.TDQ_RULES_PARSER);
      viewObject.setRepositoryNode(repNode);
      super.getChildren().add(repNode);
    }
  }
 catch (  PersistenceException e) {
    log.error(e,e);
  }
  return filterResultsIfAny(super.getChildren());
}

Fixed version (ground truth):
@Override public List<IRepositoryNode> getChildren(boolean withDeleted){
  try {
    super.getChildren().clear();
    RootContainer<String,IRepositoryViewObject> tdqViewObjects=ProxyRepositoryFactory.getInstance().getTdqRepositoryViewObjects(getContentType(),RepositoryNodeHelper.getPath(this).toString());
    for (    Container<String,IRepositoryViewObject> container : tdqViewObjects.getSubContainer()) {
      Folder folder=new Folder((Property)container.getProperty(),ERepositoryObjectType.TDQ_RULES_PARSER);
      if (!withDeleted && folder.isDeleted()) {
        continue;
      }
      RulesParserSubFolderRepNode childNodeFolder=new RulesParserSubFolderRepNode(folder,this,ENodeType.SIMPLE_FOLDER);
      childNodeFolder.setProperties(EProperties.CONTENT_TYPE,ERepositoryObjectType.TDQ_RULES_PARSER);
      childNodeFolder.setProperties(EProperties.LABEL,ERepositoryObjectType.TDQ_RULES_PARSER);
      super.getChildren().add(childNodeFolder);
    }
    for (    IRepositoryViewObject viewObject : tdqViewObjects.getMembers()) {
      if (!withDeleted && viewObject.isDeleted()) {
        continue;
      }
      RuleRepNode repNode=new RuleRepNode(viewObject,this,ENodeType.REPOSITORY_ELEMENT);
      repNode.setProperties(EProperties.CONTENT_TYPE,ERepositoryObjectType.TDQ_RULES_PARSER);
      repNode.setProperties(EProperties.LABEL,ERepositoryObjectType.TDQ_RULES_PARSER);
      viewObject.setRepositoryNode(repNode);
      super.getChildren().add(repNode);
    }
  }
 catch (  PersistenceException e) {
    log.error(e,e);
  }
  return filterResultsIfAny(super.getChildren());
}