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 - Cannot create java class
Summary: Cannot create java class
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 4.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords: REGRESSION
: 46439 46502 46506 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-07-22 10:06 UTC by Milan Kubec
Modified: 2006-03-24 09:50 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exc stack trace (3.23 KB, text/plain)
2004-07-22 10:07 UTC, Milan Kubec
Details

Note You need to log in before you can comment on or make changes to this bug.
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. ***