Project: Eclipse_Platform_UI
Bug 161464 Workspace.run reports null task name in beginTask
Reported: 2006-10-18 15:34:28 | Status: resolved fixed

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).

Files changed in fix:
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/model/WorkingSetResourceMapping.java