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 217657 - NullPointerException at org.netbeans.modules.openfile.RecentFileAction.ensureSelected
Summary: NullPointerException at org.netbeans.modules.openfile.RecentFileAction.ensure...
Status: RESOLVED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-31 03:29 UTC by tanyehzheng
Modified: 2012-09-06 02:11 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 191999


Attachments
stacktrace (2.13 KB, text/plain)
2012-08-31 03:29 UTC, tanyehzheng
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tanyehzheng 2012-08-31 03:29:30 UTC
Build: NetBeans IDE 7.2 (Build 201207171143)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.1-b03, Java(TM) SE Runtime Environment, 1.7.0_05-b06
OS: Linux

User Comments:
tanyehzheng: I was changing project group




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.openfile.RecentFileAction.ensureSelected(RecentFileAction.java:235)
   at org.netbeans.modules.openfile.RecentFileAction.fillSubMenu(RecentFileAction.java:179)
   at org.netbeans.modules.openfile.RecentFileAction.popupMenuWillBecomeVisible(RecentFileAction.java:141)
   at javax.swing.JPopupMenu.firePopupMenuWillBecomeVisible(JPopupMenu.java:678)
   at javax.swing.JPopupMenu.setVisible(JPopupMenu.java:785)
   at javax.swing.JPopupMenu.show(JPopupMenu.java:956)
Comment 1 tanyehzheng 2012-08-31 03:29:33 UTC
Created attachment 123763 [details]
stacktrace
Comment 2 Jaroslav Havlin 2012-09-05 12:11:42 UTC
http://hg.netbeans.org/core-main/rev/3a878ca3503b
Hopefully fixed. If you encounter the problem again, please reopen this issue.
Thanks for reporting.
Comment 3 Quality Engineering 2012-09-06 02:11:45 UTC
Integrated into 'main-golden', will be available in build *201209060001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/3a878ca3503b
User: Jaroslav Havlin <jhavlin@netbeans.org>
Log: #217657: NPE at openfile.RecentFileAction.ensureSelected