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 170819 - NullPointerException at org.netbeans.modules.ruby.railsprojects.ui.wizards.DatabaseConfigPanelVisual.read
Summary: NullPointerException at org.netbeans.modules.ruby.railsprojects.ui.wizards.Da...
Status: NEW
Alias: None
Product: ruby
Classification: Unclassified
Component: Rails (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@ruby
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-24 15:44 UTC by Petr Chytil
Modified: 2011-01-28 20:13 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 156671


Attachments
stacktrace (5.48 KB, text/plain)
2009-08-24 15:45 UTC, Petr Chytil
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Chytil 2009-08-24 15:44:55 UTC
Build: NetBeans IDE 6.7.1 (Build 200907230233)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02-83, Java(TM) SE Runtime Environment, 1.6.0_13-b03-211
OS: Mac OS X, 10.5.8, x86_64

User Comments:
pchytil: Steps to reproduce:
 - invoke new ruby on rails project wizard
 - jruby is selected as the ruby platform on the first screen
 - activate the ruby platform combobox and select jruby (it was already selected by default)
 - <invalid platform> should be now selected in the combobox instead of the jruby
 - click on the "next" button
 - this NPE should jump out



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.ruby.railsprojects.ui.wizards.DatabaseConfigPanelVisual.read(DatabaseConfigPanelVisual.java:89)
        at org.netbeans.modules.ruby.railsprojects.ui.wizards.DatabaseConfigPanel.readSettings(DatabaseConfigPanel.java:75)
        at org.openide.WizardDescriptor.updateStateOpen(WizardDescriptor.java:886)
        at org.openide.WizardDescriptor.updateState(WizardDescriptor.java:837)
        at org.openide.loaders.TemplateWizard.updateState(TemplateWizard.java:731)
        at org.netbeans.modules.project.ui.NewProjectWizard.updateState(NewProjectWizard.java:67)
Comment 1 Petr Chytil 2009-08-24 15:45:00 UTC
Created attachment 86572 [details]
stacktrace
Comment 2 Tomas Danek 2009-08-25 11:24:07 UTC
reproducible, probably something wrong with combobox on 1.6.0_13; Java HotSpot(TM) 64-Bit Server VM 11.3-b02-83, not
reproducible on 1.5.0_19; Java HotSpot(TM) Client VM 1.5.0_19-137; Apple Inc.
Comment 3 Erno Mononen 2009-08-25 16:03:18 UTC
I'll take a look at this.
Comment 4 Erno Mononen 2010-04-29 14:15:32 UTC
I'll need to find out whether this is already fixed in the latest Mac JDK 6.