Bug 124138 NPE in FieldCategory
20060116 Not sure how I got this but I have no categories enabled java.lang.NullPointerException at org.eclipse.ui.views.markers.internal.FieldCategory.compare(FieldCategory.java:87) at org.eclipse.ui.views.markers.internal.TableSorter.compare(TableSorter.java:223) at org.eclipse.ui.views.markers.internal.TableSorter.compare(TableSorter.java:225) at org.eclipse.ui.views.markers.internal.CategorySorter.compare(CategorySorter.java:63) at org.eclipse.ui.views.markers.internal.CategorySorter.compare(CategorySorter.java:96) at org.eclipse.ui.views.markers.internal.SortUtil.partitionHelper(SortUtil.java:114) at org.eclipse.ui.views.markers.internal.SortUtil.getFirst(SortUtil.java:74) at org.eclipse.ui.views.markers.internal.SortUtil.getFirst(SortUtil.java:43) at org.eclipse.ui.views.markers.internal.MarkerAdapter.buildAllMarkers(MarkerAdapter.java:215) at org.eclipse.ui.views.markers.internal.MarkerView.updateForContentsRefresh(MarkerView.java:515) at org.eclipse.ui.views.markers.internal.MarkerView$MarkerProcessJob.run(MarkerView.java:172) 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
return new IField[] { message, resource, folder, category, lineNumber,
				creationTime };
	}
	void updateTitle() {
		MarkerList visibleMarkers = getVisibleMarkers();
		String breakdown = formatSummaryBreakDown(visibleMarkers);
		int filteredCount = visibleMarkers.getItemCount();
		int totalCount = getTotalMarkers();
		if (filteredCount != totalCount)
			breakdown = NLS.bind(MarkerMessages.problem_filter_matchedMessage,
					new Object[] { breakdown, new Integer(filteredCount),
							new Integer(totalCount) });
		setContentDescription(breakdown);
	}
	private String formatSummaryBreakDown(MarkerList visibleMarkers) {
		return MessageFormat.format(
				MarkerMessages.problem_statusSummaryBreakdown, new Object[] {
						new Integer(visibleMarkers.getErrors()),
						new Integer(visibleMarkers.getWarnings()),
						new Integer(visibleMarkers.getInfos()) });
	}
	private String getSummary(MarkerList markers, String messageKey) {
		String message = NLS.bind(messageKey, new Object[] {
				new Integer(markers.getItemCount()),
				formatSummaryBreakDown(markers) });
		return message;
	}
	/**
	 * Retrieves statistical information (the total number of markers with each
	 * severity type) for the markers contained in the selection passed in. This