Program: 25551
Project: 25551
Buggy source:
@Path("String_Node_Str") @GET @Produces(MediaType.APPLICATION_JSON) @ApiOperation(value="String_Node_Str") @ApiResponses(value={@ApiResponse(code=404,message="String_Node_Str")}) public RenderParameters getRenderParameters(@PathParam("String_Node_Str") final String owner,@PathParam("String_Node_Str") final String project,@PathParam("String_Node_Str") final String stack,@PathParam("String_Node_Str") final String tileId,@QueryParam("String_Node_Str") final Double scale,@QueryParam("String_Node_Str") final Boolean filter,@QueryParam("String_Node_Str") final Boolean binaryMask,@QueryParam("String_Node_Str") final Boolean excludeMask){
  LOG.info("String_Node_Str",owner,project,stack,tileId,scale,filter,binaryMask);
  RenderParameters parameters=null;
  try {
    final TileSpec tileSpec=getTileSpec(owner,project,stack,tileId,true);
    tileSpec.flattenTransforms();
    final StackId stackId=new StackId(owner,project,stack);
    final StackMetaData stackMetaData=getStackMetaData(stackId);
    parameters=new RenderParameters(null,tileSpec.getMinX(),tileSpec.getMinY(),(int)(tileSpec.getMaxX() - tileSpec.getMinX()),(int)(tileSpec.getMaxY() - tileSpec.getMinY()),scale);
    parameters.setDoFilter(filter);
    parameters.setBinaryMask(binaryMask);
    parameters.setExcludeMask(excludeMask);
    parameters.addTileSpec(tileSpec);
    parameters.setMipmapPathBuilder(stackMetaData.getCurrentMipmapPathBuilder());
  }
 catch (  final Throwable t) {
    RenderServiceUtil.throwServiceException(t);
  }
  return parameters;
}

Fixed version (ground truth):
@Path("String_Node_Str") @GET @Produces(MediaType.APPLICATION_JSON) @ApiOperation(value="String_Node_Str") @ApiResponses(value={@ApiResponse(code=404,message="String_Node_Str")}) public RenderParameters getRenderParameters(@PathParam("String_Node_Str") final String owner,@PathParam("String_Node_Str") final String project,@PathParam("String_Node_Str") final String stack,@PathParam("String_Node_Str") final String tileId,@QueryParam("String_Node_Str") final Double scale,@QueryParam("String_Node_Str") final Boolean filter,@QueryParam("String_Node_Str") final Boolean binaryMask,@QueryParam("String_Node_Str") final Boolean excludeMask){
  LOG.info("String_Node_Str",owner,project,stack,tileId,scale,filter,binaryMask);
  RenderParameters parameters=null;
  try {
    final TileSpec tileSpec=getTileSpec(owner,project,stack,tileId,true);
    tileSpec.flattenTransforms();
    final StackId stackId=new StackId(owner,project,stack);
    final StackMetaData stackMetaData=getStackMetaData(stackId);
    final int tileWidth=(int)(tileSpec.getMaxX() - tileSpec.getMinX()) + 1;
    final int tileHeight=(int)(tileSpec.getMaxY() - tileSpec.getMinY()) + 1;
    parameters=new RenderParameters(null,tileSpec.getMinX(),tileSpec.getMinY(),tileWidth,tileHeight,scale);
    parameters.setDoFilter(filter);
    parameters.setBinaryMask(binaryMask);
    parameters.setExcludeMask(excludeMask);
    parameters.addTileSpec(tileSpec);
    parameters.setMipmapPathBuilder(stackMetaData.getCurrentMipmapPathBuilder());
  }
 catch (  final Throwable t) {
    RenderServiceUtil.throwServiceException(t);
  }
  return parameters;
}