Program: 92406
Project: 92406
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();
  List<Robots> r=_dbm.getResults(_ep,Robots.class,Robots.SCHEMA$);
  Robots rob=fetchRobotsTXT();
  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);
  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(),"String_Node_Str");
    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");
    result.getDescriptionFiles().add(info);
  }
 catch (  Exception e) {
    log.debug("String_Node_Str" + _epURI,e);
  }
  log.debug("String_Node_Str","String_Node_Str",_epURI);
  QueryInfo qInfo=query(_ep.getUri().toString());
  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");
  List<Robots> r=_dbm.getResults(_ep,Robots.class,Robots.SCHEMA$);
  Robots rob=fetchRobotsTXT();
  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);
  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(),"String_Node_Str");
    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");
    result.getDescriptionFiles().add(info);
  }
 catch (  Exception e) {
    log.debug("String_Node_Str" + _epURI,e);
  }
  log.debug("String_Node_Str","String_Node_Str",_epURI);
  QueryInfo qInfo=query(_ep.getUri().toString());
  log.info("String_Node_Str",this);
  return result;
}