Bug 100177 [Import/Export] Importing existing project with different case over existing project fails with empty error dialog
I20050610-1757 1. Have a Java project 'p' (lower-case p) on disk 2. Create a Java project 'P' (upper-case P) in your workspace 3. File > Import > Existing Projects Into Workspace 4. Select the directory that contains 'p' on disk 5. Finish Observe: You get an empty error dialog
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/wizards/datatransfer/WizardProjectsImportPage.java
setProjectName();
		}
		/**
		 * Set the name of the project based on the projectFile.
		 */
		private void setProjectName() {
			IProjectDescription newDescription = null;
			try {
				if (projectArchiveFile != null) {
					InputStream stream = provider
							.getContents(projectArchiveFile);
					newDescription = IDEWorkbenchPlugin.getPluginWorkspace()
							.loadProjectDescription(stream);
					stream.close();
				} else {
					IPath path = new Path(projectSystemFile.getPath());
					newDescription = IDEWorkbenchPlugin.getPluginWorkspace()
							.loadProjectDescription(path);
				}
			} catch (CoreException e) {
				
			} catch (IOException e) {
				
			}
			if (newDescription == null) {
				this.description = null;
				projectName = ""; 
			} else {
				this.description = newDescription;
				projectName = this.description.getName();