Program: 92396
Project: 92396
Buggy source:
@Override public DResult process(EndpointResult epr){
  DResult result=new DResult();
  result.setEndpointResult(epr);
  log.debug("String_Node_Str",_epURI);
  result.setDescriptionFiles((List)new ArrayList<DGETInfo>());
  int failures=0;
  log.debug("String_Node_Str","String_Node_Str",_epURI);
  RobotsTXT rtxt=new RobotsTXT(false,false,false,false,false,false,"String_Node_Str");
  result.setRobotsTXT(rtxt);
  Robots rob=fetchRobotsTXT();
  List<Robots> r=_dbm.getResults(_ep,Robots.class,Robots.SCHEMA$);
  if (r.size() == 0) {
    _dbm.insert(rob);
  }
 else {
    if (rob.getRespCode().toString().startsWith("String_Node_Str")) {
      if (r.size() == 1) {
        rob=r.get(0);
      }
    }
 else {
      _dbm.update(rob);
    }
  }
  if (rob.getRespCode() == 200)   rtxt.setHasRobotsTXT(true);
  boolean isRobotsAllowed=checkRobotsTxt(rob,rob.getEndpoint().getUri().toString());
  rtxt.setAllowedByRobotsTXT(isRobotsAllowed);
  log.debug("String_Node_Str","String_Node_Str",_epURI);
  parseSitemapXML(rob,rtxt,result);
  log.debug("String_Node_Str","String_Node_Str",_epURI);
  try {
    URI epURL=new URI(_ep.getUri().toString());
    DGETInfo info=checkForVoid(epURL.toString(),EPURL,rob);
    result.getDescriptionFiles().add(info);
  }
 catch (  Exception e) {
    log.debug("String_Node_Str" + _epURI,ExceptionHandler.logAndtoString(e,true));
  }
  log.debug("String_Node_Str","String_Node_Str",_epURI);
  try {
    URI epURL=new URI(_ep.getUri().toString());
    URL wellknown=new URI(epURL.getScheme(),epURL.getAuthority(),"String_Node_Str",null,null).toURL();
    DGETInfo info=checkForVoid(wellknown.toString(),"String_Node_Str",rob);
    result.getDescriptionFiles().add(info);
  }
 catch (  Exception e) {
    log.debug("String_Node_Str" + _epURI,e);
  }
  List<QueryInfo> queryInfos=new ArrayList<QueryInfo>();
  result.setQueryInfo(queryInfos);
  log.debug("String_Node_Str","String_Node_Str",_epURI);
  queryInfos.add(query(_ep.getUri().toString(),"String_Node_Str"));
  log.info("String_Node_Str",this);
  return result;
}

Fixed version (ground truth):
@Override public DResult process(EndpointResult epr){
  DResult result=new DResult();
  result.setEndpointResult(epr);
  log.debug("String_Node_Str",_epURI);
  result.setDescriptionFiles((List)new ArrayList<DGETInfo>());
  int failures=0;
  log.debug("String_Node_Str","String_Node_Str",_epURI);
  RobotsTXT rtxt=new RobotsTXT(false,false,false,false,false,false,"String_Node_Str");
  result.setRobotsTXT(rtxt);
  Robots rob=fetchRobotsTXT();
  List<Robots> r=new ArrayList<Robots>();
  if (_dbm != null) {
    r=_dbm.getResults(_ep,Robots.class,Robots.SCHEMA$);
  }
  if (r.size() == 0 && _dbm != null) {
    _dbm.insert(rob);
  }
 else   if (_dbm != null) {
    if (rob.getRespCode().toString().startsWith("String_Node_Str")) {
      if (r.size() == 1) {
        rob=r.get(0);
      }
    }
 else {
      _dbm.update(rob);
    }
  }
  if (rob.getRespCode() == 200)   rtxt.setHasRobotsTXT(true);
  boolean isRobotsAllowed=checkRobotsTxt(rob,rob.getEndpoint().getUri().toString());
  rtxt.setAllowedByRobotsTXT(isRobotsAllowed);
  log.debug("String_Node_Str","String_Node_Str",_epURI);
  parseSitemapXML(rob,rtxt,result);
  log.debug("String_Node_Str","String_Node_Str",_epURI);
  try {
    URI epURL=new URI(_ep.getUri().toString());
    DGETInfo info=checkForVoid(epURL.toString(),EPURL,rob);
    result.getDescriptionFiles().add(info);
  }
 catch (  Exception e) {
    log.debug("String_Node_Str" + _epURI,ExceptionHandler.logAndtoString(e,true));
  }
  log.debug("String_Node_Str","String_Node_Str",_epURI);
  try {
    URI epURL=new URI(_ep.getUri().toString());
    URL wellknown=new URI(epURL.getScheme(),epURL.getAuthority(),"String_Node_Str",null,null).toURL();
    DGETInfo info=checkForVoid(wellknown.toString(),"String_Node_Str",rob);
    result.getDescriptionFiles().add(info);
  }
 catch (  Exception e) {
    log.debug("String_Node_Str" + _epURI,e);
  }
  List<QueryInfo> queryInfos=new ArrayList<QueryInfo>();
  result.setQueryInfo(queryInfos);
  log.debug("String_Node_Str","String_Node_Str",_epURI);
  queryInfos.add(query(_ep.getUri().toString(),"String_Node_Str"));
  log.info("String_Node_Str",this);
  return result;
}