Bug 61539 [Wizards] Perspective switching fails
Build: I-20040506 1. Fresh workspace. 2. Create a Java project. 3. Answer yes when asked if you want to switch to the Java perspective. Nothing happens.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/wizards/newresource/BasicNewProjectResourceWizard.java
Throwable t = e.getTargetException();
			if (t instanceof CoreException) {
				if (((CoreException) t).getStatus().getCode() == IResourceStatus.CASE_VARIANT_EXISTS) {
					MessageDialog
							.openError(
									getShell(),
									ResourceMessages
											.getString("NewProject.errorMessage"), 
									ResourceMessages
											.format(
													"NewProject.caseVariantExistsError", new String[]{newProjectHandle.getName()}) ,
							);
				} else {
					ErrorDialog.openError(getShell(), ResourceMessages
							.getString("NewProject.errorMessage"), 
							null, 
							((CoreException) t).getStatus());
				}
			} else {
				
				
				IDEWorkbenchPlugin.getDefault().getLog().log(
						new Status(IStatus.ERROR,
								IDEWorkbenchPlugin.IDE_WORKBENCH, 0, t
										.toString(), t));
				MessageDialog
						.openError(
								getShell(),
								ResourceMessages