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.
Sometimes NewWizardOperator.create(template, node, name) method does not select right template. It is not easy to reproduce. Sometimes it happens when I run CORBA tests (POASupport/testPOA_Templates test case). In this test case I several times creating java source file from template using mentioned method. It seem to me that sometimes it selects previously used template instead of new one.
It is problem in the test case POASupport/testPOA_Templates. There need to be used exact matching to distinguish templates "CORBA|ClientMain" and "CORBA|CallBackClientMain".