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 200905110201) VM: Java HotSpot(TM) 64-Bit Server VM, 1.6.0_07-b06-57, Java(TM) SE Runtime Environment, 1.6.0_07-b06-153 OS: Mac OS X, 10.5.6, x86_64 User Comments: mschovanek: 1) start Nb with fresh user-dir 2) on Start Page click 'Try a Sample Project' 3) choose 'Ruby > Depot' 4) fill 'Project Name' and click finish ERROR: IDE throws the NPE Stacktrace: java.lang.NullPointerException at org.netbeans.modules.ruby.samples.depot.DepotWizardIterator.instantiate(DepotWizardIterator.java:116) at org.netbeans.modules.ide.ergonomics.newproject.FeatureOnDemanWizardIterator.instantiate(FeatureOnDemanWizardIterator.java:187) at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:1016) at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:588) at org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:409) at org.openide.loaders.TemplateWizardIterImpl.instantiate(TemplateWizardIterImpl.java:253)
Created attachment 81878 [details] stacktrace
Can't seem to reproduce, does this happen to you only when FoD is enabled?
Reproducible only once when the Ruby feature is activated by ergonomics. Then I was trying to disable the Ruby and create the project again and the NPE didn't appear.
OK, passing to Jarda then.
Reproduced.
ergonomics#73414ff4ad4a - sorry for the ugliness of the fix.
Integrated into 'main-golden', will be available in build *200905160201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/73414ff4ad4a User: Jaroslav Tulach <jtulach@netbeans.org> Log: #164844: If we were not at the end of release cycle I would try to fix the infrastructure, but these days let's play it safe and fix just the one case that is known to be broken