Program: 158872
Project: 158872
Buggy source:
/** 
 * Creates new form TournamentPanel
 */
public TournamentPanel(){
  playersModel=new TournamentPlayersTableModel();
  matchesModel=new TournamentMatchesTableModel();
  initComponents();
  this.restoreDividerLocations();
  btnQuitTournament.setVisible(false);
  df=DateFormat.getDateTimeInstance();
  tablePlayers.createDefaultColumnsFromModel();
  TableUtil.setColumnWidthAndOrder(tablePlayers,defaultColumnsWidthPlayers,KEY_TOURNAMENT_PLAYER_COLUMNS_WIDTH,KEY_TOURNAMENT_PLAYER_COLUMNS_ORDER);
  tablePlayers.setDefaultRenderer(Icon.class,new CountryCellRenderer());
  tableMatches.createDefaultColumnsFromModel();
  TableUtil.setColumnWidthAndOrder(tableMatches,defaultColumnsWidthMatches,KEY_TOURNAMENT_MATCH_COLUMNS_WIDTH,KEY_TOURNAMENT_MATCH_COLUMNS_ORDER);
  chatPanel1.useExtendedView(ChatPanel.VIEW_MODE.NONE);
  chatPanel1.setChatType(ChatPanel.ChatType.TOURNAMENT);
  Action action=new AbstractAction(){
    @Override public void actionPerformed(    ActionEvent e){
      int modelRow=Integer.valueOf(e.getActionCommand());
      String state=(String)tableMatches.getValueAt(modelRow,2);
      String actionText=(String)tableMatches.getValueAt(modelRow,TournamentMatchesTableModel.ACTION_COLUMN);
      UUID tableId=UUID.fromString((String)matchesModel.getValueAt(modelRow,TournamentMatchesTableModel.ACTION_COLUMN + 1));
      UUID gameId=UUID.fromString((String)matchesModel.getValueAt(modelRow,TournamentMatchesTableModel.ACTION_COLUMN + 3));
      if (state.startsWith("String_Node_Str") && actionText.equals("String_Node_Str")) {
        logger.info("String_Node_Str" + gameId);
        session.watchTournamentTable(tableId);
      }
    }
  }
;
  ButtonColumn buttonColumn=new ButtonColumn(tableMatches,action,TournamentMatchesTableModel.ACTION_COLUMN);
}

Fixed version (ground truth):
/** 
 * Creates new form TournamentPanel
 */
public TournamentPanel(){
  playersModel=new TournamentPlayersTableModel();
  matchesModel=new TournamentMatchesTableModel();
  initComponents();
  this.restoreDividerLocations();
  btnQuitTournament.setVisible(false);
  df=DateFormat.getDateTimeInstance();
  tablePlayers.createDefaultColumnsFromModel();
  TableUtil.setColumnWidthAndOrder(tablePlayers,defaultColumnsWidthPlayers,KEY_TOURNAMENT_PLAYER_COLUMNS_WIDTH,KEY_TOURNAMENT_PLAYER_COLUMNS_ORDER);
  tablePlayers.setDefaultRenderer(Icon.class,new CountryCellRenderer());
  tableMatches.createDefaultColumnsFromModel();
  TableUtil.setColumnWidthAndOrder(tableMatches,defaultColumnsWidthMatches,KEY_TOURNAMENT_MATCH_COLUMNS_WIDTH,KEY_TOURNAMENT_MATCH_COLUMNS_ORDER);
  chatPanel1.useExtendedView(ChatPanel.VIEW_MODE.NONE);
  chatPanel1.setChatType(ChatPanel.ChatType.TOURNAMENT);
  Action action=new AbstractAction(){
    @Override public void actionPerformed(    ActionEvent e){
      int modelRow=Integer.valueOf(e.getActionCommand());
      String state=(String)tableMatches.getValueAt(modelRow,tableMatches.convertColumnIndexToView(2));
      String actionText=(String)tableMatches.getValueAt(modelRow,tableMatches.convertColumnIndexToView(TournamentMatchesTableModel.ACTION_COLUMN));
      UUID tableId=UUID.fromString((String)matchesModel.getValueAt(modelRow,TournamentMatchesTableModel.ACTION_COLUMN + 1));
      UUID gameId=UUID.fromString((String)matchesModel.getValueAt(modelRow,TournamentMatchesTableModel.ACTION_COLUMN + 3));
      if (state.startsWith("String_Node_Str") && actionText.equals("String_Node_Str")) {
        logger.info("String_Node_Str" + gameId);
        session.watchTournamentTable(tableId);
      }
    }
  }
;
  ButtonColumn buttonColumn=new ButtonColumn(tableMatches,action,tableMatches.convertColumnIndexToView(TournamentMatchesTableModel.ACTION_COLUMN));
}