Program: 119801
Project: 119801
Buggy source:
private void createTreeViewer(Composite itemComposite){
  filteredCheckboxTree=new FilteredCheckboxTree(itemComposite,SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL| SWT.MULTI){
    @Override protected CheckboxTreeViewer doCreateTreeViewer(    Composite parent,    int style){
      RepoCommonViewerProvider provider=RepoCommonViewerProvider.CHECKBOX;
      if (baseViewId != null) {
        provider.setViewId(baseViewId);
      }
      return (CheckboxTreeViewer)provider.createViewer(parent);
    }
    @Override protected void refreshCompleted(){
      getViewer().expandToLevel(3);
      restoreCheckedElements();
    }
    @Override protected boolean isNodeCollectable(    TreeItem item){
      Object obj=item.getData();
      if (obj instanceof RepositoryNode) {
        RepositoryNode node=(RepositoryNode)obj;
        if (node.getObjectType() == ERepositoryObjectType.METADATA_CONNECTIONS) {
          return true;
        }
      }
      return false;
    }
  }
;
  filteredCheckboxTree.getViewer().addFilter(new ViewerFilter(){
    @Override public boolean select(    Viewer viewer,    Object parentElement,    Object element){
      boolean select=true;
      if (element instanceof RepositoryNode) {
        select=selectRepositoryNode(viewer,(RepositoryNode)element);
      }
      if (select) {
        for (        IRepositoryReviewFilter nodeHandler : RepositoryContentManager.getRepositoryReviewFilters()) {
          boolean exportFilter=nodeHandler.filter(viewer,parentElement,element,"String_Node_Str");
          if (!exportFilter) {
            return exportFilter;
          }
        }
      }
      return select;
    }
  }
);
}

Fixed version (ground truth):
private void createTreeViewer(Composite itemComposite){
  filteredCheckboxTree=new FilteredCheckboxTree(itemComposite,SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL| SWT.MULTI){
    @Override protected CheckboxTreeViewer doCreateTreeViewer(    Composite parent,    int style){
      RepoCommonViewerProvider provider=RepoCommonViewerProvider.CHECKBOX;
      if (baseViewId != null) {
        provider.setViewId(baseViewId);
      }
      CheckboxTreeViewer viwer=(CheckboxTreeViewer)provider.createViewer(parent);
      INavigatorContentService navigatorContentService=((INavigatorContentServiceProvider)viwer).getNavigatorContentService();
      if (navigatorContentService != null) {
        IExtensionStateModel findStateModel=navigatorContentService.findStateModel("String_Node_Str");
        if (findStateModel != null) {
          findStateModel.setBooleanProperty("String_Node_Str",true);
        }
      }
      return viwer;
    }
    @Override protected void refreshCompleted(){
      getViewer().expandToLevel(3);
      restoreCheckedElements();
    }
    @Override protected boolean isNodeCollectable(    TreeItem item){
      Object obj=item.getData();
      if (obj instanceof RepositoryNode) {
        RepositoryNode node=(RepositoryNode)obj;
        if (node.getObjectType() == ERepositoryObjectType.METADATA_CONNECTIONS) {
          return true;
        }
      }
      return false;
    }
  }
;
  filteredCheckboxTree.getViewer().addFilter(new ViewerFilter(){
    @Override public boolean select(    Viewer viewer,    Object parentElement,    Object element){
      boolean select=true;
      if (element instanceof RepositoryNode) {
        select=selectRepositoryNode(viewer,(RepositoryNode)element);
      }
      if (select) {
        for (        IRepositoryReviewFilter nodeHandler : RepositoryContentManager.getRepositoryReviewFilters()) {
          boolean exportFilter=nodeHandler.filter(viewer,parentElement,element,"String_Node_Str");
          if (!exportFilter) {
            return exportFilter;
          }
        }
      }
      return select;
    }
  }
);
}