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
DefaultMarkerResourceAdapter.getDefault();
						}
						IResource resource =
							taskListResourceAdapter.getAffectedResource(
								(IAdaptable) object);
						if (resource != null) {
							resources.add(resource);
						}
					}
				}
			}
		}
		IResource[] focus = new IResource[resources.size()];
		resources.toArray(focus);
		updateFocusResource(focus);
	}
	void updateFocusResource(IResource[] resources) {
		boolean updateNeeded = updateNeeded(focusResources, resources);
		if (getFilter() != null && getFilter() instanceof MarkerFilter) {
			((MarkerFilter) getFilter()).setFocusResource(resources);
		}
		focusResources = resources;
		if (updateNeeded) {
			filtersChanged();
		}
	}
	
	private boolean updateNeeded(IResource[] oldResources, IResource[] newResources) {
		
		IFilter iFilter = getFilter();