Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 28394 - [Linked Resources] Import into non-existent folder causes NPE in wizard dialog
Summary: [Linked Resources] Import into non-existent folder causes NPE in wizard dialog
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P2 major (vote)
Target Milestone: 2.1 M4   Edit
Assignee: Knut Radloff CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-16 11:34 EST by Knut Radloff CLA
Modified: 2002-12-16 18:26 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Knut Radloff CLA 2002-12-16 11:34:34 EST
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.
Comment 1 Knut Radloff CLA 2002-12-16 18:26:50 EST
Released fix that addresses both import from file system and import from zip 
file.
Entered Core bug 28430 to fix a problem that causes a NPE in the 
ImportOperation when importing a jar/zip to an undefined linked folder. This 
should throw a CoreException.