Program: 89322
Project: 89322
Buggy source:
protected StoragePoolDaoImpl(){
  AllFieldSearch=createSearchBuilder();
  AllFieldSearch.and("String_Node_Str",AllFieldSearch.entity().getName(),SearchCriteria.Op.EQ);
  AllFieldSearch.and("String_Node_Str",AllFieldSearch.entity().getUuid(),SearchCriteria.Op.EQ);
  AllFieldSearch.and("String_Node_Str",AllFieldSearch.entity().getDataCenterId(),SearchCriteria.Op.EQ);
  AllFieldSearch.and("String_Node_Str",AllFieldSearch.entity().getHostAddress(),SearchCriteria.Op.EQ);
  AllFieldSearch.and("String_Node_Str",AllFieldSearch.entity().getStatus(),SearchCriteria.Op.EQ);
  AllFieldSearch.and("String_Node_Str",AllFieldSearch.entity().getPath(),SearchCriteria.Op.EQ);
  AllFieldSearch.and("String_Node_Str",AllFieldSearch.entity().getPodId(),Op.EQ);
  AllFieldSearch.done();
  DcPodSearch=createSearchBuilder();
  DcPodSearch.and("String_Node_Str",DcPodSearch.entity().getDataCenterId(),SearchCriteria.Op.EQ);
  DcPodSearch.and().op("String_Node_Str",DcPodSearch.entity().getPodId(),SearchCriteria.Op.NULL);
  DcPodSearch.or("String_Node_Str",DcPodSearch.entity().getPodId(),SearchCriteria.Op.EQ);
  DcPodSearch.cp();
  DcPodSearch.and().op("String_Node_Str",DcPodSearch.entity().getClusterId(),SearchCriteria.Op.NULL);
  DcPodSearch.or("String_Node_Str",DcPodSearch.entity().getClusterId(),SearchCriteria.Op.EQ);
  DcPodSearch.cp();
  DcPodSearch.done();
  DcPodAnyClusterSearch=createSearchBuilder();
  DcPodAnyClusterSearch.and("String_Node_Str",DcPodAnyClusterSearch.entity().getDataCenterId(),SearchCriteria.Op.EQ);
  DcPodAnyClusterSearch.and().op("String_Node_Str",DcPodAnyClusterSearch.entity().getPodId(),SearchCriteria.Op.NULL);
  DcPodAnyClusterSearch.or("String_Node_Str",DcPodAnyClusterSearch.entity().getPodId(),SearchCriteria.Op.EQ);
  DcPodAnyClusterSearch.cp();
  DcPodAnyClusterSearch.done();
  DeleteLvmSearch=createSearchBuilder();
  DeleteLvmSearch.and("String_Node_Str",DeleteLvmSearch.entity().getId(),SearchCriteria.Op.IN);
  DeleteLvmSearch.and().op("String_Node_Str",DeleteLvmSearch.entity().getPoolType(),SearchCriteria.Op.EQ);
  DeleteLvmSearch.or("String_Node_Str",DeleteLvmSearch.entity().getPoolType(),SearchCriteria.Op.EQ);
  DeleteLvmSearch.cp();
  DeleteLvmSearch.done();
  MaintenanceCountSearch=createSearchBuilder(Long.class);
  MaintenanceCountSearch.and("String_Node_Str",MaintenanceCountSearch.entity().getId(),SearchCriteria.Op.EQ);
  MaintenanceCountSearch.select(null,Func.COUNT,null);
  MaintenanceCountSearch.and("String_Node_Str",MaintenanceCountSearch.entity().getStatus(),SearchCriteria.Op.IN);
  MaintenanceCountSearch.done();
  _detailsDao=ComponentLocator.inject(StoragePoolDetailsDaoImpl.class);
}

Fixed version (ground truth):
protected StoragePoolDaoImpl(){
  AllFieldSearch=createSearchBuilder();
  AllFieldSearch.and("String_Node_Str",AllFieldSearch.entity().getName(),SearchCriteria.Op.EQ);
  AllFieldSearch.and("String_Node_Str",AllFieldSearch.entity().getUuid(),SearchCriteria.Op.EQ);
  AllFieldSearch.and("String_Node_Str",AllFieldSearch.entity().getDataCenterId(),SearchCriteria.Op.EQ);
  AllFieldSearch.and("String_Node_Str",AllFieldSearch.entity().getHostAddress(),SearchCriteria.Op.EQ);
  AllFieldSearch.and("String_Node_Str",AllFieldSearch.entity().getStatus(),SearchCriteria.Op.EQ);
  AllFieldSearch.and("String_Node_Str",AllFieldSearch.entity().getPath(),SearchCriteria.Op.EQ);
  AllFieldSearch.and("String_Node_Str",AllFieldSearch.entity().getPodId(),Op.EQ);
  AllFieldSearch.done();
  DcPodSearch=createSearchBuilder();
  DcPodSearch.and("String_Node_Str",DcPodSearch.entity().getDataCenterId(),SearchCriteria.Op.EQ);
  DcPodSearch.and().op("String_Node_Str",DcPodSearch.entity().getPodId(),SearchCriteria.Op.NULL);
  DcPodSearch.or("String_Node_Str",DcPodSearch.entity().getPodId(),SearchCriteria.Op.EQ);
  DcPodSearch.cp();
  DcPodSearch.and().op("String_Node_Str",DcPodSearch.entity().getClusterId(),SearchCriteria.Op.NULL);
  DcPodSearch.or("String_Node_Str",DcPodSearch.entity().getClusterId(),SearchCriteria.Op.EQ);
  DcPodSearch.cp();
  DcPodSearch.done();
  DcPodAnyClusterSearch=createSearchBuilder();
  DcPodAnyClusterSearch.and("String_Node_Str",DcPodAnyClusterSearch.entity().getDataCenterId(),SearchCriteria.Op.EQ);
  DcPodAnyClusterSearch.and().op("String_Node_Str",DcPodAnyClusterSearch.entity().getPodId(),SearchCriteria.Op.NULL);
  DcPodAnyClusterSearch.or("String_Node_Str",DcPodAnyClusterSearch.entity().getPodId(),SearchCriteria.Op.EQ);
  DcPodAnyClusterSearch.cp();
  DcPodAnyClusterSearch.done();
  DeleteLvmSearch=createSearchBuilder();
  DeleteLvmSearch.and("String_Node_Str",DeleteLvmSearch.entity().getId(),SearchCriteria.Op.IN);
  DeleteLvmSearch.and().op("String_Node_Str",DeleteLvmSearch.entity().getPoolType(),SearchCriteria.Op.EQ);
  DeleteLvmSearch.or("String_Node_Str",DeleteLvmSearch.entity().getPoolType(),SearchCriteria.Op.EQ);
  DeleteLvmSearch.cp();
  DeleteLvmSearch.done();
  StatusCountSearch=createSearchBuilder(Long.class);
  StatusCountSearch.and("String_Node_Str",StatusCountSearch.entity().getStatus(),SearchCriteria.Op.IN);
  StatusCountSearch.select(null,Func.COUNT,null);
  StatusCountSearch.done();
  _detailsDao=ComponentLocator.inject(StoragePoolDetailsDaoImpl.class);
}