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
return result;
	
	if (elementMap != null) 
		return (Widget)elementMap.get(element); 
	return doFindItem(element);
}
/**
 * Notifies any double-click listeners that a double-click has been received.
 * Only listeners registered at the time this method is called are notified.
 *
 * @param event a double-click event
 *
 * @see IDoubleClickListener#doubleClick
 */
protected void fireDoubleClick(DoubleClickEvent event) {
	Object[] listeners = doubleClickListeners.getListeners();
	for (int i = 0; i < listeners.length; ++i) {
		((IDoubleClickListener) listeners[i]).doubleClick(event);
	}
}
/**
 * Notifies any open event listeners that a open event has been received.
 * Only listeners registered at the time this method is called are notified.
 *
 * @param event a double-click event
 *
 * @see IOpenListener#doubleClick
 */
protected void fireOpen(OpenEvent event) {
	Object[] listeners = openListeners.getListeners();