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 24918 - NullPointerException on Tools Menu Item
Summary: NullPointerException on Tools Menu Item
Status: CLOSED DUPLICATE of bug 26689
Alias: None
Product: apisupport
Classification: Unclassified
Component: Inspector (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-18 17:22 UTC by Angie Kimmel
Modified: 2006-02-14 17:46 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Angie Kimmel 2002-06-18 17:22:51 UTC
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)
Comment 1 Angie Kimmel 2002-06-18 17:50:02 UTC
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.
Comment 2 Marian Mirilovic 2002-06-21 15:16:06 UTC
reassign to apisupport
Comment 3 Jesse Glick 2002-06-21 16:29:50 UTC
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.
Comment 4 Jesse Glick 2002-09-09 16:22:40 UTC
x
Comment 5 Jesse Glick 2002-09-09 16:23:37 UTC
Consolidating reports.

*** This issue has been marked as a duplicate of 26689 ***
Comment 6 Quality Engineering 2003-06-30 15:01:17 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.
Comment 7 Quality Engineering 2003-06-30 15:03:29 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.