Program: 61488
Project: 61488
Buggy source:
public void updateComponents(SWF swf){
  this.swf=swf;
  boolean isRunning=Main.isRunning();
  boolean isDebugRunning=Main.isDebugRunning();
  boolean isDebugPaused=Main.isDebugPaused();
  boolean isRunningOrDebugging=isRunning || isDebugRunning;
  boolean swfSelected=swf != null;
  boolean isWorking=Main.isWorking();
  List<ABCContainerTag> abcList=swf != null ? swf.getAbcList() : null;
  boolean hasAbc=swfSelected && abcList != null && !abcList.isEmpty();
  boolean hasDebugger=hasAbc && DebuggerTools.hasDebugger(swf);
  MainPanel mainPanel=mainFrame.getPanel();
  boolean swfLoaded=mainPanel != null ? !mainPanel.getSwfs().isEmpty() : false;
  setMenuEnabled("String_Node_Str",!isWorking);
  setMenuEnabled("String_Node_Str",!isWorking);
  setMenuEnabled("String_Node_Str",swfSelected && !isWorking);
  setMenuEnabled("String_Node_Str",swfSelected && !isWorking);
  setMenuEnabled("String_Node_Str",swfSelected && !isWorking);
  setMenuEnabled("String_Node_Str",swfSelected && !isWorking);
  setMenuEnabled("String_Node_Str",swfSelected && !isWorking);
  setMenuEnabled("String_Node_Str",swfSelected && !isWorking);
  setMenuEnabled("String_Node_Str",swfSelected && !isWorking);
  setMenuEnabled("String_Node_Str",swfLoaded && !isWorking);
  setMenuEnabled("String_Node_Str",swfLoaded && !isWorking);
  setMenuEnabled("String_Node_Str",swfSelected);
  setMenuEnabled("String_Node_Str",swfSelected && !isWorking);
  setMenuEnabled("String_Node_Str",swfSelected && !isWorking);
  setMenuEnabled("String_Node_Str",swfSelected && !isWorking);
  setMenuEnabled("String_Node_Str",swfSelected && !isWorking);
  setMenuEnabled("String_Node_Str",swfSelected && !isWorking);
  setMenuEnabled("String_Node_Str",swfSelected && !isWorking);
  setMenuEnabled("String_Node_Str",swfSelected && !isWorking);
  setMenuEnabled("String_Node_Str",swfSelected);
  setMenuEnabled("String_Node_Str",swfSelected && !isWorking);
  setMenuEnabled("String_Node_Str",swfSelected && !isWorking);
  setMenuEnabled("String_Node_Str",swfSelected && !isWorking);
  setMenuEnabled("String_Node_Str",swfSelected && !isWorking);
  setMenuEnabled("String_Node_Str",swfSelected);
  setMenuEnabled("String_Node_Str",swfSelected && !isWorking);
  setMenuEnabled("String_Node_Str",swfSelected && !isWorking);
  setMenuEnabled("String_Node_Str",hasAbc);
  setMenuEnabled("String_Node_Str",swfSelected);
  setMenuEnabled("String_Node_Str",swfSelected);
  setMenuEnabled("String_Node_Str",swfSelected);
  setMenuEnabled("String_Node_Str",!isWorking);
  setMenuEnabled("String_Node_Str",hasAbc);
  setMenuEnabled("String_Node_Str",!isWorking);
  setMenuEnabled("String_Node_Str",!isWorking);
  setMenuEnabled("String_Node_Str",!isWorking);
  setMenuEnabled("String_Node_Str",!isWorking);
  setMenuEnabled("String_Node_Str",!isWorking);
  setMenuEnabled("String_Node_Str",!isWorking);
  setMenuEnabled("String_Node_Str",swfSelected && !isRunningOrDebugging);
  setMenuEnabled("String_Node_Str",!isRunningOrDebugging);
  setMenuEnabled("String_Node_Str",isRunningOrDebugging);
  setMenuEnabled("String_Node_Str",isRunningOrDebugging);
  setPathVisible("String_Node_Str",isDebugRunning);
  setMenuEnabled("String_Node_Str",isDebugRunning);
  setMenuEnabled("String_Node_Str",isDebugPaused);
  setMenuEnabled("String_Node_Str",isDebugPaused);
  setMenuEnabled("String_Node_Str",isDebugPaused);
  setMenuEnabled("String_Node_Str",isDebugPaused);
}

Fixed version (ground truth):
public void updateComponents(SWF swf){
  this.swf=swf;
  boolean isRunning=Main.isRunning();
  boolean isDebugRunning=Main.isDebugRunning();
  boolean isDebugPaused=Main.isDebugPaused();
  boolean isRunningOrDebugging=isRunning || isDebugRunning;
  boolean swfSelected=swf != null;
  boolean isWorking=Main.isWorking();
  List<ABCContainerTag> abcList=swf != null ? swf.getAbcList() : null;
  boolean hasAbc=swfSelected && abcList != null && !abcList.isEmpty();
  boolean hasDebugger=hasAbc && DebuggerTools.hasDebugger(swf);
  MainPanel mainPanel=mainFrame.getPanel();
  boolean swfLoaded=mainPanel != null ? !mainPanel.getSwfs().isEmpty() : false;
  setMenuEnabled("String_Node_Str",!isWorking);
  setMenuEnabled("String_Node_Str",!isWorking);
  setMenuEnabled("String_Node_Str",swfSelected && !isWorking);
  setMenuEnabled("String_Node_Str",swfSelected && !isWorking);
  setMenuEnabled("String_Node_Str",swfSelected && !isWorking);
  setMenuEnabled("String_Node_Str",swfSelected && !isWorking);
  setMenuEnabled("String_Node_Str",swfSelected && !isWorking);
  setMenuEnabled("String_Node_Str",swfSelected && !isWorking);
  setMenuEnabled("String_Node_Str",swfSelected && !isWorking);
  setMenuEnabled("String_Node_Str",swfLoaded && !isWorking);
  setMenuEnabled("String_Node_Str",swfLoaded && !isWorking);
  setMenuEnabled("String_Node_Str",swfSelected);
  setMenuEnabled("String_Node_Str",swfSelected && !isWorking);
  setMenuEnabled("String_Node_Str",swfSelected && !isWorking);
  setMenuEnabled("String_Node_Str",swfSelected && !isWorking);
  setMenuEnabled("String_Node_Str",swfSelected && !isWorking);
  setMenuEnabled("String_Node_Str",swfSelected && !isWorking);
  setMenuEnabled("String_Node_Str",swfSelected && !isWorking);
  setMenuEnabled("String_Node_Str",swfSelected && !isWorking);
  setMenuEnabled("String_Node_Str",swfSelected);
  setMenuEnabled("String_Node_Str",swfSelected && !isWorking);
  setMenuEnabled("String_Node_Str",swfSelected && !isWorking);
  setMenuEnabled("String_Node_Str",swfSelected && !isWorking);
  setMenuEnabled("String_Node_Str",swfSelected && !isWorking);
  setMenuEnabled("String_Node_Str",swfSelected);
  setMenuEnabled("String_Node_Str",swfSelected && !isWorking);
  setMenuEnabled("String_Node_Str",swfSelected && !isWorking);
  setMenuEnabled("String_Node_Str",hasAbc);
  setMenuEnabled("String_Node_Str",swfSelected);
  setMenuEnabled("String_Node_Str",swfSelected);
  setMenuEnabled("String_Node_Str",swfSelected);
  setMenuEnabled("String_Node_Str",!isWorking);
  setMenuEnabled("String_Node_Str",hasAbc);
  setMenuEnabled("String_Node_Str",!isWorking);
  setMenuEnabled("String_Node_Str",!isWorking);
  setMenuEnabled("String_Node_Str",!isWorking);
  setMenuEnabled("String_Node_Str",!isWorking);
  setMenuEnabled("String_Node_Str",!isWorking);
  setMenuEnabled("String_Node_Str",!isWorking);
  setMenuEnabled("String_Node_Str",swfSelected && !isRunningOrDebugging);
  setMenuEnabled("String_Node_Str",swfSelected && !isRunningOrDebugging);
  setMenuEnabled("String_Node_Str",isRunningOrDebugging);
  setMenuEnabled("String_Node_Str",isRunningOrDebugging);
  setPathVisible("String_Node_Str",isDebugRunning);
  setMenuEnabled("String_Node_Str",isDebugRunning);
  setMenuEnabled("String_Node_Str",isDebugPaused);
  setMenuEnabled("String_Node_Str",isDebugPaused);
  setMenuEnabled("String_Node_Str",isDebugPaused);
  setMenuEnabled("String_Node_Str",isDebugPaused);
}