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 20832 - FSException after 'Add Menu' with already existing name
Summary: FSException after 'Add Menu' with already existing name
Status: CLOSED INVALID
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 3.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: rmatous
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-25 14:28 UTC by Lukas Hasik
Modified: 2008-12-22 23:37 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 Lukas Hasik 2002-02-25 14:28:33 UTC
build 200202210100, jdk1.4-b92

1, open Options
2, choose 'Add Menu' from popup on "IDE Configuration/Look and Feel/Menu Bar"
3, click OK in 'New Menu' dialog -> new menu 'Menu' appears 
4, repeat steps 2,3

exception appears

Mon Feb 25 15:16:12 CET 2002: org.openide.filesystems.FSException:  Folder Menu
already exists in Default System.
org.openide.filesystems.FSException: Folder Menu already exists in Default System.
        at org.openide.filesystems.FSException.io(FSException.java:72)
        at
org.openide.filesystems.MultiFileObject.createFolder(MultiFileObject.java:841)
        at org.netbeans.core.MenuFolderNode.newMenu(MenuFolderNode.java:119)
        at org.netbeans.core.MenuFolderNode$1.create(MenuFolderNode.java:79)
        at org.openide.actions.NewAction.performAction(NewAction.java:65)
        at org.openide.actions.NewAction.performAction(NewAction.java:48)
        at org.openide.actions.NewAction.access$100(NewAction.java:35)
        at
org.openide.actions.NewAction$ActSubMenuModel.performActionAt(NewAction.java:175)
        at
org.openide.awt.Actions$SubMenuBridge$ISubActionListener.actionPerformed(Actions.java:716)
        at org.openide.awt.Actions$SubMenu.doClick(Actions.java:1061)
        at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1092)
        at
javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:932)
        at java.awt.Component.processMouseEvent(Component.java:5021)
        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.processMouseEvent(Container.java:2929)
        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)
[catch] 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 rmatous 2002-02-25 15:53:26 UTC
From my point of view this is right behaviour. JavaDoc for
createFolder says: exception IOException if the folder cannot be
created (e.g. already exists).
Comment 2 Quality Engineering 2003-07-01 15:52:44 UTC
Resolved for 3.4.x or earlier, no new info since then -> verified
Comment 3 Quality Engineering 2003-07-01 16:14:57 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.