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.

Bug 164844 - NullPointerException at org.netbeans.modules.ruby.samples.depot.DepotWizardIterator.instantiate
Summary: NullPointerException at org.netbeans.modules.ruby.samples.depot.DepotWizardIt...
Alias: None
Product: ruby
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jaroslav Tulach
Depends on:
Reported: 2009-05-11 09:57 UTC by Martin Schovanek
Modified: 2009-05-16 08:58 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 150940

stacktrace (1.26 KB, text/plain)
2009-05-11 09:58 UTC, Martin Schovanek

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Schovanek 2009-05-11 09:57:55 UTC
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

        at org.netbeans.modules.ruby.samples.depot.DepotWizardIterator.instantiate(
        at org.netbeans.modules.ide.ergonomics.newproject.FeatureOnDemanWizardIterator.instantiate(
        at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(
        at org.openide.loaders.TemplateWizard.handleInstantiate(
        at org.openide.loaders.TemplateWizard.instantiateNewObjects(
        at org.openide.loaders.TemplateWizardIterImpl.instantiate(
Comment 1 Martin Schovanek 2009-05-11 09:58:00 UTC
Created attachment 81878 [details]
Comment 2 Erno Mononen 2009-05-11 14:01:09 UTC
Can't seem to reproduce, does this happen to you only when FoD is enabled?
Comment 3 Martin Schovanek 2009-05-12 09:57:08 UTC
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.
Comment 4 Erno Mononen 2009-05-13 14:40:54 UTC
OK, passing to Jarda then.
Comment 5 Jaroslav Tulach 2009-05-15 18:51:52 UTC
Comment 6 Jaroslav Tulach 2009-05-15 19:23:05 UTC
ergonomics#73414ff4ad4a - sorry for the ugliness of the fix.
Comment 7 Quality Engineering 2009-05-16 08:58:56 UTC
Integrated into 'main-golden', will be available in build *200905160201* on (upload may still be in progress)
User: Jaroslav Tulach <>
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