Bug 207619 [CommonNavigator] StackOverflowError when attempting to import with at least 2 projects in workspace
using eclipse-SDK-I20071023-0800-win32 1. switch to resource perspective 2. create 2 projects (simple or java) 3. file -> import... You get a stack overflow error. This does not seem to happen if you're in the Java perspective. Maybe related to project explorer.
bundles/org.eclipse.ui.navigator.resources/src/org/eclipse/ui/internal/navigator/resources/actions/PortingActionProvider.java
public void fillContextMenu(IMenuManager aMenu) {
		if(!contribute) {
			return;
		}
		Assert.isTrue(!disposed);
		ISelection selection = getContext().getSelection();
		if (!(selection instanceof IStructuredSelection) || ((IStructuredSelection) selection).size() > 1) {
			addSimplePortingMenus(aMenu);
		} else {
			addImportMenu(aMenu);
			addExportMenu(aMenu);
		}
	}
	/**
	 * Returns the image descriptor with the given relative path.
	 */
	protected ImageDescriptor getImageDescriptor(String relativePath) {
		String iconPath = "icons/full/";  
		URL url = FileLocator.find(WorkbenchNavigatorPlugin.getDefault().getBundle(), new Path(iconPath + relativePath), Collections.EMPTY_MAP);
		if (url == null) {
			return ImageDescriptor.getMissingImageDescriptor();
		}
		return ImageDescriptor.createFromURL(url);
	}
	private void addSimplePortingMenus(IMenuManager aMenu) {
		aMenu.appendToGroup(ICommonMenuConstants.GROUP_PORT, importAction);
		aMenu.appendToGroup(ICommonMenuConstants.GROUP_PORT, exportAction);
	}
	private void addImportMenu(IMenuManager aMenu) {
		importWizardActionGroup.setContext(getContext());