Program: 61622
Project: 61622
Buggy source:
public void createContextMenu(final List<SWFList> swfs){
}

Fixed version (ground truth):
public void createContextMenu(final List<SWFList> swfs){
  this.swfs=swfs;
  contextPopupMenu=new JPopupMenu();
  expandRecursiveMenuItem=new JMenuItem(mainPanel.translate("String_Node_Str"));
  expandRecursiveMenuItem.addActionListener(this);
  expandRecursiveMenuItem.setActionCommand(ACTION_EXPAND_RECURSIVE);
  contextPopupMenu.add(expandRecursiveMenuItem);
  removeMenuItem=new JMenuItem(mainPanel.translate("String_Node_Str"));
  removeMenuItem.addActionListener(this);
  removeMenuItem.setActionCommand(ACTION_REMOVE_ITEM);
  contextPopupMenu.add(removeMenuItem);
  removeWithDependenciesMenuItem=new JMenuItem(mainPanel.translate("String_Node_Str"));
  removeWithDependenciesMenuItem.addActionListener(this);
  removeWithDependenciesMenuItem.setActionCommand(ACTION_REMOVE_ITEM_WITH_DEPENDENCIES);
  contextPopupMenu.add(removeWithDependenciesMenuItem);
  exportSelectionMenuItem=new JMenuItem(mainPanel.translate("String_Node_Str"));
  exportSelectionMenuItem.setActionCommand(MainFrameRibbonMenu.ACTION_EXPORT_SEL);
  exportSelectionMenuItem.addActionListener(mainPanel);
  contextPopupMenu.add(exportSelectionMenuItem);
  replaceSelectionMenuItem=new JMenuItem(mainPanel.translate("String_Node_Str"));
  replaceSelectionMenuItem.setActionCommand(MainPanel.ACTION_REPLACE);
  replaceSelectionMenuItem.addActionListener(mainPanel);
  contextPopupMenu.add(replaceSelectionMenuItem);
  rawEditMenuItem=new JMenuItem(mainPanel.translate("String_Node_Str"));
  rawEditMenuItem.setActionCommand(ACTION_RAW_EDIT);
  rawEditMenuItem.addActionListener(this);
  rawEditMenuItem.setVisible(false);
  contextPopupMenu.add(rawEditMenuItem);
  jumpToCharacterMenuItem=new JMenuItem(mainPanel.translate("String_Node_Str"));
  jumpToCharacterMenuItem.setActionCommand(ACTION_JUMP_TO_CHARACTER);
  jumpToCharacterMenuItem.addActionListener(this);
  jumpToCharacterMenuItem.setVisible(false);
  contextPopupMenu.add(jumpToCharacterMenuItem);
  closeSelectionMenuItem=new JMenuItem(mainPanel.translate("String_Node_Str"));
  closeSelectionMenuItem.setActionCommand(ACTION_CLOSE_SWF);
  closeSelectionMenuItem.addActionListener(this);
  contextPopupMenu.add(closeSelectionMenuItem);
  addTagMenu=new JMenu(mainPanel.translate("String_Node_Str"));
  contextPopupMenu.add(addTagMenu);
  moveTagMenu=new JMenu(mainPanel.translate("String_Node_Str"));
  contextPopupMenu.add(moveTagMenu);
  openSWFInsideTagMenuItem=new JMenuItem(mainPanel.translate("String_Node_Str"));
  contextPopupMenu.add(openSWFInsideTagMenuItem);
  openSWFInsideTagMenuItem.setActionCommand(ACTION_OPEN_SWFINSIDE);
  openSWFInsideTagMenuItem.addActionListener(this);
  addMouseListener(new MouseAdapter(){
    @Override public void mouseClicked(    MouseEvent e){
      if (SwingUtilities.isRightMouseButton(e)) {
        int row=getClosestRowForLocation(e.getX(),e.getY());
        int[] selectionRows=getSelectionRows();
        if (!Helper.contains(selectionRows,row)) {
          setSelectionRow(row);
        }
        TreePath[] paths=getSelectionPaths();
        if (paths == null || paths.length == 0) {
          return;
        }
        boolean allSelectedIsTagOrFrame=true;
        for (        TreePath treePath : paths) {
          TreeItem tag=(TreeItem)treePath.getLastPathComponent();
          if (!(tag instanceof Tag) && !(tag instanceof Frame)) {
            allSelectedIsTagOrFrame=false;
            break;
          }
        }
        replaceSelectionMenuItem.setVisible(false);
        closeSelectionMenuItem.setVisible(false);
        moveTagMenu.setVisible(false);
        addTagMenu.setVisible(false);
        expandRecursiveMenuItem.setVisible(false);
        openSWFInsideTagMenuItem.setVisible(false);
        if (paths.length == 1) {
          TreeItem item=(TreeItem)paths[0].getLastPathComponent();
          List<TreeItem> li=new ArrayList<>();
          li.add(item);
          updateContextMenu(swfs,li);
        }
        removeMenuItem.setVisible(allSelectedIsTagOrFrame);
        exportSelectionMenuItem.setEnabled(hasExportableNodes());
        contextPopupMenu.show(e.getComponent(),e.getX(),e.getY());
      }
    }
  }
);
}