Program: 39286
Project: 39286
Buggy source:
@Override @SuppressWarnings("String_Node_Str") public Collection<Class<?>> convert(final Resource... resources){
  Map<String,CtClass> ctClasses=new HashMap<String,CtClass>();
  Map<String,Class<?>> existingClasses=new HashMap<String,Class<?>>();
  for (  Resource resource : resources) {
    if (resource.isReadable()) {
      LOG.info("String_Node_Str" + resource);
      try {
        existingClasses.putAll(findExistingClasses(resource.getInputStream()));
      }
 catch (      XMLStreamException e) {
        throw new IllegalStateException("String_Node_Str" + e.getMessage(),e);
      }
catch (      IOException e) {
        throw new IllegalStateException("String_Node_Str" + e.getMessage(),e);
      }
    }
  }
  for (  Resource resource : resources) {
    if (resource.isReadable()) {
      LOG.info("String_Node_Str" + resource);
      try {
        ctClasses.putAll(createClasses(existingClasses,resource.getInputStream()));
      }
 catch (      XMLStreamException e) {
        throw new IllegalStateException("String_Node_Str" + e.getMessage(),e);
      }
catch (      IOException e) {
        throw new IllegalStateException("String_Node_Str" + e.getMessage(),e);
      }
    }
  }
  for (  Resource resource : resources) {
    if (resource.isReadable()) {
      LOG.info("String_Node_Str" + resource + "String_Node_Str");
      try {
        defineClasses(ctClasses,resource.getInputStream());
      }
 catch (      XMLStreamException e) {
        throw new IllegalStateException("String_Node_Str" + e.getMessage(),e);
      }
catch (      ModelXmlCompilingException e) {
        throw new IllegalStateException("String_Node_Str" + e.getMessage(),e);
      }
catch (      IOException e) {
        throw new IllegalStateException("String_Node_Str" + e.getMessage(),e);
      }
    }
  }
  List<Class<?>> classes=new ArrayList<Class<?>>();
  for (  CtClass ctClass : ctClasses.values()) {
    try {
      classes.add(ctClass.toClass(classLoader));
    }
 catch (    CannotCompileException e) {
      throw new IllegalStateException("String_Node_Str" + e.getMessage(),e);
    }
  }
  classes.addAll(existingClasses.values());
  return classes;
}

Fixed version (ground truth):
@Override @SuppressWarnings("String_Node_Str") public Collection<Class<?>> convert(final Resource... resources){
  Map<String,CtClass> ctClasses=new HashMap<String,CtClass>();
  Map<String,Class<?>> existingClasses=new HashMap<String,Class<?>>();
  for (  Resource resource : resources) {
    if (resource.isReadable()) {
      LOG.info("String_Node_Str" + resource);
      try {
        existingClasses.putAll(findExistingClasses(resource.getInputStream()));
      }
 catch (      XMLStreamException e) {
        throw new IllegalStateException(ERROR_WHILE_PARSING_MODEL_XML + e.getMessage(),e);
      }
catch (      IOException e) {
        throw new IllegalStateException(ERROR_WHILE_PARSING_MODEL_XML + e.getMessage(),e);
      }
    }
  }
  for (  Resource resource : resources) {
    if (resource.isReadable()) {
      LOG.info("String_Node_Str" + resource);
      try {
        ctClasses.putAll(createClasses(existingClasses,resource.getInputStream()));
      }
 catch (      XMLStreamException e) {
        throw new IllegalStateException(ERROR_WHILE_PARSING_MODEL_XML + e.getMessage(),e);
      }
catch (      IOException e) {
        throw new IllegalStateException(ERROR_WHILE_PARSING_MODEL_XML + e.getMessage(),e);
      }
    }
  }
  for (  Resource resource : resources) {
    if (resource.isReadable()) {
      LOG.info("String_Node_Str" + resource + "String_Node_Str");
      try {
        defineClasses(ctClasses,resource.getInputStream());
      }
 catch (      XMLStreamException e) {
        throw new IllegalStateException(ERROR_WHILE_PARSING_MODEL_XML + e.getMessage(),e);
      }
catch (      ModelXmlCompilingException e) {
        throw new IllegalStateException(ERROR_WHILE_PARSING_MODEL_XML + e.getMessage(),e);
      }
catch (      IOException e) {
        throw new IllegalStateException(ERROR_WHILE_PARSING_MODEL_XML + e.getMessage(),e);
      }
    }
  }
  List<Class<?>> classes=new ArrayList<Class<?>>();
  for (  CtClass ctClass : ctClasses.values()) {
    try {
      classes.add(ctClass.toClass(classLoader));
    }
 catch (    CannotCompileException e) {
      throw new IllegalStateException(ERROR_WHILE_PARSING_MODEL_XML + e.getMessage(),e);
    }
  }
  classes.addAll(existingClasses.values());
  return classes;
}