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.
Running NetBeans 3.4 Dev build 200206070835 on RedHat Linux 7.3. I get the Unexpected Exception popup when I try to click on the Tools menu item in the IDE toolbar. This issue started occurring after I installed the tasklist module. Following is the stack trace which appears in the details of the popup: java.lang.NullPointerException at org.netbeans.modules.apisupport.beanbrowser.NodeExploreAction$ActSubMenuModel.getCount(NodeExploreAction.java:116) at org.openide.awt.Actions$SubMenu.useAccel(Actions.java:1023) at org.openide.awt.Actions.updateKey(Actions.java:744) at org.openide.awt.Actions$MenuBridge.updateState(Actions.java:512) at org.openide.awt.Actions$SubMenu.<init>(Actions.java:951) at org.netbeans.modules.apisupport.beanbrowser.NodeExploreAction$SpecialSubMenu.<init>(NodeExploreAction.java:94) at org.netbeans.modules.apisupport.beanbrowser.NodeExploreAction.getMenuPresenter(NodeExploreAction.java:57) at org.openide.actions.ToolsAction.generate(ToolsAction.java:121) at org.openide.actions.ToolsAction.access$200(ToolsAction.java:42) at org.openide.actions.ToolsAction$Inline.run(ToolsAction.java:191) at org.openide.awt.JInlineMenu.doUpdate(JInlineMenu.java:132) at org.openide.awt.JInlineMenu.prepareItemsInContainer(JInlineMenu.java:121) at org.openide.awt.JMenuPlus.setPopupMenuVisible(JMenuPlus.java:54) at javax.swing.JPopupMenu.menuSelectionChanged(JPopupMenu.java:1218) at javax.swing.MenuSelectionManager.setSelectedPath(MenuSelectionManager.java:81) at javax.swing.plaf.basic.BasicMenuUI$MouseInputHandler.mouseEntered(BasicMenuUI.java:375) at java.awt.AWTEventMulticaster.mouseEntered(AWTEventMulticaster.java:237) at java.awt.Component.processMouseEvent(Component.java:5030) at java.awt.Component.processEvent(Component.java:4818) at java.awt.Container.processEvent(Container.java:1380) at java.awt.Component.dispatchEventImpl(Component.java:3526) at java.awt.Container.dispatchEventImpl(Container.java:1437) at java.awt.Component.dispatchEvent(Component.java:3367) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214) at java.awt.LightweightDispatcher.trackMouseEnterExit(Container.java:3054) [catch] at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2911) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2859) at java.awt.Container.dispatchEventImpl(Container.java:1423) at java.awt.Window.dispatchEventImpl(Window.java:1566) at java.awt.Component.dispatchEvent(Component.java:3367) at java.awt.EventQueue.dispatchEvent(EventQueue.java:445) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130) at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
Just wanted to add a few more comments about this: 1. I'm not sure if this exception would have occurred before the tasklist module was installed, as I installed this module the first time I ran the IDE. 2. After I installed the OpenAPI modules from the Update Center, this error did not occurred the last three times I ran the IDE.
reassign to apisupport
Can't do much without knowing which version of apisupport you were running when the exceptions occurred (info available in the log file). And it sounds like you are no longer getting the exceptions anyway with the current version of apisupport (you should be running 2.12). The class throwing the exception no longer even exists in development sources of apisupport -> marking as fixed.
x
Consolidating reports. *** This issue has been marked as a duplicate of 26689 ***
Resolved for 3.3.x or earlier, no new info since then -> closing.