Project: Eclipse_Platform_UI
Bug 28394 [Linked Resources] Import into non-existent folder causes NPE in wizard dialog
Reported: 2002-12-16 11:34:34 | Status: resolved fixed

build 20021216 -create a linked folder that refers to a non-existent path variable as follows: -define a folder path variable TEST_FOLDER in the workbench preferences -hack a .project file to add a linked folder using that path variable: <linkedResources> <link> <name>testFolderLink</name> <type>2</type> <location>TEST_FOLDER</location> </link> </linkedResources> -the linked folder appears in the Navigaot -remove the path variable in the preferences -select the linked folder and import from file system ->every time you select a source file you get a NullPointerException in the console. Same problem when importing from a zip/jar.

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/dialogs/WizardResourceImportPage.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/wizards/datatransfer/WizardFileSystemResourceImportPage1.java