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/CreateLinkedResourceGroup.java
groupComposite = new Composite(parent, SWT.NONE);
		GridLayout layout = new GridLayout();
		groupComposite.setLayout(layout);
		groupComposite.setLayoutData(new GridData(GridData.VERTICAL_ALIGN_FILL
				| GridData.FILL_HORIZONTAL));
		groupComposite.setFont(font);
		final Button createLinkButton = new Button(groupComposite, SWT.CHECK);
		if (type == IResource.FILE) {
			createLinkButton
					.setText(IDEWorkbenchMessages.CreateLinkedResourceGroup_linkFileButton);
		} else {
			createLinkButton
					.setText(IDEWorkbenchMessages.CreateLinkedResourceGroup_linkFolderButton);
		}
		createLinkButton.setSelection(createLink);
		createLinkButton.setFont(font);
		SelectionListener selectionListener = new SelectionAdapter() {
			public void widgetSelected(SelectionEvent e) {
				createLink = createLinkButton.getSelection();
				browseButton.setEnabled(createLink);
				variablesButton.setEnabled(createLink);
				
				if (createLink) {
					linkTargetField.setBackground(
							FieldAssistColors.getRequiredFieldBackgroundColor(linkTargetField));
				} else {
					linkTargetField.setBackground(null);
				}
				linkTargetField.setEnabled(createLink);
				if (fileSystemSelectionArea != null)