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 46424

Summary: Cannot create java class
Product: java Reporter: Milan Kubec <mkubec>
Component: ProjectAssignee: Jiri Rechtacek <jrechtacek>
Status: CLOSED FIXED    
Severity: blocker CC: mmirilovic
Priority: P1 Keywords: REGRESSION
Version: 4.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: exc stack trace

Description Milan Kubec 2004-07-22 10:06:45 UTC
[custom build 20040722, JDK 1.5.0 b58]

When attempting to create new java class by
invoking action 'New Java Class' on package node
in Projects View NullPointerException is thrown
and no wizard gets opened. The same exception is
thrown for any other specific item in New pop-up menu.
Comment 1 Milan Kubec 2004-07-22 10:07:10 UTC
Created attachment 16381 [details]
exc stack trace
Comment 2 Milan Kubec 2004-07-22 10:25:58 UTC
Reproducible in official build 200407220815 too.
Comment 3 Milan Kubec 2004-07-22 10:39:16 UTC
Well there is workaround not using pre-prepared templates but go
through the whole wizard = P2.
Comment 4 Jiri Rechtacek 2004-07-22 13:53:18 UTC
*** Issue 46439 has been marked as a duplicate of this issue. ***
Comment 5 Jiri Rechtacek 2004-07-22 14:58:14 UTC
Thanks for prompt report. Hope fixed in
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.25; previous revision: 1.24
done
Comment 6 Milan Kubec 2004-07-23 09:06:32 UTC
Verified in cutom build 20040723.
Comment 7 Marian Mirilovic 2004-07-23 16:18:58 UTC
*** Issue 46502 has been marked as a duplicate of this issue. ***
Comment 8 Jiri Rechtacek 2004-07-25 20:46:59 UTC
*** Issue 46506 has been marked as a duplicate of this issue. ***