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
IMemento selectionMemento = memento.getChild(TAG_SELECTION);
		if (selectionMemento == null) {
			return new StructuredSelection();
		}
		ArrayList selectionList = new ArrayList();
		IMemento[] markerMems = selectionMemento.getChildren(TAG_MARKER);
		for (int i = 0; i < markerMems.length; i++) {
			try {
				long id = new Long(markerMems[i].getString(TAG_ID)).longValue();
				IResource resource = root.findMember(markerMems[i].getString(TAG_RESOURCE));
				if (resource != null) {
					IMarker marker = resource.findMarker(id);
					if (marker != null)
						selectionList.add(marker);
				}
			} 
			catch (CoreException e) {
			}
		}
		return new StructuredSelection(selectionList);
	}
	protected abstract String[] getRootTypes();
	
	protected abstract MarkerRegistry getRegistry();
	
	protected Dialog getFiltersDialog() {
		IFilter filter = getFilter();
		if (filter != null && filter instanceof MarkerFilter) {
			return new DialogMarkerFilter(getSite().getShell(), (MarkerFilter) filter);
		}