Program: 117626
Project: 117626
Buggy source:
@SuppressWarnings("String_Node_Str") @GetMany(MasteryList.class) public CloseableIterator<MasteryList> getManyMasteryList(final Map<String,Object> query,final PipelineContext context){
  final Platform platform=(Platform)query.get("String_Node_Str");
  final Iterable<String> versions=(Iterable<String>)query.get("String_Node_Str");
  Utilities.checkNotNull(platform,"String_Node_Str",versions,"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 Iterator<String> iterator=versions.iterator();
  return CloseableIterators.from(new Iterator<MasteryList>(){
    @Override public boolean hasNext(){
      return iterator.hasNext();
    }
    @Override public MasteryList next(){
      final String version=iterator.next();
      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);
      }
      return data;
    }
    @Override public void remove(){
      throw new UnsupportedOperationException();
    }
  }
);
}

Fixed version (ground truth):
@SuppressWarnings("String_Node_Str") @GetMany(MasteryList.class) public CloseableIterator<MasteryList> getManyMasteryList(final Map<String,Object> query,final PipelineContext context){
  final Platform platform=(Platform)query.get("String_Node_Str");
  final Iterable<String> versions=(Iterable<String>)query.get("String_Node_Str");
  Utilities.checkNotNull(platform,"String_Node_Str",versions,"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 Iterator<String> iterator=versions.iterator();
  return CloseableIterators.from(new Iterator<MasteryList>(){
    @Override public boolean hasNext(){
      return iterator.hasNext();
    }
    @Override public MasteryList next(){
      final String version=iterator.next();
      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);
      }
      return data;
    }
    @Override public void remove(){
      throw new UnsupportedOperationException();
    }
  }
);
}