Bug 178394 NPE in marker adapter buildAll markers
This shows up occasionally in the test suite logs. Probably happening during shutdown !STACK 0 java.lang.NullPointerException at org.eclipse.ui.views.markers.internal.MarkerAdapter.buildAllMarkers(MarkerAdapter.java:262) at org.eclipse.ui.views.markers.internal.MarkerView.updateForContentsRefresh(MarkerView.java:570) at org.eclipse.ui.views.markers.internal.MarkerView$MarkerProcessJob.run(MarkerView.java:151) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerAdapter.java
}
	/**
	 * Build all of the markers in the receiver.
	 * 
	 * @param collector
	 * @param monitor
	 */
	public void buildAllMarkers(IProgressMonitor monitor) {
		building = true;
		MarkerList newMarkers;
		try {
			int markerLimit = view.getMarkerLimit();
			monitor.beginTask(MarkerMessages.MarkerView_19,
					markerLimit == -1 ? 60 : 100);
			try {
				monitor.subTask(MarkerMessages.MarkerView_waiting_on_changes);
				if (monitor.isCanceled())
					return;
				monitor
						.subTask(MarkerMessages.MarkerView_searching_for_markers);
				SubProgressMonitor subMonitor = new SubProgressMonitor(monitor,
						10);
				MarkerFilter[] filters = view.getEnabledFilters();
				if (filters.length > 0)
					newMarkers = MarkerList.compute(filters, subMonitor, true);
				else
					
					newMarkers = MarkerList.compute(new MarkerFilter[] { view
							.getAllFilters()[0] }, subMonitor, true);
				if (monitor.isCanceled())