Program: 117595
Project: 117595
Buggy source:
@SuppressWarnings("String_Node_Str") @Get(Item.class) public Item getItem(final Map<String,Object> query,final PipelineContext context){
  final Platform platform=(Platform)query.get("String_Node_Str");
  Utilities.checkNotNull(platform,"String_Node_Str");
  final Number id=(Number)query.get("String_Node_Str");
  final String name=(String)query.get("String_Node_Str");
  Utilities.checkAtLeastOneNotNull(id,"String_Node_Str",name,"String_Node_Str");
  final String version=query.get("String_Node_Str") == null ? getCurrentVersion(platform,context) : (String)query.get("String_Node_Str");
  final String locale=query.get("String_Node_Str") == null ? platform.getDefaultLocale() : (String)query.get("String_Node_Str");
  final Set<String> includedData=query.get("String_Node_Str") == null ? Collections.<String>emptySet() : (Set<String>)query.get("String_Node_Str");
  final String content=get("String_Node_Str",version,locale);
  final Item data=DataObject.fromJSON(Item.class,new Function<JsonNode,JsonNode>(){
    private final Function<JsonNode,JsonNode> INCLUDED_DATA_PROCESSOR=new IncludedDataProcessor(Sets.union(includedData,IncludedDataProcessor.DEFAULT_ITEM_TAGS));
    @Override public JsonNode apply(    final JsonNode tree){
      if (tree == null) {
        return null;
      }
      final JsonNode temp=tree.get("String_Node_Str");
      if (temp == null) {
        return null;
      }
      final Iterator<String> ids=temp.fieldNames();
      while (ids.hasNext()) {
        final String itemId=ids.next();
        final ObjectNode item=(ObjectNode)temp.get(itemId);
        final String itemName=item.get("String_Node_Str").asText();
        if (id != null && id.intValue() == Integer.parseInt(itemId) || name.equals(itemName)) {
          item.set("String_Node_Str",new IntNode(Integer.parseInt(itemId)));
          INCLUDED_DATA_PROCESSOR.apply(item);
          return item;
        }
      }
      return null;
    }
  }
,content);
  if (data == null) {
    return null;
  }
  data.setPlatform(platform.getTag());
  data.setVersion(version);
  data.setLocale(locale);
  data.setIncludedData(includedData);
  return data;
}

Fixed version (ground truth):
@SuppressWarnings("String_Node_Str") @Get(Item.class) public Item getItem(final Map<String,Object> query,final PipelineContext context){
  final Platform platform=(Platform)query.get("String_Node_Str");
  Utilities.checkNotNull(platform,"String_Node_Str");
  final Number id=(Number)query.get("String_Node_Str");
  final String name=(String)query.get("String_Node_Str");
  Utilities.checkAtLeastOneNotNull(id,"String_Node_Str",name,"String_Node_Str");
  final String version=query.get("String_Node_Str") == null ? getCurrentVersion(platform,context) : (String)query.get("String_Node_Str");
  final String locale=query.get("String_Node_Str") == null ? platform.getDefaultLocale() : (String)query.get("String_Node_Str");
  final Set<String> includedData=query.get("String_Node_Str") == null ? Collections.<String>emptySet() : (Set<String>)query.get("String_Node_Str");
  final String content=get("String_Node_Str",version,locale);
  final Item data=DataObject.fromJSON(Item.class,new Function<JsonNode,JsonNode>(){
    private final Function<JsonNode,JsonNode> INCLUDED_DATA_PROCESSOR=new IncludedDataProcessor(Sets.union(includedData,IncludedDataProcessor.DEFAULT_ITEM_TAGS));
    @Override public JsonNode apply(    final JsonNode tree){
      if (tree == null) {
        return null;
      }
      final JsonNode temp=tree.get("String_Node_Str");
      if (temp == null) {
        return null;
      }
      final Iterator<String> ids=temp.fieldNames();
      while (ids.hasNext()) {
        final String itemId=ids.next();
        final ObjectNode item=(ObjectNode)temp.get(itemId);
        final String itemName=item.get("String_Node_Str").asText();
        if (id != null && id.intValue() == Integer.parseInt(itemId) || name != null && name.equals(itemName)) {
          item.set("String_Node_Str",new IntNode(Integer.parseInt(itemId)));
          INCLUDED_DATA_PROCESSOR.apply(item);
          return item;
        }
      }
      return null;
    }
  }
,content);
  if (data == null) {
    return null;
  }
  data.setPlatform(platform.getTag());
  data.setVersion(version);
  data.setLocale(locale);
  data.setIncludedData(includedData);
  return data;
}