Program: 60924
Project: 60924
Buggy source:
@GET @Produces({MIMETYPE_XML,MIMETYPE_JSON,MIMETYPE_PROTOBUF,MIMETYPE_PROTOBUF_IETF}) public Response get(final @Context UriInfo uriInfo){
  MultivaluedMap<String,String> params=uriInfo.getQueryParameters();
  servlet.getMetrics().incrementRequests(1);
  try {
    CellSetModel model=new CellSetModel();
    for (    String rk : params.get(ROW_KEYS_PARAM_NAME)) {
      RowSpec rowSpec=new RowSpec(rk);
      if (this.versions != null) {
        rowSpec.setMaxVersions(this.versions);
      }
      if (this.columns != null) {
        for (int i=0; i < this.columns.length; i++) {
          rowSpec.addColumn(this.columns[i].getBytes());
        }
      }
      ResultGenerator generator=ResultGenerator.fromRowSpec(this.tableResource.getName(),rowSpec,null,!params.containsKey(NOCACHE_PARAM_NAME));
      Cell value=null;
      RowModel rowModel=new RowModel(rk);
      if (generator.hasNext()) {
        while ((value=generator.next()) != null) {
          rowModel.addCell(new CellModel(CellUtil.cloneFamily(value),CellUtil.cloneQualifier(value),value.getTimestamp(),CellUtil.cloneValue(value)));
        }
        model.addRow(rowModel);
      }
 else {
        if (LOG.isTraceEnabled()) {
          LOG.trace("String_Node_Str" + rk + "String_Node_Str");
        }
      }
    }
    if (model.getRows().isEmpty()) {
      servlet.getMetrics().incrementFailedGetRequests(1);
      return Response.status(Response.Status.NOT_FOUND).type(MIMETYPE_TEXT).entity("String_Node_Str" + CRLF).build();
    }
 else {
      servlet.getMetrics().incrementSucessfulGetRequests(1);
      return Response.ok(model).build();
    }
  }
 catch (  IOException e) {
    servlet.getMetrics().incrementFailedGetRequests(1);
    return processException(e);
  }
}

Fixed version (ground truth):
@GET @Produces({MIMETYPE_XML,MIMETYPE_JSON,MIMETYPE_PROTOBUF,MIMETYPE_PROTOBUF_IETF}) public Response get(final @Context UriInfo uriInfo){
  MultivaluedMap<String,String> params=uriInfo.getQueryParameters();
  servlet.getMetrics().incrementRequests(1);
  try {
    CellSetModel model=new CellSetModel();
    for (    String rk : params.get(ROW_KEYS_PARAM_NAME)) {
      RowSpec rowSpec=new RowSpec(rk);
      if (this.versions != null) {
        rowSpec.setMaxVersions(this.versions);
      }
      if (this.columns != null) {
        for (int i=0; i < this.columns.length; i++) {
          rowSpec.addColumn(Bytes.toBytes(this.columns[i]));
        }
      }
      ResultGenerator generator=ResultGenerator.fromRowSpec(this.tableResource.getName(),rowSpec,null,!params.containsKey(NOCACHE_PARAM_NAME));
      Cell value=null;
      RowModel rowModel=new RowModel(rk);
      if (generator.hasNext()) {
        while ((value=generator.next()) != null) {
          rowModel.addCell(new CellModel(CellUtil.cloneFamily(value),CellUtil.cloneQualifier(value),value.getTimestamp(),CellUtil.cloneValue(value)));
        }
        model.addRow(rowModel);
      }
 else {
        if (LOG.isTraceEnabled()) {
          LOG.trace("String_Node_Str" + rk + "String_Node_Str");
        }
      }
    }
    if (model.getRows().isEmpty()) {
      servlet.getMetrics().incrementFailedGetRequests(1);
      return Response.status(Response.Status.NOT_FOUND).type(MIMETYPE_TEXT).entity("String_Node_Str" + CRLF).build();
    }
 else {
      servlet.getMetrics().incrementSucessfulGetRequests(1);
      return Response.ok(model).build();
    }
  }
 catch (  IOException e) {
    servlet.getMetrics().incrementFailedGetRequests(1);
    return processException(e);
  }
}