Bug 176441 [Markers] NPE while refreshing the problem view
I got this exception using I20070228-0930. No steps to reproduce. It seems to happen when refreshing the problem view. java.lang.NullPointerException at org.eclipse.ui.views.markers.internal.MarkerAdapter.buildAllMarkers(MarkerAdapter.java:251) 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/ProblemView.java
.getMarkerGroups().iterator();
		while (definedGroups.hasNext()) {
			FieldMarkerGroup group = (FieldMarkerGroup) definedGroups.next();
			if (group.getDescription().equals(description)) {
				selectCategoryField(group, sorter);
				return;
			}
		}
		selectCategoryField(null, sorter);
	}
	
	/**
	 * Select the field groupingField.
	 * @param groupingField
	 * @param sorter
	 */
	void selectCategoryField(IField groupingField, CategoryComparator sorter) {
		getMarkerAdapter().getCurrentMarkers().clearGroups();
		sorter.setCategoryField(groupingField);
		refreshViewer();
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.ui.views.markers.internal.MarkerView#writeFiltersSettings(org.eclipse.ui.XMLMemento)
	 */
	protected void writeFiltersSettings(XMLMemento memento) {
		super.writeFiltersSettings(memento);
		
		Iterator filters = MarkerSupportRegistry.getInstance()