Bug 161464 Workspace.run reports null task name in beginTask
3.2 Noticed that Workspace.run uses beginTask(null, ...), which is contrary to the spec of IProgressMonitor. Saw this while tracking down an NPE in org.eclipse.jface.action.StatusLine.subTask due to a null subtask name. Recommend checking all senders of beginTask, setTaskName and subTask in core. Might want to change StatusLine to accept nulls for these as well (it already does for some).
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/model/WorkingSetResourceMapping.java
* All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 ******************************************************************************/
package org.eclipse.ui.internal.ide.model;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.mapping.ModelProvider;
import org.eclipse.core.resources.mapping.ResourceMapping;
import org.eclipse.core.resources.mapping.ResourceMappingContext;
import org.eclipse.core.resources.mapping.ResourceTraversal;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.core.runtime.SubProgressMonitor;
import org.eclipse.ui.IWorkingSet;
/**
 * A resource mapping for working sets
 */
public class WorkingSetResourceMapping extends ResourceMapping {
	private IWorkingSet set;