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 72026 - NPE when closing New Java Application/ Java Class Library window
Summary: NPE when closing New Java Application/ Java Class Library window
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-30 17:36 UTC by Dan Kolar
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ThreadDump (47.21 KB, text/plain)
2006-01-30 17:37 UTC, Dan Kolar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Kolar 2006-01-30 17:36:08 UTC
200601292300javaee5 jdk1.5_06

1. New Project -> Java Application / Java Class Library -> Next
2. Click 'Finish' and close "New Java Application"/"Java Class Library" window 
before it closes naturally

NPE is thrown.
Comment 1 Dan Kolar 2006-01-30 17:37:33 UTC
Created attachment 28658 [details]
ThreadDump
Comment 2 Tomas Zezula 2006-01-31 08:37:04 UTC
Wrong component.
The WizardPanel should not let user to close already finished window, this will
cause the uninitialize() method to be called twice.
Probably not P1 issue, the usecase is a bit obscure.
Comment 3 Jiri Rechtacek 2006-01-31 09:14:20 UTC
Tomas, please check if the iterator
(java/j2seproject/NewJ2SEProjectWizardIterator) is already uninitialized to
avoid this wrong usage of wizard. Thanks.
Comment 4 Tomas Zezula 2006-02-12 08:53:53 UTC
Checking in
src/org/netbeans/modules/java/j2seproject/ui/wizards/NewJ2SEProjectWizardIterator.java;
/cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/wizards/NewJ2SEProjectWizardIterator.java,v
 <--  NewJ2SEProjectWizardIterator.java
new revision: 1.29; previous revision: 1.28
done
Comment 5 Dan Kolar 2006-02-21 13:17:55 UTC
verified build 200602210300


Comment 6 Quality Engineering 2007-09-20 12:06:08 UTC
Reorganization of java component