Program: 117631
Project: 117631
Buggy source:
@SuppressWarnings("String_Node_Str") @GetMany(Mastery.class) public CloseableIterator<Mastery> getManyMastery(final Map<String,Object> query,final PipelineContext context){
  final Platform platform=(Platform)query.get("String_Node_Str");
  final Iterable<Number> ids=(Iterable<Number>)query.get("String_Node_Str");
  Utilities.checkNotNull(platform,"String_Node_Str",ids,"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 ? ImmutableSet.of("String_Node_Str") : (Set<String>)query.get("String_Node_Str");
  final String content=get("String_Node_Str",version,locale);
  final MasteryList data=DataObject.fromJSON(MasteryList.class,new Function<JsonNode,JsonNode>(){
    private final Function<JsonNode,JsonNode> INCLUDED_DATA_PROCESSOR=new IncludedDataProcessor(Sets.union(includedData,IncludedDataProcessor.DEFAULT_MASTERY_TAGS));
    @Override public JsonNode apply(    final JsonNode tree){
      if (tree == null) {
        return tree;
      }
      final JsonNode temp=tree.get("String_Node_Str");
      if (temp == null) {
        return tree;
      }
      for (      final JsonNode mastery : temp) {
        INCLUDED_DATA_PROCESSOR.apply(mastery);
      }
      return tree;
    }
  }
,content);
  data.setPlatform(platform.getTag());
  data.setLocale(locale);
  data.setIncludedData(includedData);
  for (  final Mastery mastery : data.getData().values()) {
    mastery.setPlatform(platform.getTag());
    mastery.setVersion(data.getVersion());
    mastery.setLocale(locale);
    mastery.setIncludedData(includedData);
  }
  final Iterator<Number> iterator=ids.iterator();
  return CloseableIterators.from(new Iterator<Mastery>(){
    @Override public boolean hasNext(){
      return iterator.hasNext();
    }
    @Override public Mastery next(){
      final Number id=iterator.next();
      return data.getData().get(id.toString());
    }
    @Override public void remove(){
      throw new UnsupportedOperationException();
    }
  }
);
}

Fixed version (ground truth):
@SuppressWarnings("String_Node_Str") @GetMany(Mastery.class) public CloseableIterator<Mastery> getManyMastery(final Map<String,Object> query,final PipelineContext context){
  final Platform platform=(Platform)query.get("String_Node_Str");
  final Iterable<Number> ids=(Iterable<Number>)query.get("String_Node_Str");
  Utilities.checkNotNull(platform,"String_Node_Str",ids,"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 ? ImmutableSet.of("String_Node_Str") : (Set<String>)query.get("String_Node_Str");
  final String content=get("String_Node_Str",version,locale);
  final MasteryList data=DataObject.fromJSON(MasteryList.class,new Function<JsonNode,JsonNode>(){
    private final Function<JsonNode,JsonNode> INCLUDED_DATA_PROCESSOR=new IncludedDataProcessor(Sets.union(includedData,IncludedDataProcessor.DEFAULT_MASTERY_TAGS));
    @Override public JsonNode apply(    final JsonNode tree){
      if (tree == null) {
        return tree;
      }
      final JsonNode temp=tree.get("String_Node_Str");
      if (temp == null) {
        return tree;
      }
      for (      final JsonNode mastery : temp) {
        INCLUDED_DATA_PROCESSOR.apply(mastery);
      }
      return tree;
    }
  }
,content);
  if (data == null) {
    return null;
  }
  data.setPlatform(platform.getTag());
  data.setLocale(locale);
  data.setIncludedData(includedData);
  for (  final Mastery mastery : data.getData().values()) {
    mastery.setPlatform(platform.getTag());
    mastery.setVersion(data.getVersion());
    mastery.setLocale(locale);
    mastery.setIncludedData(includedData);
  }
  final Iterator<Number> iterator=ids.iterator();
  return CloseableIterators.from(new Iterator<Mastery>(){
    @Override public boolean hasNext(){
      return iterator.hasNext();
    }
    @Override public Mastery next(){
      final Number id=iterator.next();
      return data.getData().get(id.toString());
    }
    @Override public void remove(){
      throw new UnsupportedOperationException();
    }
  }
);
}