Program: 143916
Project: 143916
Buggy source:
public static void main(String args[]){
  Properties options=new Properties();
  try {
    options.load(Main.class.getResourceAsStream("String_Node_Str"));
  }
 catch (  IOException e) {
    System.err.println("String_Node_Str");
  }
  String error=parseOptions(options,args);
  if (error != null) {
    System.err.println(error);
    System.err.println("String_Node_Str" + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str");
    System.exit(0);
  }
  String cfg=options.getProperty("String_Node_Str");
  if (cfg != null)   try {
    options.load(new URL(cfg).openStream());
  }
 catch (  IOException e) {
    try {
      options.load(new FileInputStream(cfg));
    }
 catch (    Exception fe) {
      System.err.println("String_Node_Str" + cfg);
    }
  }
  final String host=options.getProperty("String_Node_Str");
  final String port=options.getProperty("String_Node_Str");
  final Frame frame=new Frame("String_Node_Str" + host + (port.equals("String_Node_Str") ? "String_Node_Str" : "String_Node_Str" + port));
  try {
    clipboard=frame.getToolkit().getSystemClipboard();
  }
 catch (  Exception e) {
    System.err.println("String_Node_Str");
    System.err.println("String_Node_Str");
    clipboard=new Clipboard("String_Node_Str");
  }
  final Common setup=new Common(options);
  setup.registerPluginListener(new OnlineStatusListener(){
    public void online(){
      frame.setTitle("String_Node_Str" + host + (port.equals("String_Node_Str") ? "String_Node_Str" : "String_Node_Str" + port));
    }
    public void offline(){
      frame.setTitle("String_Node_Str");
    }
  }
);
  setup.registerPluginListener(new FocusStatusListener(){
    public void pluginGainedFocus(    Plugin plugin){
      if (Main.debug > 0)       System.err.println("String_Node_Str" + plugin + "String_Node_Str");
      focussedPlugin=plugin;
    }
    public void pluginLostFocus(    Plugin plugin){
      if (Main.debug > 0)       System.err.println("String_Node_Str" + plugin + "String_Node_Str");
    }
  }
);
  Hashtable componentList=setup.getComponents();
  Enumeration names=componentList.keys();
  while (names.hasMoreElements()) {
    String name=(String)names.nextElement();
    Component c=(Component)componentList.get(name);
    if (options.getProperty("String_Node_Str" + name) == null) {
      System.err.println("String_Node_Str" + name + "String_Node_Str");
      frame.add("String_Node_Str",c);
    }
 else     frame.add(options.getProperty("String_Node_Str" + name),c);
  }
  if (!personalJava) {
    MenuBar mb=new MenuBar();
    Menu file=new Menu("String_Node_Str");
    file.setShortcut(new MenuShortcut(KeyEvent.VK_H,true));
    MenuItem tmp;
    file.add(tmp=new MenuItem("String_Node_Str"));
    tmp.addActionListener(new ActionListener(){
      public void actionPerformed(      ActionEvent evt){
        setup.broadcast(new SocketRequest(host,Integer.parseInt(port)));
      }
    }
);
    file.add(tmp=new MenuItem("String_Node_Str"));
    tmp.addActionListener(new ActionListener(){
      public void actionPerformed(      ActionEvent evt){
        setup.broadcast(new SocketRequest());
      }
    }
);
    file.add(new MenuItem("String_Node_Str"));
    file.add(tmp=new MenuItem("String_Node_Str"));
    tmp.addActionListener(new ActionListener(){
      public void actionPerformed(      ActionEvent evt){
        if (setup.getComponents().get("String_Node_Str") != null) {
          PrintJob printJob=frame.getToolkit().getPrintJob(frame,"String_Node_Str",null);
          if (printJob == null)           return;
          ((Component)setup.getComponents().get("String_Node_Str")).print(printJob.getGraphics());
          printJob.end();
        }
      }
    }
);
    file.add(new MenuItem("String_Node_Str"));
    file.add(tmp=new MenuItem("String_Node_Str"));
    tmp.addActionListener(new ActionListener(){
      public void actionPerformed(      ActionEvent evt){
        frame.dispose();
        System.exit(0);
      }
    }
);
    mb.add(file);
    Menu edit=new Menu("String_Node_Str");
    edit.setShortcut(new MenuShortcut(KeyEvent.VK_H,true));
    edit.add(tmp=new MenuItem("String_Node_Str"));
    tmp.addActionListener(new ActionListener(){
      public void actionPerformed(      ActionEvent evt){
        if (focussedPlugin instanceof VisualTransferPlugin)         ((VisualTransferPlugin)focussedPlugin).copy(clipboard);
      }
    }
);
    edit.add(tmp=new MenuItem("String_Node_Str"));
    tmp.addActionListener(new ActionListener(){
      public void actionPerformed(      ActionEvent evt){
        if (focussedPlugin instanceof VisualTransferPlugin)         ((VisualTransferPlugin)focussedPlugin).paste(clipboard);
      }
    }
);
    mb.add(edit);
    Hashtable menuList=setup.getMenus();
    names=menuList.keys();
    while (names.hasMoreElements()) {
      String name=(String)names.nextElement();
      mb.add((Menu)menuList.get(name));
    }
    Menu help=new Menu("String_Node_Str");
    help.add(tmp=new MenuItem("String_Node_Str"));
    tmp.addActionListener(new ActionListener(){
      public void actionPerformed(      ActionEvent evt){
        final Dialog d=new Dialog(frame,"String_Node_Str",true);
        d.add("String_Node_Str",new Label("String_Node_Str" + "String_Node_Str"));
        Button close=new Button("String_Node_Str");
        close.addActionListener(new ActionListener(){
          public void actionPerformed(          ActionEvent evt){
            d.dispose();
          }
        }
);
        d.add("String_Node_Str",close);
        d.pack();
        d.setResizable(false);
        d.show();
      }
    }
);
    mb.setHelpMenu(help);
    frame.setMenuBar(mb);
  }
  frame.pack();
  frame.show();
  setup.broadcast(new SocketRequest(host,Integer.parseInt(port)));
  setup.broadcast(new ReturnFocusRequest());
}

Fixed version (ground truth):
public static void main(String args[]){
  Properties options=new Properties();
  try {
    options.load(Main.class.getResourceAsStream("String_Node_Str"));
  }
 catch (  IOException e) {
    System.err.println("String_Node_Str");
  }
  String error=parseOptions(options,args);
  if (error != null) {
    System.err.println(error);
    System.err.println("String_Node_Str" + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str");
    System.exit(0);
  }
  String cfg=options.getProperty("String_Node_Str");
  if (cfg != null)   try {
    options.load(new URL(cfg).openStream());
  }
 catch (  IOException e) {
    try {
      options.load(new FileInputStream(cfg));
    }
 catch (    Exception fe) {
      System.err.println("String_Node_Str" + cfg);
    }
  }
  final String host=options.getProperty("String_Node_Str");
  final String port=options.getProperty("String_Node_Str");
  final Frame frame=new Frame("String_Node_Str" + host + (port.equals("String_Node_Str") ? "String_Node_Str" : "String_Node_Str" + port));
  try {
    clipboard=frame.getToolkit().getSystemClipboard();
  }
 catch (  Exception e) {
    System.err.println("String_Node_Str");
    System.err.println("String_Node_Str");
    clipboard=new Clipboard("String_Node_Str");
  }
  final Common setup=new Common(options);
  setup.registerPluginListener(new OnlineStatusListener(){
    public void online(){
      frame.setTitle("String_Node_Str" + host + (port.equals("String_Node_Str") ? "String_Node_Str" : "String_Node_Str" + port));
    }
    public void offline(){
      frame.setTitle("String_Node_Str");
    }
  }
);
  setup.registerPluginListener(new FocusStatusListener(){
    public void pluginGainedFocus(    Plugin plugin){
      if (Main.debug > 0)       System.err.println("String_Node_Str" + plugin + "String_Node_Str");
      focussedPlugin=plugin;
    }
    public void pluginLostFocus(    Plugin plugin){
      if (Main.debug > 0)       System.err.println("String_Node_Str" + plugin + "String_Node_Str");
    }
  }
);
  Hashtable componentList=setup.getComponents();
  Enumeration names=componentList.keys();
  while (names.hasMoreElements()) {
    String name=(String)names.nextElement();
    Component c=(Component)componentList.get(name);
    if (options.getProperty("String_Node_Str" + name) == null) {
      System.err.println("String_Node_Str" + name + "String_Node_Str");
      frame.add("String_Node_Str",c);
    }
 else     frame.add(options.getProperty("String_Node_Str" + name),c);
  }
  if (!personalJava) {
    frame.addWindowListener(new WindowAdapter(){
      public void windowClosing(      WindowEvent evt){
        setup.broadcast(new SocketRequest());
        frame.setVisible(false);
        frame.dispose();
        System.exit(0);
      }
    }
);
    MenuBar mb=new MenuBar();
    Menu file=new Menu("String_Node_Str");
    file.setShortcut(new MenuShortcut(KeyEvent.VK_H,true));
    MenuItem tmp;
    file.add(tmp=new MenuItem("String_Node_Str"));
    tmp.addActionListener(new ActionListener(){
      public void actionPerformed(      ActionEvent evt){
        setup.broadcast(new SocketRequest(host,Integer.parseInt(port)));
      }
    }
);
    file.add(tmp=new MenuItem("String_Node_Str"));
    tmp.addActionListener(new ActionListener(){
      public void actionPerformed(      ActionEvent evt){
        setup.broadcast(new SocketRequest());
      }
    }
);
    file.add(new MenuItem("String_Node_Str"));
    file.add(tmp=new MenuItem("String_Node_Str"));
    tmp.addActionListener(new ActionListener(){
      public void actionPerformed(      ActionEvent evt){
        if (setup.getComponents().get("String_Node_Str") != null) {
          PrintJob printJob=frame.getToolkit().getPrintJob(frame,"String_Node_Str",null);
          if (printJob == null)           return;
          ((Component)setup.getComponents().get("String_Node_Str")).print(printJob.getGraphics());
          printJob.end();
        }
      }
    }
);
    file.add(new MenuItem("String_Node_Str"));
    file.add(tmp=new MenuItem("String_Node_Str"));
    tmp.addActionListener(new ActionListener(){
      public void actionPerformed(      ActionEvent evt){
        frame.dispose();
        System.exit(0);
      }
    }
);
    mb.add(file);
    Menu edit=new Menu("String_Node_Str");
    edit.setShortcut(new MenuShortcut(KeyEvent.VK_H,true));
    edit.add(tmp=new MenuItem("String_Node_Str"));
    tmp.addActionListener(new ActionListener(){
      public void actionPerformed(      ActionEvent evt){
        if (focussedPlugin instanceof VisualTransferPlugin)         ((VisualTransferPlugin)focussedPlugin).copy(clipboard);
      }
    }
);
    edit.add(tmp=new MenuItem("String_Node_Str"));
    tmp.addActionListener(new ActionListener(){
      public void actionPerformed(      ActionEvent evt){
        if (focussedPlugin instanceof VisualTransferPlugin)         ((VisualTransferPlugin)focussedPlugin).paste(clipboard);
      }
    }
);
    mb.add(edit);
    Hashtable menuList=setup.getMenus();
    names=menuList.keys();
    while (names.hasMoreElements()) {
      String name=(String)names.nextElement();
      mb.add((Menu)menuList.get(name));
    }
    Menu help=new Menu("String_Node_Str");
    help.add(tmp=new MenuItem("String_Node_Str"));
    tmp.addActionListener(new ActionListener(){
      public void actionPerformed(      ActionEvent evt){
        final Dialog d=new Dialog(frame,"String_Node_Str",true);
        d.add("String_Node_Str",new Label("String_Node_Str" + "String_Node_Str"));
        Button close=new Button("String_Node_Str");
        close.addActionListener(new ActionListener(){
          public void actionPerformed(          ActionEvent evt){
            d.dispose();
          }
        }
);
        d.add("String_Node_Str",close);
        d.pack();
        d.setResizable(false);
        d.show();
      }
    }
);
    mb.setHelpMenu(help);
    frame.setMenuBar(mb);
  }
  frame.pack();
  frame.show();
  setup.broadcast(new SocketRequest(host,Integer.parseInt(port)));
  setup.broadcast(new ReturnFocusRequest());
}