Program: 143502
Project: 143502
Buggy source:
@Override protected void applicationSetup(){
  installShutdownHook();
  KeyboardFocusManager.getCurrentKeyboardFocusManager().addPropertyChangeListener(new GlobalAutoScrollerFocusListener());
  JPanel statusPanel=createStatusPanel();
  String showStatusBar=settings.getProperty("String_Node_Str");
  if (showStatusBar != null && showStatusBar.equals("String_Node_Str"))   statusPanel.setVisible(false);
  mainPanel.add(statusPanel,BorderLayout.SOUTH);
  String str=getSettings().getProperty("String_Node_Str");
  Locale loc=PersistHelper.createLocale(str);
  if (loc != null) {
    Locale.setDefault(loc);
  }
  TimeZone defaultTimeZone=TimeZone.getDefault();
  if (defaultTimeZone != null) {
    str=getSettings().getProperty("String_Node_Str",defaultTimeZone.getID());
    TimeZone tz=TimeZone.getTimeZone(str);
    if (tz != null) {
      getClientInfo().setTimeZone(tz);
      TimeZone.setDefault(tz);
    }
  }
  super.applicationSetup();
  jsWindowManager=createJSWindowManager();
  cmdManager=createCmdManager();
  Map<String,Action> actions=getActions();
  toolbarsPanel=new ToolbarPanel(Settings.INITIAL_CLIENT_WIDTH - 200);
  mainPanel.add(toolbarsPanel,BorderLayout.NORTH);
  fillToolbar(actions);
  String showToolBar=settings.getProperty("String_Node_Str");
  if (showToolBar != null && showToolBar.equals("String_Node_Str"))   toolbarsPanel.setVisible(false);
  JMenuBar menu=createMenuBar(actions);
  String showMenuBar=settings.getProperty("String_Node_Str");
  if (showMenuBar != null && showMenuBar.equals("String_Node_Str"))   menu.setVisible(false);
  frame.setJMenuBar(menu);
  ((SwingRuntimeWindow)jsWindowManager.getWindow(null)).setJMenuBar(menu);
  if (Utils.isAppleMacOS()) {
    attachAppleMenu(actions);
  }
  setMainFrameInitialBounds();
  mainPanel.showSolutionLoading(true);
}

Fixed version (ground truth):
@Override protected void applicationSetup(){
  installShutdownHook();
  KeyboardFocusManager.getCurrentKeyboardFocusManager().addPropertyChangeListener(new GlobalAutoScrollerFocusListener());
  JPanel statusPanel=createStatusPanel();
  String showStatusBar=settings.getProperty("String_Node_Str");
  if (showStatusBar != null && showStatusBar.equals("String_Node_Str"))   statusPanel.setVisible(false);
  mainPanel.add(statusPanel,BorderLayout.SOUTH);
  String str=getSettings().getProperty("String_Node_Str");
  Locale loc=PersistHelper.createLocale(str);
  if (loc != null) {
    Locale.setDefault(loc);
  }
  TimeZone defaultTimeZone=TimeZone.getDefault();
  if (defaultTimeZone != null) {
    str=getSettings().getProperty("String_Node_Str",defaultTimeZone.getID());
    TimeZone tz=TimeZone.getTimeZone(str);
    if (tz != null) {
      getClientInfo().setTimeZone(tz);
      TimeZone.setDefault(tz);
    }
  }
  super.applicationSetup();
  jsWindowManager=createJSWindowManager();
  cmdManager=createCmdManager();
  Map<String,Action> actions=getActions();
  toolbarsPanel=new ToolbarPanel(Settings.INITIAL_CLIENT_WIDTH - 200);
  mainPanel.add(toolbarsPanel,BorderLayout.NORTH);
  fillToolbar(actions);
  String showToolBar=settings.getProperty("String_Node_Str");
  if (showToolBar != null && showToolBar.equals("String_Node_Str"))   toolbarsPanel.setVisible(false);
  JMenuBar menu=createMenuBar(actions);
  String showMenuBar=settings.getProperty("String_Node_Str");
  if (showMenuBar != null && showMenuBar.equals("String_Node_Str"))   menu.setVisible(false);
  frame.setJMenuBar(menu);
  ((SwingRuntimeWindow)jsWindowManager.getWindow(null)).setJMenuBar(menu);
  if (Utils.isAppleMacOS()) {
    attachAppleMenu(actions);
  }
  setMainFrameInitialBounds();
  showSolutionLoading(true);
}