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.
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 advance.
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.