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

Bug 334697

Summary: NPE when using CDTMainWizardPage#setInitialProjectName
Product: [Tools] CDT Reporter: Rich Piazza <rpiazza>
Component: cdt-coreAssignee: Project Inbox <cdt-core-inbox>
Status: NEW --- QA Contact: Jonah Graham <jonah>
Severity: normal    
Priority: P3    
Version: 7.0.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Rich Piazza CLA 2011-01-18 15:22:28 EST
Build Identifier: Build id: 20100917-0705

I am nesting the new project wizard, but putting my own wizard page "in front" of the first page of the CDT new project wizard.  On that page, there is a widget to specify the project name, which I want to appear on the first page of CDT new widget page when I press the next button.

However, if I do this, I get an NPE.  If I "patch" the code of  CDTMainWizardPage#validatePage (line 233), and check for null, then the wizard works as expected.

Reproducible: Always