Bug 15844 [Exception Handling] SelectionChange events and NPE
Build 20020508 Due to new global actions there are now more objects listening to selection changes send out by a JFace viewer. We now had the case that one of the listener generated a NPE. As a result all listeners registered after that one didn't receive the selection change event. StructuredViewers should be more fault tolorant to exceptions when informing listeners.
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractTreeViewer.java
previous = siblings[i];
	}
	return null;
}
/* (non-Javadoc)
 * Method declared on StructuredViewer.
 */
protected Object[] getRawChildren(Object parent) {
	if (parent != null) {
		if (parent.equals(getRoot()))
			return super.getRawChildren(parent);
		Object[] result = ((ITreeContentProvider) getContentProvider()).getChildren(parent);
		if (result != null)
			return result;
	}
	return new Object[0];
}
/**
 * Returns all selected items for the given SWT control.
 *
 * @param control the control
 * @return the list of selected items
 */
protected abstract Item[] getSelection(Control control);
/* (non-Javadoc)
 * Method declared on StructuredViewer.
 */
protected List getSelectionFromWidget() {
	Widget[] items = getSelection(getControl());
	ArrayList list = new ArrayList(items.length);