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 31023

Summary: NPE when a mouse is over "Mount" menu item
Product: platform Reporter: andrew <andrew>
Component: -- Other --Assignee: issues@platform <issues>
Status: VERIFIED DUPLICATE    
Severity: blocker    
Priority: P1    
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:

Description andrew 2003-02-13 10:43:15 UTC
Current CVS trunk, j2se 1.4.1_01, win XP

1. build clean, buld
2. run with empty user dir, skip projects import
3. Filesystems context menu - when mouse is over
   "Mount" item, four or five the same exceptions 
   take place, "Mount" item submenu doesn't
   appear:

java.lang.NullPointerException
        at
org.openide.actions.NewTemplateAction.getTemplateRoot(NewTemplateAction.java:350)
         at org.openide.actions.NewTemplateAction$3.getPopupMenu(NewTemplateAction.java:211)
         at
 javax.swing.plaf.basic.BasicMenuUI$MouseInputHandler.mouseEntered(BasicMenuUI.java:366)
         at java.awt.Component.processMouseEvent(Component.java:5102)
         at java.awt.Component.processEvent(Component.java:4890)
         at java.awt.Container.processEvent(Container.java:1566)
         at java.awt.Component.dispatchEventImpl(Component.java:3598)
         at java.awt.Container.dispatchEventImpl(Container.java:1623)
         at java.awt.Component.dispatchEvent(Component.java:3439)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
         at java.awt.LightweightDispatcher.trackMouseEnterExit(Container.java:3290)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3147)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
         at java.awt.Container.dispatchEventImpl(Container.java:1609)
         at java.awt.Window.dispatchEventImpl(Window.java:1585)
         at java.awt.Component.dispatchEvent(Component.java:3439)
 [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
         at
 java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
         at
 java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
Comment 1 Marian Mirilovic 2003-02-13 12:23:30 UTC

*** This issue has been marked as a duplicate of 31019 ***
Comment 2 andrew 2003-07-08 19:00:31 UTC
VERIFIED