Program: 109595
Project: 109595
Buggy source:
public void populateMeta(JavaMetadata meta){
  ASTParser parser=ASTParser.newParser(AST.JLS3);
  parser.setBindingsRecovery(true);
  parser.setResolveBindings(true);
  try {
    parser.setSource(FileUtils.readFileToString(meta.getFilePointer()).toCharArray());
  }
 catch (  IOException e) {
    LOG.error("String_Node_Str",e);
    return;
  }
  parser.setKind(ASTParser.K_COMPILATION_UNIT);
  final CompilationUnit cu=(CompilationUnit)parser.createAST(null);
  @SuppressWarnings("String_Node_Str") List<ImportDeclaration> imports=cu.imports();
  Set<String> clzDependencies=new HashSet<String>();
  for (  ImportDeclaration id : imports) {
    if (LOG.isDebugEnabled()) {
      LOG.debug("String_Node_Str" + id.getName());
    }
    clzDependencies.add(id.getName().getFullyQualifiedName());
  }
  meta.setClassDependencies(clzDependencies);
  meta.setBlackListedDependencies(blacklistPackageResolver.extractBlacklist(clzDependencies));
  if (LOG.isDebugEnabled()) {
    for (    String id : meta.getBlackListedDependencies()) {
      LOG.debug("String_Node_Str" + id);
    }
  }
  @SuppressWarnings("String_Node_Str") List<TypeDeclaration> types=cu.types();
  for (  TypeDeclaration type : types) {
    PackageDeclaration packageDeclaration=cu.getPackage();
    String packageName="String_Node_Str";
    if (packageDeclaration != null) {
      packageName=cu.getPackage().getName().getFullyQualifiedName() + "String_Node_Str";
    }
    String fullPackage=packageName + type.getName().getFullyQualifiedName();
    meta.setQualifiedClassName(fullPackage);
    if (LOG.isDebugEnabled()) {
      LOG.debug("String_Node_Str" + fullPackage);
    }
    break;
  }
}

Fixed version (ground truth):
public void populateMeta(JavaMetadata meta){
  ASTParser parser=ASTParser.newParser(AST.JLS3);
  parser.setBindingsRecovery(true);
  parser.setResolveBindings(true);
  try {
    parser.setSource(FileUtils.readFileToString(meta.getFilePointer()).toCharArray());
  }
 catch (  IOException e) {
    LOG.error("String_Node_Str",e);
    return;
  }
  parser.setKind(ASTParser.K_COMPILATION_UNIT);
  final CompilationUnit cu=(CompilationUnit)parser.createAST(null);
  @SuppressWarnings("String_Node_Str") List<ImportDeclaration> imports=cu.imports();
  Set<String> clzDependencies=new HashSet<String>();
  if (imports != null) {
    for (    ImportDeclaration id : imports) {
      if (LOG.isDebugEnabled()) {
        LOG.debug("String_Node_Str" + id.getName());
      }
      clzDependencies.add(id.getName().getFullyQualifiedName());
    }
  }
  meta.setClassDependencies(clzDependencies);
  meta.setBlackListedDependencies(blacklistPackageResolver.extractBlacklist(clzDependencies));
  if (LOG.isDebugEnabled()) {
    for (    String id : meta.getBlackListedDependencies()) {
      LOG.debug("String_Node_Str" + id);
    }
  }
  @SuppressWarnings("String_Node_Str") List<TypeDeclaration> types=cu.types();
  if (types != null) {
    for (    TypeDeclaration type : types) {
      PackageDeclaration packageDeclaration=cu.getPackage();
      String packageName="String_Node_Str";
      if (packageDeclaration != null) {
        packageName=cu.getPackage().getName().getFullyQualifiedName() + "String_Node_Str";
      }
      String fullPackage=packageName + type.getName().getFullyQualifiedName();
      meta.setQualifiedClassName(fullPackage);
      if (LOG.isDebugEnabled()) {
        LOG.debug("String_Node_Str" + fullPackage);
      }
      break;
    }
  }
 else {
    LOG.warn("String_Node_Str" + meta.getPathRelativeToArchive());
  }
}