Bug 58845 [Viewers] Error while debugging but no log
I was debugging an IllegalArgumentException. I clicked on one of the traceback lines after the breakpoint was hit and got a dialog informing me that an error occurred and that I should see the log for details but the log was empty. After this, the debuuger no longer opens files (i.e. it still stps at breakpoints but I can't look at the source). I am using Eclipe build I20040413 and IBM VM build 1.4.1, J2RE 1.4.1 IBM build cxia321411-20040301.
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/StructuredViewer.java
* in the selection has been removed from the viewer, the viewer is free
 * to either remove the element from the selection or to pick another element
 * as its new selection.
 * The default implementation of this method calls <code>updateSelection</code>.
 * Subclasses may override it to implement a different strategy for picking
 * a new selection when the old selection becomes invalid.
 * </p>
 *
 * @param invalidSelection the selection before the viewer was updated
 * @param newSelection the selection after the update, or <code>null</code> if none
 */
protected void handleInvalidSelection(ISelection invalidSelection, ISelection newSelection) {
	updateSelection(newSelection);
	SelectionChangedEvent event = new SelectionChangedEvent(this, newSelection);
	firePostSelectionChanged(event);
}
/**
 * The <code>StructuredViewer</code> implementation of this <code>ContentViewer</code> method calls <code>update</code>
 * if the event specifies that the label of a given element has changed, otherwise it calls super.
 * Subclasses may reimplement or extend.
 * </p>
 */
protected void handleLabelProviderChanged(LabelProviderChangedEvent event) {
	Object[] elements = event.getElements();
	if (elements != null) {
		update(elements, null);
	}
	else {
		super.handleLabelProviderChanged(event);
	}