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 - Unable to launch Generate due to NPE
Summary: Unable to launch Generate due to NPE
Status: RESOLVED DUPLICATE of bug 157326
Alias: None
Product: ruby
Classification: Unclassified
Component: Rails (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Erno Mononen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-04 07:46 UTC by esmithbss
Modified: 2009-03-04 07:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ide log file (60.83 KB, text/plain)
2009-03-04 07:47 UTC, esmithbss
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***