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.
Summary: | NullPointerException at org.netbeans.modules.ruby.railsprojects.database.ConfigurableRailsAdapter.railsGenerationParam | ||
---|---|---|---|
Product: | ruby | Reporter: | hjuskewycz <hjuskewycz> |
Component: | Rails | Assignee: | issues@ruby <issues> |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 156727 |
Attachments: | stacktrace |
Description
hjuskewycz
2009-11-22 06:22:38 UTC
Created attachment 91483 [details]
stacktrace
The same happend to me in RC1: java.lang.NullPointerException at org.netbeans.modules.ruby.railsprojects.database.ConfigurableRailsAdapter.railsGenerationParam(ConfigurableRailsAdapter.java:94) at org.netbeans.modules.ruby.railsprojects.RailsProjectGenerator.createProject(RailsProjectGenerator.java:114) at org.netbeans.modules.ruby.railsprojects.ui.wizards.NewRailsProjectWizardIterator.instantiate(NewRailsProjectWizardIterator.java:180) 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) at org.openide.loaders.TemplateWizardIteratorWrapper.instantiate(TemplateWizardIteratorWrapper.java:165) at org.openide.WizardDescriptor.callInstantiateOpen(WizardDescriptor.java:1538) at org.openide.WizardDescriptor.callInstantiate(WizardDescriptor.java:1495) at org.openide.WizardDescriptor.access$1700(WizardDescriptor.java:127) [catch] at org.openide.WizardDescriptor$Listener$2$1.run(WizardDescriptor.java:2066) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:602) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1084) ok, i have the exact steps, it is mostly likely the well known problem on OS X's JDK 6 with comboboxes: - on panel three of New rails project wizard click "specify DB information directly" - in combo is by default selected "mysql (jdbc)" adapter, jdbc checkbox is disabled - click on combo, and select "mysql (jdbc)" adapter again - notice that jdbc checkbox gets enabled - proceed by next - click finish -> NPE Thanks for the steps. Indeed this is caused by that Apple JDK bug, will need to workaround it. |