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 44481 - NPE from Templates.getTemplate
Summary: NPE from Templates.getTemplate
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Jiri Rechtacek
: 44527 (view as bug list)
Depends on:
Blocks: 41535
  Show dependency tree
Reported: 2004-06-07 20:22 UTC by Jesse Glick
Modified: 2006-03-24 09:49 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:

Stack trace (18.22 KB, text/plain)
2004-06-07 20:23 UTC, Jesse Glick

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2004-06-07 20:22:15 UTC
040606. I had pressed Ctrl-N, then selected a
different project, then selected Java Class, then
pressed Next. NPE was thrown and wizard did not
Comment 1 Jesse Glick 2004-06-07 20:23:09 UTC
Created attachment 15535 [details]
Stack trace
Comment 2 Jesse Glick 2004-06-07 20:27:15 UTC
Note that at the time I had a file selected in the editor from a
different open project. Reproducible in that case, I think. If it
instead go to the Projects tab and select a package in the target
project, it works.
Comment 3 Jiri Rechtacek 2004-06-08 14:40:17 UTC
*** Issue 44527 has been marked as a duplicate of this issue. ***
Comment 4 Jiri Rechtacek 2004-06-09 13:21:53 UTC
fixed in projectui/src/org/netbeans/modules/project/ui/;
new revision: 1.13; previous revision: 1.12
Processing log script arguments...
More commits to come...
Checking in
new revision: 1.10; previous revision: 1.9
Comment 5 Jiri Skrivanek 2004-06-09 14:52:29 UTC
Verified in build 20040609-1236.