Program: 95067
Project: 95067
Buggy source:
public static void main(String args[]) throws Exception {
  String serverName=null;
  List connectors=null;
  if (args.length > 0) {
    if (args[0].equals("String_Node_Str")) {
      ServerConfigParser parser=new ServerConfigParser();
      connectors=parser.load(new FileInputStream(args[1]));
    }
 else     if (!args[0].equals("String_Node_Str"))     serverName=args[0];
  }
  if (connectors != null) {
    serverGroups=new TCPServerSOContainerGroup[connectors.size()];
    int j=0;
    for (Iterator i=connectors.iterator(); i.hasNext(); ) {
      Connector connect=(Connector)i.next();
      serverGroups[j]=createServerGroup(connect.getHostname(),connect.getPort());
      List groups=connect.getGroups();
      for (Iterator g=groups.iterator(); g.hasNext(); ) {
        NamedGroup group=(NamedGroup)g.next();
        TCPServerSOContainer cont=createServerContainer(group.getIDForGroup(),serverGroups[j],group.getName(),connect.getTimeout());
        servers.add(cont);
      }
      System.out.println("String_Node_Str" + connect.getHostname() + "String_Node_Str");
      serverGroups[j].putOnTheAir();
      j++;
      System.out.println("String_Node_Str");
    }
  }
 else {
    if (serverName == null) {
      serverName=TCPServerSOContainer.getDefaultServerURL();
    }
    java.net.URI anURL=new java.net.URI(serverName);
    int port=anURL.getPort();
    if (port == -1) {
      port=TCPServerSOContainer.DEFAULT_PORT;
    }
    String name=anURL.getPath();
    if (name == null) {
      name=TCPServerSOContainer.DEFAULT_NAME;
    }
    serverGroups=new TCPServerSOContainerGroup[1];
    serverGroups[0]=new TCPServerSOContainerGroup(anURL.getPort());
    ID id=IDFactory.getDefault().createStringID(serverName);
    SOContainerConfig config=new SOContainerConfig(id);
    System.out.print("String_Node_Str");
    TCPServerSOContainer server=new TCPServerSOContainer(config,serverGroups[0],name,TCPServerSOContainer.DEFAULT_KEEPALIVE);
    ((ISharedObjectContainerGroupManager)server).setConnectPolicy(new JoinListener());
    ISharedObjectManager manager=server.getSharedObjectManager();
    manager.setRemoteAddPolicy(new SharedObjectAddListener());
    serverGroups[0].putOnTheAir();
    servers.add(server);
    System.out.println("String_Node_Str");
    System.out.println("String_Node_Str" + id.getName() + "String_Node_Str");
    System.out.println("String_Node_Str");
  }
}

Fixed version (ground truth):
public static void main(String args[]) throws Exception {
  String serverName=null;
  List connectors=null;
  if (args.length > 0) {
    if (args[0].equals("String_Node_Str")) {
      ServerConfigParser parser=new ServerConfigParser();
      connectors=parser.load(new FileInputStream(args[1]));
    }
 else     if (!args[0].equals("String_Node_Str"))     serverName=args[0];
  }
  if (connectors != null) {
    serverGroups=new TCPServerSOContainerGroup[connectors.size()];
    int j=0;
    for (Iterator i=connectors.iterator(); i.hasNext(); ) {
      Connector connect=(Connector)i.next();
      serverGroups[j]=createServerGroup(connect.getHostname(),connect.getPort());
      List groups=connect.getGroups();
      for (Iterator g=groups.iterator(); g.hasNext(); ) {
        NamedGroup group=(NamedGroup)g.next();
        TCPServerSOContainer cont=createServerContainer(group.getIDForGroup(),serverGroups[j],group.getName(),connect.getTimeout());
        ((ISharedObjectContainerGroupManager)cont).setConnectPolicy(new JoinListener());
        servers.add(cont);
      }
      System.out.println("String_Node_Str" + connect.getHostname() + "String_Node_Str");
      serverGroups[j].putOnTheAir();
      j++;
      System.out.println("String_Node_Str");
    }
  }
 else {
    if (serverName == null) {
      serverName=TCPServerSOContainer.getDefaultServerURL();
    }
    java.net.URI anURL=new java.net.URI(serverName);
    int port=anURL.getPort();
    if (port == -1) {
      port=TCPServerSOContainer.DEFAULT_PORT;
    }
    String name=anURL.getPath();
    if (name == null) {
      name=TCPServerSOContainer.DEFAULT_NAME;
    }
    serverGroups=new TCPServerSOContainerGroup[1];
    serverGroups[0]=new TCPServerSOContainerGroup(anURL.getPort());
    ID id=IDFactory.getDefault().createStringID(serverName);
    SOContainerConfig config=new SOContainerConfig(id);
    System.out.print("String_Node_Str");
    TCPServerSOContainer server=new TCPServerSOContainer(config,serverGroups[0],name,TCPServerSOContainer.DEFAULT_KEEPALIVE);
    ((ISharedObjectContainerGroupManager)server).setConnectPolicy(new JoinListener());
    ISharedObjectManager manager=server.getSharedObjectManager();
    manager.setRemoteAddPolicy(new SharedObjectAddListener());
    serverGroups[0].putOnTheAir();
    servers.add(server);
    System.out.println("String_Node_Str");
    System.out.println("String_Node_Str" + id.getName() + "String_Node_Str");
    System.out.println("String_Node_Str");
  }
}