Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 317009

Summary: NewFeatureProjectWizard: NPE occurs if default project name specified
Product: [Eclipse Project] PDE Reporter: Alexey Markevich <a_markevich>
Component: UIAssignee: PDE-UI-Inbox <pde-ui-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 3.6   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard: stalebug
Attachments:
Description Flags
stacktrace none

Description Alexey Markevich CLA 2010-06-16 04:01:28 EDT
Created attachment 172019 [details]
stacktrace

Looks like https://bugs.eclipse.org/bugs/show_bug.cgi?id=275640

private static final String NEW_FEATURE_WIZARD_ID = "org.eclipse.pde.ui.NewFeatureProjectWizard";
IWizardDescriptor wizardDescriptor =
	PlatformUI.getWorkbench().getNewWizardRegistry().findWizard(NEW_FEATURE_WIZARD_ID);
NewWizard wizard = (NewWizard) wizardDescriptor.createWizard();
Dictionary settings = new Hashtable(); 
settings.put(AbstractNewFeatureWizard.DEF_PROJECT_NAME, projectName); 
wizard.init(settings);
wizard.init(PlatformUI.getWorkbench(), new StructuredSelection());
WizardDialog dlg = new WizardDialog(
		PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(), wizard);
dlg.open();
Comment 1 Eclipse Webmaster CLA 2019-09-06 16:10:47 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 2 Julian Honnen CLA 2019-09-09 02:32:39 EDT
Please remove the stalebug flag, if this issue is still relevant and can be reproduced on the latest release.