Program: 93546
Project: 93546
Buggy source:
@Override public void handleRequest(HttpServerExchange exchange,RequestContext context) throws Exception {
  FormDataParser parser=this.formParserFactory.createParser(exchange);
  FormData data=parser.parseBlocking();
  if (LOGGER.isDebugEnabled()) {
    LOGGER.debug("String_Node_Str");
    data.forEach((    String field) -> {
      if (!data.getFirst(field).isFile()) {
        LOGGER.debug("String_Node_Str",field,data.getFirst(field).getValue());
      }
    }
);
  }
  final String fileFieldName=findFile(data);
  if (fileFieldName == null) {
    String errMsg="String_Node_Str";
    ResponseHelper.endExchangeWithMessage(exchange,HttpStatus.SC_NOT_ACCEPTABLE,errMsg);
    return;
  }
  final DBObject props;
  try {
    props=findProps(data);
  }
 catch (  JSONParseException jpe) {
    String errMsg="String_Node_Str";
    ResponseHelper.endExchangeWithMessage(exchange,HttpStatus.SC_NOT_ACCEPTABLE,errMsg,jpe);
    return;
  }
  Object _id=props.get("String_Node_Str");
  if (_id == null) {
    _id=new ObjectId();
    ;
  }
 else {
    try {
      URLUtils.checkId(_id);
    }
 catch (    UnsupportedDocumentIdException udie) {
      String errMsg="String_Node_Str" + _id.getClass().getSimpleName();
      ResponseHelper.endExchangeWithMessage(exchange,HttpStatus.SC_NOT_ACCEPTABLE,errMsg,udie);
      return;
    }
  }
  FormData.FormValue file=data.getFirst(fileFieldName);
  try {
    if (file.getFile() != null) {
      gridFsDAO.createFile(getDatabase(),context.getDBName(),context.getCollectionName(),_id,props,file.getFile());
    }
  }
 catch (  Throwable t) {
    if (t instanceof DuplicateKeyException) {
      String errMsg="String_Node_Str";
      ResponseHelper.endExchangeWithMessage(exchange,HttpStatus.SC_NOT_IMPLEMENTED,errMsg);
      return;
    }
    throw t;
  }
  exchange.getResponseHeaders().add(HttpString.tryFromString("String_Node_Str"),getReferenceLink(context,exchange.getRequestURL(),_id));
  exchange.endExchange();
}

Fixed version (ground truth):
@Override public void handleRequest(HttpServerExchange exchange,RequestContext context) throws Exception {
  FormDataParser parser=this.formParserFactory.createParser(exchange);
  FormData data=parser.parseBlocking();
  if (LOGGER.isDebugEnabled()) {
    LOGGER.debug("String_Node_Str");
    data.forEach((    String field) -> {
      if (!data.getFirst(field).isFile()) {
        LOGGER.debug("String_Node_Str",field,data.getFirst(field).getValue());
      }
    }
);
  }
  final String fileFieldName=findFile(data);
  if (fileFieldName == null) {
    String errMsg="String_Node_Str";
    ResponseHelper.endExchangeWithMessage(exchange,HttpStatus.SC_NOT_ACCEPTABLE,errMsg);
    return;
  }
  final DBObject props;
  try {
    props=findProps(data);
  }
 catch (  JSONParseException jpe) {
    String errMsg="String_Node_Str";
    ResponseHelper.endExchangeWithMessage(exchange,HttpStatus.SC_NOT_ACCEPTABLE,errMsg,jpe);
    return;
  }
  Object _id=props.get("String_Node_Str");
  if (_id == null) {
    _id=new ObjectId();
    ;
  }
 else {
    try {
      URLUtils.checkId(_id);
    }
 catch (    UnsupportedDocumentIdException udie) {
      String errMsg="String_Node_Str" + _id.getClass().getSimpleName();
      ResponseHelper.endExchangeWithMessage(exchange,HttpStatus.SC_NOT_ACCEPTABLE,errMsg,udie);
      return;
    }
  }
  FormData.FormValue file=data.getFirst(fileFieldName);
  int code;
  try {
    if (file.getFile() != null) {
      code=gridFsDAO.createFile(getDatabase(),context.getDBName(),context.getCollectionName(),_id,props,file.getFile());
    }
 else {
      throw new RuntimeException("String_Node_Str");
    }
  }
 catch (  Throwable t) {
    if (t instanceof DuplicateKeyException) {
      String errMsg="String_Node_Str";
      ResponseHelper.endExchangeWithMessage(exchange,HttpStatus.SC_NOT_IMPLEMENTED,errMsg);
      return;
    }
    throw t;
  }
  exchange.getResponseHeaders().add(HttpString.tryFromString("String_Node_Str"),getReferenceLink(context,exchange.getRequestURL(),_id));
  exchange.setResponseCode(code);
  exchange.endExchange();
}