Program: 173483
Project: 173483
Buggy source:
public void actionPerformed(ActionEvent actor){
  JComponent source=(JComponent)actor.getSource();
  String command=actor.getActionCommand();
  List<PossibleAction> executedActions=null;
  PossibleAction executedAction=null;
  if (source instanceof ActionTaker) {
    executedActions=((ActionTaker)source).getPossibleActions();
    if (!executedActions.isEmpty()) {
      executedAction=executedActions.get(0);
      log.debug("String_Node_Str" + executedAction.toString());
    }
    if (executedAction instanceof SetDividend) {
      setSelect(revenue[orCompIndex],revenueSelect[orCompIndex],false);
    }
    orUIManager.processAction(command,executedActions);
  }
 else   if (source == zoomIn) {
    fitToWindow.setSelected(false);
    fitToWidth.setSelected(false);
    fitToHeight.setSelected(false);
    orWindow.getMapPanel().zoom(true);
    redrawRoutes();
  }
 else   if (source == zoomOut) {
    fitToWindow.setSelected(false);
    fitToWidth.setSelected(false);
    fitToHeight.setSelected(false);
    orWindow.getMapPanel().zoom(false);
    redrawRoutes();
  }
 else   if (source == fitToWindow) {
    if (fitToWindow.isSelected()) {
      fitToWidth.setSelected(false);
      fitToHeight.setSelected(false);
      orWindow.getMapPanel().fitToWindow();
      redrawRoutes();
    }
 else {
      orWindow.getMapPanel().removeFitToOption();
    }
  }
 else   if (source == fitToWidth) {
    if (fitToWidth.isSelected()) {
      fitToWindow.setSelected(false);
      fitToHeight.setSelected(false);
      orWindow.getMapPanel().fitToWidth();
      redrawRoutes();
    }
 else {
      orWindow.getMapPanel().removeFitToOption();
    }
  }
 else   if (source == fitToHeight) {
    if (fitToHeight.isSelected()) {
      fitToWindow.setSelected(false);
      fitToWidth.setSelected(false);
      orWindow.getMapPanel().fitToHeight();
      redrawRoutes();
    }
 else {
      orWindow.getMapPanel().removeFitToOption();
    }
  }
 else   if (source == calibrateMap) {
    MapManager mapManager=orUIManager.getMap().getMapManager();
    String offsetX=JOptionPane.showInputDialog(this,"String_Node_Str",mapManager.getMapXOffset());
    try {
      mapManager.setMapXOffset(Integer.parseInt(offsetX));
    }
 catch (    NumberFormatException e) {
    }
    String offsetY=JOptionPane.showInputDialog(this,"String_Node_Str",mapManager.getMapYOffset());
    try {
      mapManager.setMapYOffset(Integer.parseInt(offsetY));
    }
 catch (    NumberFormatException e) {
    }
    String scale=JOptionPane.showInputDialog(this,"String_Node_Str",mapManager.getMapScale());
    try {
      mapManager.setMapScale(Float.parseFloat(scale));
    }
 catch (    NumberFormatException e) {
    }
    orWindow.getMapPanel().zoom(true);
    orWindow.getMapPanel().zoom(false);
  }
 else   if (command == NETWORK_INFO_CMD) {
    JMenuItem item=(JMenuItem)actor.getSource();
    executeNetworkInfo(item.getText());
  }
 else {
    orUIManager.processAction(command,null);
  }
}

Fixed version (ground truth):
public void actionPerformed(ActionEvent actor){
  JComponent source=(JComponent)actor.getSource();
  String command=actor.getActionCommand();
  List<PossibleAction> executedActions=null;
  PossibleAction executedAction=null;
  if (source instanceof ActionTaker) {
    executedActions=((ActionTaker)source).getPossibleActions();
    if (!executedActions.isEmpty()) {
      executedAction=executedActions.get(0);
      log.debug("String_Node_Str" + executedAction.toString());
    }
    if (executedAction instanceof SetDividend) {
      setSelect(revenue[orCompIndex],revenueSelect[orCompIndex],false);
    }
    orUIManager.processAction(command,executedActions);
  }
 else   if (source == zoomIn) {
    fitToWindow.setSelected(false);
    fitToWidth.setSelected(false);
    fitToHeight.setSelected(false);
    orWindow.getMapPanel().zoom(true);
  }
 else   if (source == zoomOut) {
    fitToWindow.setSelected(false);
    fitToWidth.setSelected(false);
    fitToHeight.setSelected(false);
    orWindow.getMapPanel().zoom(false);
  }
 else   if (source == fitToWindow) {
    if (fitToWindow.isSelected()) {
      fitToWidth.setSelected(false);
      fitToHeight.setSelected(false);
      orWindow.getMapPanel().fitToWindow();
    }
 else {
      orWindow.getMapPanel().removeFitToOption();
    }
  }
 else   if (source == fitToWidth) {
    if (fitToWidth.isSelected()) {
      fitToWindow.setSelected(false);
      fitToHeight.setSelected(false);
      orWindow.getMapPanel().fitToWidth();
    }
 else {
      orWindow.getMapPanel().removeFitToOption();
    }
  }
 else   if (source == fitToHeight) {
    if (fitToHeight.isSelected()) {
      fitToWindow.setSelected(false);
      fitToWidth.setSelected(false);
      orWindow.getMapPanel().fitToHeight();
    }
 else {
      orWindow.getMapPanel().removeFitToOption();
    }
  }
 else   if (source == calibrateMap) {
    MapManager mapManager=orUIManager.getMap().getMapManager();
    String offsetX=JOptionPane.showInputDialog(this,"String_Node_Str",mapManager.getMapXOffset());
    try {
      mapManager.setMapXOffset(Integer.parseInt(offsetX));
    }
 catch (    NumberFormatException e) {
    }
    String offsetY=JOptionPane.showInputDialog(this,"String_Node_Str",mapManager.getMapYOffset());
    try {
      mapManager.setMapYOffset(Integer.parseInt(offsetY));
    }
 catch (    NumberFormatException e) {
    }
    String scale=JOptionPane.showInputDialog(this,"String_Node_Str",mapManager.getMapScale());
    try {
      mapManager.setMapScale(Float.parseFloat(scale));
    }
 catch (    NumberFormatException e) {
    }
    orWindow.getMapPanel().zoom(true);
    orWindow.getMapPanel().zoom(false);
  }
 else   if (command == NETWORK_INFO_CMD) {
    JMenuItem item=(JMenuItem)actor.getSource();
    executeNetworkInfo(item.getText());
  }
 else {
    orUIManager.processAction(command,null);
  }
}