Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 334697 - NPE when using CDTMainWizardPage#setInitialProjectName
Summary: NPE when using CDTMainWizardPage#setInitialProjectName
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 7.0.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-18 15:22 EST by Rich Piazza CLA
Modified: 2020-09-04 15:24 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 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