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.
Summary: | NPE from New action in popup menu on project | ||
---|---|---|---|
Product: | java | Reporter: | Pavel Buzek <pbuzek> |
Component: | Project | Assignee: | Tomas Zezula <tzezula> |
Status: | CLOSED FIXED | ||
Severity: | blocker | CC: | jglick, jrechtacek |
Priority: | P1 | Keywords: | REGRESSION |
Version: | 4.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 41535, 47824 | ||
Attachments: | NPE |
Description
Pavel Buzek
2004-08-21 09:43:02 UTC
Created attachment 17009 [details]
NPE
Looks like the wizard has already been uninitialized when current() is called during instantiate()? A bug in TemplateWizard perhaps? Only applies to NJFWI, not to non-Java files. *** Issue 47595 has been marked as a duplicate of this issue. *** The issues has nothing in common with commit mentioned above by Pavel. The problem is that current is called even after uninitialized is called. Seems a bug in the wizards framework. *** Issue 47687 has been marked as a duplicate of this issue. *** Checking in projectui/src/org/netbeans/modules/project/ui/TemplateChooserPanelGUI.java; /cvs/projects/projectui/src/org/netbeans/modules/project/ui/TemplateChooserPanelGUI.java,v <-- TemplateChooserPanelGUI.java new revision: 1.29; previous revision: 1.28 done Pavel was right, the NPE was caused by other exception which was not notified by the ErrorManager but was catched by TemplateWizard and printed to console this exception was thrown from initialize and causes the panels to be null. *** Issue 47864 has been marked as a duplicate of this issue. *** Verified. |