Program: 21533
Project: 21533
Buggy source:
protected void createContents(){
  shlYetAnotherLogcat=new Shell();
  shlYetAnotherLogcat.addShellListener(new ShellAdapter(){
    @Override public void shellClosed(    ShellEvent e){
      if (logcat.isActive()) {
        logcat.stop();
        try {
          logcat.dispose();
        }
 catch (        Exception e1) {
          Log.write(e1.getMessage());
        }
      }
      Log.finish();
    }
  }
);
  shlYetAnotherLogcat.addControlListener(new ControlAdapter(){
    @Override public void controlResized(    ControlEvent e){
      if (tbTabContainer != null) {
        tbTabContainer.setSize(shlYetAnotherLogcat.getSize().x - 40,shlYetAnotherLogcat.getSize().y - 80);
      }
    }
  }
);
  shlYetAnotherLogcat.setSize(450,300);
  shlYetAnotherLogcat.setText("String_Node_Str");
  Menu menu=new Menu(shlYetAnotherLogcat,SWT.BAR);
  shlYetAnotherLogcat.setMenuBar(menu);
  MenuItem mnMainMenu=new MenuItem(menu,SWT.CASCADE);
  mnMainMenu.setText("String_Node_Str");
  Menu menu_1=new Menu(mnMainMenu);
  mnMainMenu.setMenu(menu_1);
  MenuItem mnAddFilter=new MenuItem(menu_1,SWT.NONE);
  mnAddFilter.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      onmnNewFilterClick();
    }
  }
);
  mnAddFilter.setText("String_Node_Str");
  MenuItem mnFilters=new MenuItem(menu_1,SWT.NONE);
  mnFilters.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      onmnFilterManagerClick();
    }
  }
);
  mnFilters.setText("String_Node_Str");
  MenuItem mnSystemMenu=new MenuItem(menu,SWT.CASCADE);
  mnSystemMenu.setText("String_Node_Str");
  Menu menu_2=new Menu(mnSystemMenu);
  mnSystemMenu.setMenu(menu_2);
  mnStart=new MenuItem(menu_2,SWT.NONE);
  mnStart.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      onmnStartClick();
    }
  }
);
  mnStart.setText("String_Node_Str");
  MenuItem mnSetAdb=new MenuItem(menu_2,SWT.NONE);
  mnSetAdb.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      onmnSetAdbClick();
    }
  }
);
  mnSetAdb.setText("String_Node_Str");
  MenuItem mnAboutMenu=new MenuItem(menu,SWT.NONE);
  mnAboutMenu.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      MessageBox msg=new MessageBox(shlYetAnotherLogcat);
      msg.setText("String_Node_Str");
      msg.setMessage("String_Node_Str");
      msg.open();
    }
  }
);
  mnAboutMenu.setText("String_Node_Str");
  tbTabContainer=new TabFolder(shlYetAnotherLogcat,SWT.NONE);
  tbTabContainer.addControlListener(new ControlAdapter(){
    @Override public void controlResized(    ControlEvent e){
      onTabContainerResized();
    }
  }
);
  tbTabContainer.setBounds(10,10,403,222);
  userFilters=new IterableArrayList<UserFilterObject>();
  setting=Setting.loadSetting();
  logcat=new LogcatManager();
  logcat.setAdb(setting.adbExecutableFile);
  userFilters=UserFilterObject.loadFilters("String_Node_Str");
  TabContent allLog=new TabContent(tbTabContainer,"String_Node_Str");
  try {
    logcat.addSlot("String_Node_Str",null).linkUi(allLog);
  }
 catch (  Exception e) {
    Log.write(e.getMessage());
    e.printStackTrace(Log.getPrintStreamInstance());
  }
  if (userFilters == null) {
    userFilters=new IterableArrayList<UserFilterObject>();
  }
 else {
    TabContent filterTabPage;
    for (    UserFilterObject filter : userFilters) {
      filterTabPage=new TabContent(tbTabContainer,filter.getFilterName());
      try {
        logcat.addSlot(filter.getFilterName(),filter.getFilterList()).linkUi(filterTabPage);
      }
 catch (      Exception e1) {
        Log.write(e1.getMessage());
        e1.printStackTrace(Log.getPrintStreamInstance());
      }
    }
  }
}

Fixed version (ground truth):
protected void createContents(){
  shlYetAnotherLogcat=new Shell();
  shlYetAnotherLogcat.addShellListener(new ShellAdapter(){
    @Override public void shellClosed(    ShellEvent e){
      if (logcat.isActive()) {
        logcat.stop();
        try {
          logcat.dispose();
        }
 catch (        Exception e1) {
          Log.write(e1.getMessage());
        }
      }
      Log.finish();
    }
  }
);
  shlYetAnotherLogcat.addControlListener(new ControlAdapter(){
    @Override public void controlResized(    ControlEvent e){
      if (tbTabContainer != null) {
        tbTabContainer.setSize(shlYetAnotherLogcat.getSize().x - 40,shlYetAnotherLogcat.getSize().y - 80);
      }
    }
  }
);
  shlYetAnotherLogcat.setSize(450,300);
  shlYetAnotherLogcat.setText("String_Node_Str");
  Menu menu=new Menu(shlYetAnotherLogcat,SWT.BAR);
  shlYetAnotherLogcat.setMenuBar(menu);
  MenuItem mnMainMenu=new MenuItem(menu,SWT.CASCADE);
  mnMainMenu.setText("String_Node_Str");
  Menu menu_1=new Menu(mnMainMenu);
  mnMainMenu.setMenu(menu_1);
  MenuItem mnAddFilter=new MenuItem(menu_1,SWT.NONE);
  mnAddFilter.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      onmnNewFilterClick();
    }
  }
);
  mnAddFilter.setText("String_Node_Str");
  MenuItem mnFilters=new MenuItem(menu_1,SWT.NONE);
  mnFilters.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      onmnFilterManagerClick();
    }
  }
);
  mnFilters.setText("String_Node_Str");
  MenuItem mnSystemMenu=new MenuItem(menu,SWT.CASCADE);
  mnSystemMenu.setText("String_Node_Str");
  Menu menu_2=new Menu(mnSystemMenu);
  mnSystemMenu.setMenu(menu_2);
  mnStart=new MenuItem(menu_2,SWT.NONE);
  mnStart.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      onmnStartClick();
    }
  }
);
  mnStart.setText("String_Node_Str");
  MenuItem mnSetAdb=new MenuItem(menu_2,SWT.NONE);
  mnSetAdb.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      onmnSetAdbClick();
    }
  }
);
  mnSetAdb.setText("String_Node_Str");
  MenuItem mnAboutMenu=new MenuItem(menu,SWT.NONE);
  mnAboutMenu.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      MessageBox msg=new MessageBox(shlYetAnotherLogcat);
      msg.setText("String_Node_Str");
      msg.setMessage("String_Node_Str");
      msg.open();
    }
  }
);
  mnAboutMenu.setText("String_Node_Str");
  tbTabContainer=new TabFolder(shlYetAnotherLogcat,SWT.NONE);
  tbTabContainer.addControlListener(new ControlAdapter(){
    @Override public void controlResized(    ControlEvent e){
      onTabContainerResized();
    }
  }
);
  tbTabContainer.setBounds(10,10,403,222);
  userFilters=new IterableArrayList<UserFilterObject>();
  setting=Setting.loadSetting();
  logcat=new LogcatManager();
  logcat.setAdb(setting.adbExecutableFile);
  userFilters=UserFilterObject.loadFilters("String_Node_Str");
  TabContent allLog=new TabContent(tbTabContainer,"String_Node_Str");
  try {
    logcat.addSlot("String_Node_Str",null,allLog);
  }
 catch (  Exception e) {
    Log.write(e.getMessage());
    e.printStackTrace(Log.getPrintStreamInstance());
  }
  if (userFilters == null) {
    userFilters=new IterableArrayList<UserFilterObject>();
  }
 else {
    TabContent filterTabPage;
    for (    UserFilterObject filter : userFilters) {
      filterTabPage=new TabContent(tbTabContainer,filter.getFilterName());
      try {
        logcat.addSlot(filter.getFilterName(),filter.getFilterList(),filterTabPage);
      }
 catch (      Exception e1) {
        Log.write(e1.getMessage());
        e1.printStackTrace(Log.getPrintStreamInstance());
      }
    }
  }
}