Bug 120736 [Markers] NPE during: "Fetching children of Problems".
[I20051213-0010, Windows XP] I can only reproduce this in my inner workspace, not in the outer one. It happens when I selected "New Window" and then close the new window immediately. java.lang.NullPointerException at org.eclipse.ui.views.markers.internal.MarkerView.scheduleCountUpdate(MarkerView.java:1432) at org.eclipse.ui.views.markers.internal.MarkerAdapter.fetchDeferredChildren(MarkerAdapter.java:201) at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:192) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerView.java
countUpdateJob.setPriority(Job.INTERACTIVE);
		countUpdateJob.setSystem(true);
	}
	/**
	 * Get the filters that are currently enabled.
	 * 
	 * @return MarkerFilter[]
	 */
	MarkerFilter[] getEnabledFilters() {
		if (enabledFilters == null) {
			Collection filters = findEnabledFilters();
			enabledFilters = new MarkerFilter[filters.size()];
			filters.toArray(enabledFilters);
		}
		return enabledFilters;
	}
	/**
	 * Find the filters enabled in the view.
	 * 
	 * @return Collection of MarkerFilter
	 */
	protected Collection findEnabledFilters() {
		MarkerFilter[] allFilters = getAllFilters();
		ArrayList filters = new ArrayList(0);
		for (int i = 0; i < allFilters.length; i++) {
			if (allFilters[i].isEnabled())
				filters.add(allFilters[i]);
		}
		return filters;
	}