Bug 88993 [Viewers] CCE in AbstractTreeViewer.indexForElement(..)
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractTreeViewer.java
/**
     * Create the new element in the parent widget. If the
     * child already exists do nothing.
     * @param widget
     * @param element
     */
    private void createAddedElement(Widget widget, Object element) {
        if (equals(element, widget.getData()))
            return;
        if (getSorter () == null) {
          Item[] items = getChildren(widget);
          for (int i = 0; i < items.length; i++) {
              if (items[i].getData().equals(element)) {
              	
              	refresh(element);
                  return;
              }
          }
        }
        int index = indexForElement(widget, element);
        if (getSorter () != null) {
          
          
          if (index > 0
              && getChild (widget, index - 1).getData().equals(element)) {
            
            refresh(element);
              return;
          }
        }