Program: 135011
Project: 135011
Buggy source:
/** 
 * Builds the toolbar
 */
private void setupToolBar(){
  toolBar=new JToolBar();
  toolBar.setFloatable(false);
  JPanel toolBarPanel=new JPanel();
  toolBarPanel.setLayout(new BorderLayout());
  JPanel userPanel=new JPanel();
  FlowLayout tbFlowL=new FlowLayout(FlowLayout.LEFT);
  tbFlowL.setHgap(10);
  userPanel.setLayout(tbFlowL);
  FlowLayout lyLevel=new FlowLayout();
  lyLevel.setHgap(2);
  JPanel tbLevelPanel=new JPanel(lyLevel);
  JLabel logLevelLbl=new JLabel("String_Node_Str");
  tbLevelPanel.add(logLevelLbl);
  logLevelCB=new JComboBox(LogTypeHelper.getAllTypesDescriptions());
  LogTypeRenderer rendererCB=new LogTypeRenderer();
  logLevelCB.setSelectedIndex(DEFAULT_LOGLEVEL);
  getLCModel1().setLogLevel(DEFAULT_LOGLEVEL);
  logLevelCB.setEditable(false);
  logLevelCB.setMaximumRowCount(LogTypeHelper.getNumberOfTypes());
  logLevelCB.setRenderer(rendererCB);
  logLevelCB.addActionListener(eventHandler);
  tbLevelPanel.add(logLevelCB);
  JLabel discardLevelLbl=new JLabel("String_Node_Str");
  tbLevelPanel.add(discardLevelLbl);
  LogTypeRenderer discardRendererCB=new LogTypeRenderer();
  String[] discardLevelStr=new String[LogTypeHelper.getAllTypesDescriptions().length + 1];
  discardLevelStr[0]="String_Node_Str";
  for (int t=0; t < LogTypeHelper.getAllTypesDescriptions().length; t++) {
    discardLevelStr[t + 1]=LogTypeHelper.getAllTypesDescriptions()[t];
  }
  discardLevelCB=new JComboBox(discardLevelStr);
  discardLevelCB.setMaximumRowCount(discardLevelStr.length);
  discardLevelCB.setSelectedIndex(DEFAULT_DISCARDLEVEL + 1);
  discardLevelCB.setEditable(false);
  discardLevelCB.setRenderer(discardRendererCB);
  discardLevelCB.addActionListener(eventHandler);
  tbLevelPanel.add(discardLevelCB);
  pauseIcon=new ImageIcon(LogTypeHelper.class.getResource("String_Node_Str"));
  playIcon=new ImageIcon(LogTypeHelper.class.getResource("String_Node_Str"));
  pauseB=new JButton("String_Node_Str",pauseIcon);
  pauseBtnPaused=false;
  pauseB.addActionListener(eventHandler);
  tbLevelPanel.add(pauseB);
  userPanel.add(tbLevelPanel);
  ImageIcon searchIcon=new ImageIcon(LogTypeHelper.class.getResource("String_Node_Str"));
  searchBtn=new JButton("String_Node_Str",searchIcon);
  userPanel.add(searchBtn);
  searchBtn.addActionListener(eventHandler);
  toolBarPanel.add(userPanel,BorderLayout.WEST);
  toolBar.add(toolBarPanel);
}

Fixed version (ground truth):
/** 
 * Builds the toolbar
 */
private void setupToolBar(){
  toolBar=new JToolBar();
  toolBar.setFloatable(false);
  JPanel toolBarPanel=new JPanel();
  toolBarPanel.setLayout(new BorderLayout());
  JPanel userPanel=new JPanel();
  FlowLayout tbFlowL=new FlowLayout(FlowLayout.LEFT);
  tbFlowL.setHgap(10);
  userPanel.setLayout(tbFlowL);
  FlowLayout lyLevel=new FlowLayout();
  lyLevel.setHgap(2);
  JPanel tbLevelPanel=new JPanel(lyLevel);
  JLabel logLevelLbl=new JLabel("String_Node_Str");
  tbLevelPanel.add(logLevelLbl);
  logLevelCB=new JComboBox(LogTypeHelper.getAllTypesDescriptions());
  LogTypeRenderer rendererCB=new LogTypeRenderer();
  logLevelCB.setSelectedIndex(DEFAULT_LOGLEVEL);
  getLCModel1().setLogLevel(DEFAULT_LOGLEVEL);
  logLevelCB.setEditable(false);
  logLevelCB.setMaximumRowCount(LogTypeHelper.getNumberOfTypes());
  logLevelCB.setRenderer(rendererCB);
  logLevelCB.addActionListener(eventHandler);
  tbLevelPanel.add(logLevelCB);
  JLabel discardLevelLbl=new JLabel("String_Node_Str");
  tbLevelPanel.add(discardLevelLbl);
  LogTypeRenderer discardRendererCB=new LogTypeRenderer();
  String[] discardLevelStr=new String[LogTypeHelper.getAllTypesDescriptions().length + 1];
  discardLevelStr[0]="String_Node_Str";
  for (int t=0; t < LogTypeHelper.getAllTypesDescriptions().length; t++) {
    discardLevelStr[t + 1]=LogTypeHelper.getAllTypesDescriptions()[t];
  }
  discardLevelCB=new JComboBox(discardLevelStr);
  discardLevelCB.setMaximumRowCount(discardLevelStr.length);
  discardLevelCB.setSelectedIndex(DEFAULT_DISCARDLEVEL + 1);
  discardLevelCB.setEditable(false);
  discardLevelCB.setRenderer(discardRendererCB);
  tbLevelPanel.add(discardLevelCB);
  pauseIcon=new ImageIcon(LogTypeHelper.class.getResource("String_Node_Str"));
  playIcon=new ImageIcon(LogTypeHelper.class.getResource("String_Node_Str"));
  pauseB=new JButton("String_Node_Str",pauseIcon);
  pauseBtnPaused=false;
  pauseB.addActionListener(eventHandler);
  tbLevelPanel.add(pauseB);
  userPanel.add(tbLevelPanel);
  ImageIcon searchIcon=new ImageIcon(LogTypeHelper.class.getResource("String_Node_Str"));
  searchBtn=new JButton("String_Node_Str",searchIcon);
  userPanel.add(searchBtn);
  searchBtn.addActionListener(eventHandler);
  toolBarPanel.add(userPanel,BorderLayout.WEST);
  toolBar.add(toolBarPanel);
}