Program: 143957
Project: 143957
Buggy source:
public static void main(String args[]){
  Properties options=new Properties();
  try {
    options.load(options.getClass().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");
    System.exit(0);
  }
  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");
    }
  }
);
  FocusListener focusListener=new FocusListener(){
    public void focusGained(    FocusEvent e){
      Component c=e.getComponent();
      Hashtable components=setup.getComponents();
      Enumeration ce=components.keys();
      while (ce.hasMoreElements()) {
        String key=(String)ce.nextElement();
        if (c == components.get(key)) {
          focussedPlugin=(Plugin)setup.getPlugins().get(key);
          return;
        }
      }
    }
    public void focusLost(    FocusEvent e){
    }
  }
;
  Hashtable componentList=setup.getComponents();
  Enumeration names=componentList.keys();
  while (names.hasMoreElements()) {
    String name=(String)names.nextElement();
    Component c=(Component)componentList.get(name);
    c.addFocusListener(focusListener);
    c.addMouseListener(new java.awt.event.MouseAdapter(){
      public void mouseEntered(      java.awt.event.MouseEvent evt){
        evt.getComponent().requestFocus();
      }
    }
);
    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);
  }
  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){
      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){
      Dialog d=new Dialog(frame,"String_Node_Str",true);
      d.add(new Label("String_Node_Str" + "String_Node_Str"));
      d.setResizable(false);
      d.pack();
      d.show();
    }
  }
);
  mb.setHelpMenu(help);
  frame.setMenuBar(mb);
  frame.pack();
  frame.show();
  setup.broadcast(new SocketRequest(host,Integer.parseInt(port)));
}

Fixed version (ground truth):
public static void main(String args[]){
  Properties options=new Properties();
  try {
    options.load(options.getClass().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");
    System.exit(0);
  }
  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");
    }
  }
);
  FocusListener focusListener=new FocusListener(){
    public void focusGained(    FocusEvent e){
      Component c=e.getComponent();
      Hashtable components=setup.getComponents();
      Enumeration ce=components.keys();
      while (ce.hasMoreElements()) {
        String key=(String)ce.nextElement();
        if (c == components.get(key)) {
          focussedPlugin=(Plugin)setup.getPlugins().get(key);
          return;
        }
      }
    }
    public void focusLost(    FocusEvent e){
    }
  }
;
  Hashtable componentList=setup.getComponents();
  Enumeration names=componentList.keys();
  while (names.hasMoreElements()) {
    String name=(String)names.nextElement();
    Component c=(Component)componentList.get(name);
    c.addFocusListener(focusListener);
    c.addMouseListener(new java.awt.event.MouseAdapter(){
      public void mouseEntered(      java.awt.event.MouseEvent evt){
        evt.getComponent().requestFocus();
      }
    }
);
    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);
  }
  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){
      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.setResizable(false);
      d.pack();
      d.show();
    }
  }
);
  mb.setHelpMenu(help);
  frame.setMenuBar(mb);
  frame.pack();
  frame.show();
  setup.broadcast(new SocketRequest(host,Integer.parseInt(port)));
}