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
tree.setRedraw(false);	
					tree.setRedraw(true);	
				}
				continue;
			}
			
			
			
			
			refresh(parentElement);
			return;
		}
	}
}
/**
 * Adds the given child element to this viewer as a child of the given parent element.
 * If this viewer does not have a sorter, the element is added at the end of the 
 * parent's list of children; otherwise, the element is inserted at the appropriate position.
 * <p>
 * This method should be called (by the content provider) when a single element 
 * has been added to 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
 * addition of multiple elements.
 * </p>
 *
 * @param parentElement the parent element
 * @param childElement the child element
 */
public void add(Object parentElement, Object childElement) {