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 Templates.getTemplate | ||
---|---|---|---|
Product: | projects | Reporter: | Jesse Glick <jglick> |
Component: | Generic Infrastructure | Assignee: | Jiri Rechtacek <jrechtacek> |
Status: | CLOSED FIXED | ||
Severity: | blocker | CC: | jskrivanek |
Priority: | P3 | ||
Version: | 4.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 41535 | ||
Attachments: | Stack trace |
Description
Jesse Glick
2004-06-07 20:22:15 UTC
Created attachment 15535 [details]
Stack trace
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. *** Issue 44527 has been marked as a duplicate of this issue. *** fixed in projectui/src/org/netbeans/modules/project/ui/NewFileWizard.java; /cvs/projects/projectui/src/org/netbeans/modules/project/ui/NewFileWizard.java,v <-- NewFileWizard.java new revision: 1.13; previous revision: 1.12 done Processing log script arguments... More commits to come... Checking in projectuiapi/src/org/netbeans/spi/project/ui/templates/support/Templates.java; /cvs/projects/projectuiapi/src/org/netbeans/spi/project/ui/templates/support/Templates.java,v <-- Templates.java new revision: 1.10; previous revision: 1.9 done Verified in build 20040609-1236. |