This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 63247 - [Project Type Wizard] NPE on showing wizard
Summary: [Project Type Wizard] NPE on showing wizard
Status: VERIFIED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Templates (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-29 14:28 UTC by pzajac
Modified: 2005-09-05 09:51 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exception (5.51 KB, text/plain)
2005-08-29 14:29 UTC, pzajac
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pzajac 2005-08-29 14:28:03 UTC
[200508281800] 
Steps to reproduce:
1) Create a module suite
2) Create a netbeans module project
3) Show  Project Type template from wizard

NPE was thrown. No j2se project was opened in IDE. The exception is thrown only
when a module suite is opened.
Comment 1 pzajac 2005-08-29 14:29:17 UTC
Created attachment 24310 [details]
exception
Comment 2 Martin Krauskopf 2005-08-30 11:36:48 UTC
This is because that a suite is listed in the Project combo (atually not
"listed", since this panel will never appear in this case) and the Project
Wizard seems to be not ready to handle suite case at all. Which also could
blocks Cheertjan with feedreader tutorial.
Comment 3 Jesse Glick 2005-08-30 17:35:03 UTC
Milos used the wrong API. Should be easy to fix if my guess is right.
Comment 4 Jesse Glick 2005-08-30 18:05:55 UTC
It was right. People don't read the Javadoc for Sources, I guess. I will grep
nb_all and fix every abuse, too.
Comment 5 Jesse Glick 2005-08-30 18:17:57 UTC
committed   * Up-To-Date  1.7        
apisupport/project/src/org/netbeans/modules/apisupport/project/ui/wizard/project/NewProjectIterator.java
committed   * Up-To-Date  1.5        
apisupport/project/src/org/netbeans/modules/apisupport/project/ui/wizard/project/SelectProjectPanel.java
Comment 6 pzajac 2005-09-01 16:12:02 UTC
v