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 26616 - the tool menu doesn't works
Summary: the tool menu doesn't works
Status: RESOLVED DUPLICATE of bug 26689
Alias: None
Product: qa
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P4 blocker (vote)
Assignee: issues@qa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-19 16:37 UTC by Steffen Koehler
Modified: 2002-10-17 13:13 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 Steffen Koehler 2002-08-19 16:37:26 UTC
If I activate the tools-menu in the menubar an java.lang.Nullpointer-
Exception occurs.

The detailed execption 
is:

java.lang.NullPointerException
        at 
org.netbeans.modules.apisupport.beanbrowser.NodeExploreAction$ActSubMenuModel.getCount(NodeExploreAction.java:116)
 
       at 
org.openide.awt.Actions$SubMenu.useAccel(Actions.java:1021)
        
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:949)
        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:1128)
 
       at 
javax.swing.MenuSelectionManager.setSelectedPath(MenuSelectionManager.java:79)
 
       at 
javax.swing.plaf.basic.BasicMenuUI$MouseInputHandler.mouseEntered(BasicMenuUI.java:349)
 
       at 
java.awt.AWTEventMulticaster.mouseEntered(AWTEventMulticaster.java:235)
 
       at java.awt.Component.processMouseEvent(Component.java:3719)
        
at java.awt.Component.processEvent(Component.java:3539)
        at 
java.awt.Container.processEvent(Container.java:1159)
        at 
java.awt.Component.dispatchEventImpl(Component.java:2588)
        at 
java.awt.Container.dispatchEventImpl(Container.java:1208)
        at 
java.awt.Component.dispatchEvent(Component.java:2492)
        at 
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2446)
 
       at 
java.awt.LightweightDispatcher.trackMouseEnterExit(Container.java:2313)
 
       at 
java.awt.LightweightDispatcher.processMouseEvent(Container.java:2184)
 
       at 
java.awt.LightweightDispatcher.dispatchEvent(Container.java:2120)
 
       at java.awt.Container.dispatchEventImpl(Container.java:1195)
        
at java.awt.Window.dispatchEventImpl(Window.java:923)
        at 
java.awt.Component.dispatchEvent(Component.java:2492)
[catch] 
at java.awt.EventQueue.dispatchEvent(EventQueue.java:334)
        at 
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:126)
 
       at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:93)
 
       at 
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:88)
 
       at 
java.awt.EventDispatchThread.run(EventDispatchThread.java:80)

My 
system properties from the ide.log are:
Product Version       = NetBeans IDE 
3.4 RC 2   IDE Versioning        = IDE/1 spec=2.23.1 impl=200208130340   Operating 
System      = Windows 2000 version 5.0 running on x86   
Java; VM; Vendor      = 
1.3.1_04; Java HotSpot(TM) Client VM 1.3.1_04-b02; Sun Microsystems 
Inc.
Java Home             = C:\jdk1.3.1_04\jre
System Locale; Encod. = de_DE; 
Cp1252   
Home Dir; Current Dir = C:\Dokumente und 
Einstellungen\Koehler; c:\netbeans   IDE Install; User Dir = 
C:\netbeans; C:\Dokumente und Einstellungen\Koehler\.netbeans\3.4
Comment 1 Marian Mirilovic 2002-10-17 13:13:04 UTC

*** This issue has been marked as a duplicate of 26689 ***