Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 317009 - NewFeatureProjectWizard: NPE occurs if default project name specified
Summary: NewFeatureProjectWizard: NPE occurs if default project name specified
Status: CLOSED WONTFIX
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-16 04:01 EDT by Alexey Markevich CLA
Modified: 2019-09-09 02:32 EDT (History)
0 users

See Also:


Attachments
stacktrace (6.30 KB, text/plain)
2010-06-16 04:01 EDT, Alexey Markevich CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.