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 159584

Summary: Unable to launch Generate due to NPE
Product: ruby Reporter: esmithbss <esmithbss>
Component: RailsAssignee: Erno Mononen <emononen>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: ide log file

Description esmithbss 2009-03-04 07:46:55 UTC
Following an update of my plugins on 3/3/09, and the reboot of the IDE, I cannot run a Generate command and receive a
dialog.

The exception is:

SEVERE [org.openide.util.RequestProcessor]
java.lang.NullPointerException
        at org.netbeans.modules.ruby.railsprojects.GeneratorPanel.getSelectedGenerator(GeneratorPanel.java:143)
        at org.netbeans.modules.ruby.railsprojects.GeneratorPanel.isValid(GeneratorPanel.java:480)
        at java.awt.Component.invalidateIfValid(Component.java:2740)
        at java.awt.Component.setLocale(Component.java:1810)
        at javax.swing.JComponent.<init>(JComponent.java:595)
...

IDE Log attached for more detail.
Comment 1 esmithbss 2009-03-04 07:47:27 UTC
Created attachment 77687 [details]
ide log file
Comment 2 Erno Mononen 2009-03-04 07:53:41 UTC
This is a known issue with JDK 6u12, it broke many things in the IDE. These issues are fixed 6.5.1 (will be release 
soon I think) and 6.7 M2, with 6.5 you have to use JDK6u11 or older.

*** This issue has been marked as a duplicate of 157326 ***