Program: 25596
Project: 25596
Buggy source:
@Path("String_Node_Str") @PUT @Consumes(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON) public List<TileCoordinates> getLocalCoordinates(@PathParam("String_Node_Str") String owner,@PathParam("String_Node_Str") String project,@PathParam("String_Node_Str") String stack,@PathParam("String_Node_Str") Double z,List<TileCoordinates> worldCoordinatesList){
  LOG.info("String_Node_Str",owner,project,stack,z,worldCoordinatesList.size());
  final long startTime=System.currentTimeMillis();
  long lastStatusTime=startTime;
  List<TileCoordinates> localCoordinatesList=new ArrayList<TileCoordinates>(worldCoordinatesList.size());
  final StackId stackId=new StackId(owner,project,stack);
  TileSpec tileSpec;
  TileCoordinates coordinates;
  float[] world;
  int errorCount=0;
  for (int i=0; i < worldCoordinatesList.size(); i++) {
    coordinates=worldCoordinatesList.get(i);
    try {
      if (coordinates == null) {
        throw new IllegalArgumentException("String_Node_Str");
      }
      world=coordinates.getWorld();
      if (world == null) {
        throw new IllegalArgumentException("String_Node_Str");
      }
 else       if (world.length < 2) {
        throw new IllegalArgumentException("String_Node_Str");
      }
      tileSpec=renderDao.getTileSpec(stackId,(double)world[0],(double)world[1],z);
      localCoordinatesList.add(TileCoordinates.getLocalCoordinates(tileSpec,world[0],world[1]));
    }
 catch (    Throwable t) {
      LOG.warn("String_Node_Str",i,t);
      errorCount++;
      if (coordinates == null) {
        coordinates=TileCoordinates.buildWorldInstance(null,null);
      }
      coordinates.setError(t.getMessage());
      localCoordinatesList.add(coordinates);
    }
    if ((System.currentTimeMillis() - lastStatusTime) > COORDINATE_PROCESSING_LOG_INTERVAL) {
      lastStatusTime=System.currentTimeMillis();
      LOG.info("String_Node_Str",localCoordinatesList.size(),worldCoordinatesList.size());
    }
  }
  LOG.info("String_Node_Str",localCoordinatesList.size(),errorCount,(System.currentTimeMillis() - startTime));
  return localCoordinatesList;
}

Fixed version (ground truth):
@Path("String_Node_Str") @PUT @Consumes(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON) public List<TileCoordinates> getLocalCoordinates(@PathParam("String_Node_Str") String owner,@PathParam("String_Node_Str") String project,@PathParam("String_Node_Str") String stack,@PathParam("String_Node_Str") Double z,List<TileCoordinates> worldCoordinatesList){
  LOG.info("String_Node_Str",owner,project,stack,z,worldCoordinatesList.size());
  final long startTime=System.currentTimeMillis();
  long lastStatusTime=startTime;
  List<TileCoordinates> localCoordinatesList=new ArrayList<TileCoordinates>(worldCoordinatesList.size());
  final StackId stackId=new StackId(owner,project,stack);
  List<TileSpec> tileSpecList;
  TileCoordinates coordinates;
  float[] world;
  int errorCount=0;
  for (int i=0; i < worldCoordinatesList.size(); i++) {
    coordinates=worldCoordinatesList.get(i);
    try {
      if (coordinates == null) {
        throw new IllegalArgumentException("String_Node_Str");
      }
      world=coordinates.getWorld();
      if (world == null) {
        throw new IllegalArgumentException("String_Node_Str");
      }
 else       if (world.length < 2) {
        throw new IllegalArgumentException("String_Node_Str");
      }
      tileSpecList=renderDao.getTileSpecs(stackId,(double)world[0],(double)world[1],z);
      localCoordinatesList.add(TileCoordinates.getLocalCoordinates(tileSpecList,world[0],world[1]));
    }
 catch (    Throwable t) {
      LOG.warn("String_Node_Str",i,t);
      errorCount++;
      if (coordinates == null) {
        coordinates=TileCoordinates.buildWorldInstance(null,null);
      }
      coordinates.setError(t.getMessage());
      localCoordinatesList.add(coordinates);
    }
    if ((System.currentTimeMillis() - lastStatusTime) > COORDINATE_PROCESSING_LOG_INTERVAL) {
      lastStatusTime=System.currentTimeMillis();
      LOG.info("String_Node_Str",localCoordinatesList.size(),worldCoordinatesList.size());
    }
  }
  LOG.info("String_Node_Str",localCoordinatesList.size(),errorCount,(System.currentTimeMillis() - startTime));
  return localCoordinatesList;
}