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/StructuredViewer.java
needsUpdate = false;
		IBaseLabelProvider labelProvider = getLabelProvider();
		for (int i = 0; i < properties.length; ++i) {
			needsUpdate = labelProvider.isLabelProperty(element, properties[i]);
			if (needsUpdate)
				break;
		}
	}
	if (needsUpdate) {
		updateItem(item, element);
	}
}
/**
 * Copies attributes of the given element into the given widget.
 * <p>
 * This method is internal to the framework; subclassers should not call
 * this method.
 * Calls <code>doUpdateItem(widget, element, true)</code>.
 * </p>
 *
 * @param widget the widget
 * @param element the element
 */
protected final void updateItem(Widget widget, Object element) {
	doUpdateItem(widget, element, true);
}
/**
 * Updates the selection of this viewer.
 * <p>
 * This framework method should be called when the selection