Program: 158285
Project: 158285
Buggy source:
public void loadBooster(DraftPickView draftPickView){
  logLastPick(draftPickView);
  loadCardsToPickedCardsArea(draftPickView.getPicks());
  this.draftPicks.clearCardEventListeners();
  this.draftPicks.addCardEventListener(new Listener<Event>(){
    @Override public void event(    Event event){
      if (event.getEventName().equals("String_Node_Str")) {
        if (event.getSource() != null) {
          cardIdPopupMenu=((SimpleCardView)event.getSource()).getId();
          popupMenuCardPanel.show(event.getComponent(),event.getxPos(),event.getyPos());
        }
 else {
          popupMenuPickedArea.show(event.getComponent(),event.getxPos(),event.getyPos());
        }
      }
    }
  }
);
  draftBooster.loadBooster(CardsViewUtil.convertSimple(draftPickView.getBooster()),bigCard);
  this.draftBooster.clearCardEventListeners();
  this.draftBooster.addCardEventListener(new Listener<Event>(){
    @Override public void event(    Event event){
      if (event.getEventName().equals("String_Node_Str")) {
        SimpleCardView source=(SimpleCardView)event.getSource();
        DraftPickView view=SessionHandler.sendCardPick(draftId,source.getId(),cardsHidden);
        if (view != null) {
          loadCardsToPickedCardsArea(view.getPicks());
          draftBooster.loadBooster(EMPTY_VIEW,bigCard);
          Plugins.getInstance().getActionCallback().hideTooltipPopup();
          setMessage("String_Node_Str");
        }
      }
      if (event.getEventName().equals("String_Node_Str")) {
        SimpleCardView source=(SimpleCardView)event.getSource();
        SessionHandler.sendCardMark(draftId,source.getId());
      }
    }
  }
);
  setMessage("String_Node_Str");
  if (!MageFrame.getInstance().isActive()) {
    MageTray.getInstance().displayMessage("String_Node_Str");
    MageTray.getInstance().blink();
  }
  countdown.stop();
  this.timeout=draftPickView.getTimeout();
  setTimeout(timeout);
  if (timeout != 0) {
    countdown.start();
  }
}

Fixed version (ground truth):
public void loadBooster(DraftPickView draftPickView){
  logLastPick(draftPickView);
  loadCardsToPickedCardsArea(draftPickView.getPicks());
  this.draftPicks.clearCardEventListeners();
  this.draftPicks.addCardEventListener(new Listener<Event>(){
    @Override public void event(    Event event){
      if (event.getEventName().equals("String_Node_Str")) {
        if (event.getSource() != null) {
          cardIdPopupMenu=((SimpleCardView)event.getSource()).getId();
          popupMenuCardPanel.show(event.getComponent(),event.getxPos(),event.getyPos());
        }
 else {
          popupMenuPickedArea.show(event.getComponent(),event.getxPos(),event.getyPos());
        }
      }
    }
  }
);
  draftBooster.loadBooster(CardsViewUtil.convertSimple(draftPickView.getBooster()),bigCard);
  this.draftBooster.clearCardEventListeners();
  this.draftBooster.addCardEventListener(new Listener<Event>(){
    @Override public void event(    Event event){
      if (event.getEventName().equals("String_Node_Str")) {
        SimpleCardView source=(SimpleCardView)event.getSource();
        DraftPickView view=SessionHandler.sendCardPick(draftId,source.getId(),cardsHidden);
        if (view != null) {
          loadCardsToPickedCardsArea(view.getPicks());
          draftBooster.loadBooster(EMPTY_VIEW,bigCard);
          Plugins.getInstance().getActionCallback().hideOpenComponents();
          setMessage("String_Node_Str");
        }
      }
      if (event.getEventName().equals("String_Node_Str")) {
        SimpleCardView source=(SimpleCardView)event.getSource();
        SessionHandler.sendCardMark(draftId,source.getId());
      }
    }
  }
);
  setMessage("String_Node_Str");
  if (!MageFrame.getInstance().isActive()) {
    MageTray.getInstance().displayMessage("String_Node_Str");
    MageTray.getInstance().blink();
  }
  countdown.stop();
  this.timeout=draftPickView.getTimeout();
  setTimeout(timeout);
  if (timeout != 0) {
    countdown.start();
  }
}