Program: 51890
Project: 51890
Buggy source:
public static void main(String[] argv) throws Exception {
  CommandLineParser parser=new PosixParser();
  Options options=new Options();
  options.addOption("String_Node_Str","String_Node_Str",false,"String_Node_Str");
  options.addOption("String_Node_Str","String_Node_Str",false,"String_Node_Str");
  options.addOption("String_Node_Str","String_Node_Str",true,"String_Node_Str");
  options.addOption("String_Node_Str","String_Node_Str",true,"String_Node_Str");
  options.addOption("String_Node_Str","String_Node_Str",false,"String_Node_Str");
  CommandLine line=parser.parse(options,argv);
  String command=null;
  String parentID=null;
  String childID=null;
  if (line.hasOption('h')) {
    HelpFormatter myhelp=new HelpFormatter();
    myhelp.printHelp("String_Node_Str",options);
    System.out.println("String_Node_Str");
    System.out.println("String_Node_Str");
    System.exit(0);
  }
  if (line.hasOption('s')) {
    command="String_Node_Str";
  }
  if (line.hasOption('r')) {
    command="String_Node_Str";
  }
  if (line.hasOption('p')) {
    parentID=line.getOptionValue('p');
  }
  if (line.hasOption('c')) {
    childID=line.getOptionValue('c');
  }
  if (command == null) {
    System.out.println("String_Node_Str");
    System.exit(1);
  }
  if ("String_Node_Str".equals(command) || "String_Node_Str".equals(command)) {
    if (parentID == null) {
      System.out.println("String_Node_Str");
      System.exit(1);
    }
    if (childID == null) {
      System.out.println("String_Node_Str");
      System.exit(1);
    }
  }
  CommunityFiliator filiator=new CommunityFiliator();
  Context c=new Context();
  c.setIgnoreAuthorization(true);
  try {
    Community parent=filiator.resolveCommunity(c,parentID);
    Community child=filiator.resolveCommunity(c,childID);
    if (parent == null) {
      System.out.println("String_Node_Str" + parentID);
      System.exit(1);
    }
    if (child == null) {
      System.out.println("String_Node_Str" + childID);
      System.exit(1);
    }
    if ("String_Node_Str".equals(command)) {
      filiator.filiate(c,parent,child);
    }
 else {
      filiator.defiliate(c,parent,child);
    }
  }
 catch (  SQLException sqlE) {
    System.out.println("String_Node_Str" + sqlE.toString());
  }
catch (  AuthorizeException authE) {
    System.out.println("String_Node_Str" + authE.toString());
  }
catch (  IOException ioE) {
    System.out.println("String_Node_Str" + ioE.toString());
  }
}

Fixed version (ground truth):
/** 
 * @param argv arguments
 * @throws Exception if error
 */
public static void main(String[] argv) throws Exception {
  CommandLineParser parser=new PosixParser();
  Options options=new Options();
  options.addOption("String_Node_Str","String_Node_Str",false,"String_Node_Str");
  options.addOption("String_Node_Str","String_Node_Str",false,"String_Node_Str");
  options.addOption("String_Node_Str","String_Node_Str",true,"String_Node_Str");
  options.addOption("String_Node_Str","String_Node_Str",true,"String_Node_Str");
  options.addOption("String_Node_Str","String_Node_Str",false,"String_Node_Str");
  CommandLine line=parser.parse(options,argv);
  String command=null;
  String parentID=null;
  String childID=null;
  if (line.hasOption('h')) {
    HelpFormatter myhelp=new HelpFormatter();
    myhelp.printHelp("String_Node_Str",options);
    System.out.println("String_Node_Str");
    System.out.println("String_Node_Str");
    System.exit(0);
  }
  if (line.hasOption('s')) {
    command="String_Node_Str";
  }
  if (line.hasOption('r')) {
    command="String_Node_Str";
  }
  if (line.hasOption('p')) {
    parentID=line.getOptionValue('p');
  }
  if (line.hasOption('c')) {
    childID=line.getOptionValue('c');
  }
  if (command == null) {
    System.out.println("String_Node_Str");
    System.exit(1);
  }
  if ("String_Node_Str".equals(command) || "String_Node_Str".equals(command)) {
    if (parentID == null) {
      System.out.println("String_Node_Str");
      System.exit(1);
    }
    if (childID == null) {
      System.out.println("String_Node_Str");
      System.exit(1);
    }
  }
  CommunityFiliator filiator=new CommunityFiliator();
  Context c=new Context();
  c.setIgnoreAuthorization(true);
  try {
    Community parent=filiator.resolveCommunity(c,parentID);
    Community child=filiator.resolveCommunity(c,childID);
    if (parent == null) {
      System.out.println("String_Node_Str" + parentID);
      System.exit(1);
    }
    if (child == null) {
      System.out.println("String_Node_Str" + childID);
      System.exit(1);
    }
    if ("String_Node_Str".equals(command)) {
      filiator.filiate(c,parent,child);
    }
 else {
      filiator.defiliate(c,parent,child);
    }
  }
 catch (  SQLException sqlE) {
    System.out.println("String_Node_Str" + sqlE.toString());
  }
catch (  AuthorizeException authE) {
    System.out.println("String_Node_Str" + authE.toString());
  }
catch (  IOException ioE) {
    System.out.println("String_Node_Str" + ioE.toString());
  }
}