Bug 48355 [Tasks] exception while listing problems
9 december integration build 1. problems filtered to show problems 'on any resource in same project' 2! click on a closed project !SESSION Dec 09, 2003 13:42:37.966 --------------------------------------------- java.version=1.4.2_02 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US Command-line arguments: -os linux -ws gtk -arch x86 -jre /usr/java/sdk/jre -install file:/opt/eclipse/ !ENTRY org.eclipse.core.runtime 4 2 Dec 09, 2003 13:42:37.967 !MESSAGE An internal error occurred during: "Searching for markers in Problems view". !STACK 0 java.lang.IllegalArgumentException at org.eclipse.ui.internal.ide.StatusUtil.newStatus(StatusUtil.java:80) at org.eclipse.ui.views.markers.internal.RestartableJob$2.run(RestartableJob.java:64) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:62)
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerFilter.java
* as the selected resource within the workbench.</li>
	 * <li><code>MarkerFilter.ON_WORKING_SET</code> if showing items in some working set.</li>
	 * </ul>
	 */
	int getOnResource() {
		return onResource;
	}
	/**
	 * Sets the type of filtering by selection.
	 * 
	 * @param onResource must be one of:
	 * <ul>
	 * <li><code>MarkerFilter.ON_ANY_RESOURCE</code></li>
	 * <li><code>MarkerFilter.ON_SELECTED_RESOURCE_ONLY</code></li>
	 * <li><code>MarkerFilter.ON_SELECTED_RESOURCE_AND_CHILDREN</code></li>
	 * <li><code>MarkerFilter.ON_ANY_RESOURCE_OF_SAME_PROJECT</code></li>
	 * <li><code>MarkerFilter.ON_WORKING_SET</code></li>
	 * </ul>
	 */
	void setOnResource(int onResource) {
		if (onResource >= ON_ANY_RESOURCE && onResource <= ON_WORKING_SET)
			this.onResource = onResource;
	}
	/**
	 * @return the selected resource(s) withing the workbench.
	 */
	IResource[] getFocusResource() {
		return focusResource;
	}
	/**