Program: 152144
Project: 152144
Buggy source:
/** 
 * Creates new form MainFrame
 */
public MainFrame(){
  instance=this;
  initComponents();
  ArrayList<Image> images=new ArrayList<Image>();
  images.add(new ImageIcon(getClass().getResource(RES + "String_Node_Str")).getImage());
  images.add(new ImageIcon(getClass().getResource(RES + "String_Node_Str")).getImage());
  images.add(new ImageIcon(getClass().getResource(RES + "String_Node_Str")).getImage());
  images.add(new ImageIcon(getClass().getResource(RES + "String_Node_Str")).getImage());
  setIconImages(images);
  String command="String_Node_Str";
  getRootPane().getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke(KeyEvent.VK_W,Toolkit.getDefaultToolkit().getMenuShortcutKeyMask()),command);
  getRootPane().getActionMap().put(command,new AbstractAction(){
    @Override public void actionPerformed(    ActionEvent e){
      if (NotificationIcon.isInstalled() || OSType.isMac()) {
        formWindowClosing(new WindowEvent(MainFrame.this,0));
      }
    }
  }
);
  if (OSType.isMac()) {
    logger.fine("String_Node_Str");
    try {
      ActionBean bean=new ActionBean();
      bean.setQuitAction(Actions.getQuitAction());
      bean.setAboutAction(Actions.getAboutAction());
      bean.setConfigAction(Actions.getConfigAction());
      IntegrationAdapter.getInstance().setActionBean(bean);
      programMenu.setVisible(false);
      aboutMenuItem.setVisible(false);
      helpMenu.remove(helpSeparator);
    }
 catch (    Throwable ex) {
      logger.log(Level.WARNING,"String_Node_Str" + "String_Node_Str",ex);
    }
  }
  ToolTipManager.sharedInstance().setInitialDelay(750);
  ToolTipManager.sharedInstance().setDismissDelay(60000);
  smsSender=new SMSSender();
  log.addRecord(new Log.Record(l10n.getString("String_Node_Str")));
  try {
    persistenceManager=PersistenceManager.getInstance();
  }
 catch (  IOException ex) {
    logger.log(Level.WARNING,"String_Node_Str",ex);
    log.addRecord(new Log.Record(l10n.getString("String_Node_Str"),null,Icons.STATUS_ERROR));
  }
  loadConfig();
  if (queue.size() > 0) {
    queue.setPaused(true);
  }
  contactPanel.requestFocusInWindow();
  contactPanel.ensureContactSelected();
  queue.addValuedListener(new QueueListener());
  if (Operators.getInstance().size() <= 0) {
    logger.warning("String_Node_Str");
    JOptionPane.showMessageDialog(null,new JLabel(l10n.getString("String_Node_Str")),null,JOptionPane.ERROR_MESSAGE);
  }
  Binding bind=Bindings.createAutoBinding(UpdateStrategy.READ,config,BeanProperty.create("String_Node_Str"),toolBar,BeanProperty.create("String_Node_Str"));
  bindGroup.addBinding(bind);
  bindGroup.bind();
  if (config.isCheckForUpdates()) {
    UpdateChecker updateChecker=new UpdateChecker();
    updateChecker.addActionListener(new UpdateListener());
    updateChecker.checkForUpdates();
  }
  Runtime.getRuntime().addShutdownHook(shutdownThread);
}

Fixed version (ground truth):
/** 
 * Creates new form MainFrame
 */
public MainFrame(){
  instance=this;
  initComponents();
  ArrayList<Image> images=new ArrayList<Image>();
  images.add(new ImageIcon(getClass().getResource(RES + "String_Node_Str")).getImage());
  images.add(new ImageIcon(getClass().getResource(RES + "String_Node_Str")).getImage());
  images.add(new ImageIcon(getClass().getResource(RES + "String_Node_Str")).getImage());
  images.add(new ImageIcon(getClass().getResource(RES + "String_Node_Str")).getImage());
  setIconImages(images);
  String command="String_Node_Str";
  getRootPane().getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke(KeyEvent.VK_W,Toolkit.getDefaultToolkit().getMenuShortcutKeyMask()),command);
  getRootPane().getActionMap().put(command,new AbstractAction(){
    @Override public void actionPerformed(    ActionEvent e){
      if (NotificationIcon.isInstalled() || OSType.isMac()) {
        formWindowClosing(new WindowEvent(MainFrame.this,0));
      }
    }
  }
);
  if (OSType.isMac()) {
    logger.fine("String_Node_Str");
    try {
      ActionBean bean=new ActionBean();
      bean.setQuitAction(Actions.getQuitAction());
      bean.setAboutAction(Actions.getAboutAction());
      bean.setConfigAction(Actions.getConfigAction());
      IntegrationAdapter.getInstance().setActionBean(bean);
      programMenu.setVisible(false);
      aboutMenuItem.setVisible(false);
      helpMenu.remove(helpSeparator);
    }
 catch (    Throwable ex) {
      logger.log(Level.WARNING,"String_Node_Str" + "String_Node_Str",ex);
    }
  }
  ToolTipManager.sharedInstance().setInitialDelay(750);
  ToolTipManager.sharedInstance().setDismissDelay(60000);
  smsSender=new SMSSender();
  log.addRecord(new Log.Record(l10n.getString("String_Node_Str")));
  try {
    persistenceManager=PersistenceManager.getInstance();
  }
 catch (  IOException ex) {
    logger.log(Level.WARNING,"String_Node_Str",ex);
    log.addRecord(new Log.Record(l10n.getString("String_Node_Str"),null,Icons.STATUS_ERROR));
  }
  loadConfig();
  if (queue.size() > 0) {
    queue.setPaused(true);
  }
  contactPanel.requestFocusInWindow();
  contactPanel.ensureContactSelected();
  queue.addValuedListener(new QueueListener());
  if (Operators.getInstance().size() <= 0 && Main.reallyRunning) {
    logger.warning("String_Node_Str");
    JOptionPane.showMessageDialog(null,new JLabel(l10n.getString("String_Node_Str")),null,JOptionPane.ERROR_MESSAGE);
  }
  Binding bind=Bindings.createAutoBinding(UpdateStrategy.READ,config,BeanProperty.create("String_Node_Str"),toolBar,BeanProperty.create("String_Node_Str"));
  bindGroup.addBinding(bind);
  bindGroup.bind();
  if (config.isCheckForUpdates()) {
    UpdateChecker updateChecker=new UpdateChecker();
    updateChecker.addActionListener(new UpdateListener());
    updateChecker.checkForUpdates();
  }
  if (Main.reallyRunning) {
    Runtime.getRuntime().addShutdownHook(shutdownThread);
  }
}