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
/**
	 * This viewer's filters (element type: <code>ViewerFilter</code>).
	 * <code>null</code> means there are no filters.
	 */
	private List filters;
	/**
	 * Indicates whether a selection change is in progress on this
	 * viewer.
	 *
	 * @see #setSelection(ISelection, boolean)
	 */
	private boolean inChange;
	/**
	 * Used while a selection change is in progress on this viewer
	 * to indicates whether the selection should be restored.
	 *
	 * @see #setSelection(ISelection, boolean)
	 */
	private boolean restoreSelection;
	/**
	 * List of double-click state listeners (element type: <code>IDoubleClickListener</code>).
	 * @see #fireDoubleClick
	 */
	private ListenerList doubleClickListeners = new ListenerList(1);
	/**
	 * List of open listeners (element type: <code>ISelectionActivateListener</code>).
	 * @see #fireOpen
	 */
	private ListenerList openListeners = new ListenerList(1);
	/**