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.
Build: NetBeans IDE Dev (Build EaselCSS-474-on-20120810) VM: Java HotSpot(TM) 64-Bit Server VM, 23.2-b09, Java(TM) SE Runtime Environment, 1.7.0_06-b22 OS: Windows 7 User Comments: jskrivanek: To reproduce: - create new HTML Application project - open new file wizard - select "Unit Tests|TestNG Test Case" and click Next - type test/a into Folder field and click Finish Stacktrace: java.lang.NullPointerException at org.netbeans.modules.testng.NewTestWizardIterator.instantiate(NewTestWizardIterator.java:131) at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:1024) at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:589) at org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:432) at org.openide.loaders.TemplateWizardIterImpl.instantiate(TemplateWizardIterImpl.java:248) at org.openide.loaders.TemplateWizardIteratorWrapper.instantiate(TemplateWizardIteratorWrapper.java:160)
Created attachment 122980 [details] stacktrace
Created attachment 124095 [details] stacktrace trying to create TestNG test file in PHP project (which is imho pointless but since wizard allows to select file from category Unit Tests, it should be somehow handled) To reproduce: - create a PHP project - invoke New File, select Unit Tests and finish with default values
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=188860
Created attachment 124158 [details] stacktrace creating NGTest Case in HTML5 project
This should be fixed by http://hg.netbeans.org/main-golden/rev/2f966201872a Now the "Unit Tests|TestNG *" options are not available for html/php project types.