Bug 130976 [Viewers] Error is calculation of parent path when calling TreePathViewerSorter
There is an error in the parent path calculation in AbstractTreeViewer#getSortedChildren. If the input of the viewer is passed, a tee path of length one is passed to the sorter but a null should be passed (as mentioned in the method spec). I will attach a patch.
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractTreeViewer.java
*/
    public void remove(final Object parent, final Object[] elements) {
        assertElementsNotNull(elements);
        if (elements.length == 0) {
        	return;
        }
        preservingSelection(new Runnable() {
            public void run() {
                internalRemove(parent, elements);
            }
        });
    }    
    /**
     * Removes the given element from the viewer. The selection is updated if
     * necessary.
     * <p>
     * This method should be called (by the content provider) when a single
     * element has been removed from the model, in order to cause the viewer to
     * accurately reflect the model. This method only affects the viewer, not
     * the model. Note that there is another method for efficiently processing
     * the simultaneous removal of multiple elements.
     * </p>
     * 
     * @param elementsOrTreePaths
     *           the element
     */
    public void remove(Object elementsOrTreePaths) {
        remove(new Object[] { elementsOrTreePaths });
    }
    /**