Bug 41901 NPE upon startup
Build: I-20030820 Upon startup, I found about the NPE pasted below was logged 12 times. Error Aug 24, 2003 12:59:06.784 An internal error occurred during: "Open Progress View". java.lang.NullPointerException at org.eclipse.swt.widgets.Display.asyncExec(Display.java:461) at org.eclipse.ui.progress.UIJob.run(UIJob.java:73) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:61)
bundles/org.eclipse.ui.views/src/org/eclipse/ui/views/markers/internal/MarkerView.java
void updateTitle() {
		String currentTitle = getTitle();
		String viewName = getConfigurationElement().getAttribute("name"); 
		String status = ""; 
		int filteredCount = getRegistry().getItemCount();
		int totalCount = getRegistry().getRawItemCount();
		if (filteredCount == totalCount) {
			status = Messages.format("filter.itemsMessage", new Object[] {new Integer(totalCount)}); 
		}
		else {
			status = Messages.format("filter.matchedMessage", new Object[] {new Integer(filteredCount), new Integer(totalCount)}); 
		}
		String newTitle = Messages.format("view.title", new String[] {viewName, status}); 
		if (!newTitle.equals(currentTitle)) {
			setTitle(newTitle);
		}
	}
	public IStructuredSelection getSelection() {
		return (IStructuredSelection) viewer.getSelection();
	}
	public void setSelection(IStructuredSelection structuredSelection, boolean reveal) {
		for (Iterator i = structuredSelection.iterator(); i.hasNext();)
			if (!(i.next() instanceof IMarker))
				return;
		
		if (viewer != null)
			viewer.setSelection(structuredSelection, reveal);
	}
}