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 245569 - NullPointerException at org.openide.actions.ToolsAction$Popup$MyMenu.popupMenuWillBecomeInvisible
Summary: NullPointerException at org.openide.actions.ToolsAction$Popup$MyMenu.popupMen...
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Actions (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Jan Peska
URL:
Keywords:
: 246393 246429 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-07-10 20:10 UTC by alexyarm
Modified: 2015-03-04 10:16 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 209765


Attachments
stacktrace (2.87 KB, text/plain)
2014-07-10 20:10 UTC, alexyarm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alexyarm 2014-07-10 20:10:36 UTC
Build: NetBeans IDE 8.0 (Build 201403101706)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13
OS: Windows 7

User Comments:
alexyarm: added new directory in project outside of IDE

GUEST: NullPointerException at org.openide.actions.ToolsAction$Popup$MyMenu.popupMenuWillBecomeInvisible




Stacktrace: 
java.lang.NullPointerException
   at org.openide.actions.ToolsAction$Popup$MyMenu.popupMenuWillBecomeInvisible(ToolsAction.java:421)
   at javax.swing.JPopupMenu.firePopupMenuWillBecomeInvisible(JPopupMenu.java:697)
   at javax.swing.JPopupMenu.setVisible(JPopupMenu.java:794)
   at javax.swing.JMenu.setPopupMenuVisible(JMenu.java:353)
   at javax.swing.JPopupMenu.menuSelectionChanged(JPopupMenu.java:1473)
   at javax.swing.MenuSelectionManager.setSelectedPath(MenuSelectionManager.java:112)
Comment 1 alexyarm 2014-07-10 20:10:38 UTC
Created attachment 147984 [details]
stacktrace
Comment 2 Ondrej Vrabec 2014-07-14 07:44:49 UTC
Happens with de.bfg9000.mongonb module building upon com.jidesoft.plaf.vsnet. Not sure what's happening here, i do only as much as checking for null. Somehow affects also versioning.core module which throws a NPE as well.
I suggest the owner of de.bfg9000.mongonb checks his sources or explain what he's doing with popup menu (or system menus in general). Possibly the menu is showing in other places than in Projects view?

fix: http://hg.netbeans.org/core-main/rev/d69019d5fb2d
Comment 3 Quality Engineering 2014-07-19 10:16:20 UTC
Integrated into 'main-silver', will be available in build *201407190718* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/d69019d5fb2d
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #245569 - NullPointerException at org.openide.actions.ToolsAction$Popup$MyMenu.popupMenuWillBecomeInvisible
Comment 4 Stanislav Aubrecht 2014-08-14 09:11:10 UTC
*** Bug 246429 has been marked as a duplicate of this bug. ***
Comment 5 Ondrej Vrabec 2015-03-04 10:16:53 UTC
*** Bug 246393 has been marked as a duplicate of this bug. ***