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.
I accidentaly invoked the New File action from the context menu of node "Source Packages" and got the exception below. The project was of type "Java Application". The exception is thrown no matter of what template is selected. The exception is not thrown if the action is invoked from the "Test Packages" node. The first five lines of the exception follow. The full callstack will be attached: java.lang.NullPointerException at-org.netbeans.modules.java.project.NewJavaFileWizardIterator.current(NewJavaFileWizardIterator.java:195) at-org.openide.loaders.TemplateWizard$Brigde2Iterator.current(TemplateWizard.java:924) at-org.openide.loaders.TemplateWizardIterImpl.current(TemplateWizardIterImpl.java:103) at-org.openide.WizardDescriptor.updateState(WizardDescriptor.java:514) at-org.openide.loaders.TemplateWizard.updateState(TemplateWizard.java:686)
Created attachment 17099 [details] full callstack
Pretty sure this was just fixed somewhere, but don't remember the issue #.
*** This issue has been marked as a duplicate of 47628 ***
Duplicate. Verified->Closed.