Bug 136373 [EFS] Can't browse for files when creating linked resources
Build id: I20060412-0847 File > New > File Click Advanced Click Browse. Nothing happens, and an error appears in the log. Same for the new folder dialog. java.lang.NullPointerException at org.eclipse.ui.internal.ide.dialogs.CreateLinkedResourceGroup.handleLinkTargetBrowseButtonPressed(CreateLinkedResourceGroup.java:376) at org.eclipse.ui.internal.ide.dialogs.CreateLinkedResourceGroup.access$13(CreateLinkedResourceGroup.java:372) at org.eclipse.ui.internal.ide.dialogs.CreateLinkedResourceGroup$3.widgetSelected(CreateLinkedResourceGroup.java:260) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/ProjectContentsLocationArea.java
* Check if the entry in the widget location is valid. If it is valid return
	 * null. Otherwise return a string that indicates the problem.
	 * 
	 * @return String
	 */
	public String checkValidLocation() {
		if (isDefault()) {
			return null;
		}
		String locationFieldContents = locationPathField.getText();
		if (locationFieldContents.length() == 0) {
			return (IDEWorkbenchMessages.WizardNewProjectCreationPage_projectLocationEmpty);
		}
		URI newPath = getProjectLocationURI();
		if (newPath == null) {
			return IDEWorkbenchMessages.ProjectLocationSelectionDialog_locationError;
		}
		if (existingProject == null) {
			IPath projectPath = new Path(locationFieldContents);
			if (Platform.getLocation().isPrefixOf(projectPath)) {
				return IDEWorkbenchMessages.WizardNewProjectCreationPage_defaultLocationError;
			}
		} else {
			IStatus locationStatus = existingProject.getWorkspace()
					.validateProjectLocationURI(existingProject, newPath);
			if (!locationStatus.isOK()) {
				return locationStatus.getMessage();
			}
			URI projectPath = existingProject.getLocationURI();
			if (projectPath != null && URIUtil.equals(projectPath, newPath)) {