This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 222638 - NPE while using WTP project wizard shortcuts
Summary: NPE while using WTP project wizard shortcuts
Status: CLOSED FIXED
Alias: None
Product: WTP Common Tools
Classification: WebTools
Component: wst.common (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 critical (vote)
Target Milestone: 3.0 M6   Edit
Assignee: Konstantin Komissarchik CLA
QA Contact: Konstantin Komissarchik CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-13 14:41 EDT by Kaloyan Raev CLA
Modified: 2008-05-29 12:56 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kaloyan Raev CLA 2008-03-13 14:41:50 EDT
Build: I20080313113126

Steps to reproduce:
1. Start in a clean workspace.
2. Right-click in the Project Explorer view > New > Dynamic Web Project. 

The wizard does not pop up. Instead an error is logged in the Error Log:

java.lang.NullPointerException
	at org.eclipse.jface.wizard.WizardDialog.updateButtons(WizardDialog.java:1247)
	at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard.handleSelectedFacetsChangedEvent(ModifyFacetedProjectWizard.java:711)
	at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard.createPageControls(ModifyFacetedProjectWizard.java:289)
	at org.eclipse.wst.web.ui.internal.wizards.NewProjectDataModelFacetWizard.createPageControls(NewProjectDataModelFacetWizard.java:136)
	at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:669)

This also happens for EJB, Connector, EAR and AppClient wizard. 

The only workaround I have found is to go through New > Project... > Dynamic Web Project > ...
Comment 1 Konstantin Komissarchik CLA 2008-03-13 15:32:19 EDT
Looking at this now.
Comment 2 Konstantin Komissarchik CLA 2008-03-13 16:01:42 EDT
Fix released to the 3.0 M6 code stream.
Comment 3 Kaloyan Raev CLA 2008-03-14 07:10:51 EDT
Thanks, Konstantin!
Verified with the I20080313204547 build. 
Comment 4 Kaloyan Raev CLA 2008-05-29 12:56:26 EDT
Closing