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 2055 - Creating already existing file throws exception.
Summary: Creating already existing file throws exception.
Status: CLOSED INVALID
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All All
: P4 normal (vote)
Assignee: Milan Kubec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-06-06 01:45 UTC by Milan Kubec
Modified: 2008-12-23 10:25 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 Milan Kubec 1999-06-06 01:45:03 UTC
Creating (From Template) of already existing file in Repository throws exception.

java.io.IOException: File amosdialog.java already exists in /home1/mkubec/corona331/Development.
        at java.lang.Throwable.fillInStackTrace(Native Method)
        at java.lang.Throwable.<init>(Throwable.java:94)
        at java.lang.Exception.<init>(Exception.java:42)
        at java.io.IOException.<init>(IOException.java:47)
        at com.netbeans.ide.filesystems.LocalFileSystem.createData(LocalFileSystem.java:201)
        at com.netbeans.ide.filesystems.AbstractFileObject.createData(AbstractFileObject.java:372)
        at com.netbeans.ide.loaders.FileEntry$Format.createFromTemplate(FileEntry.java:143)
        at com.netbeans.ide.loaders.MultiDataObject.handleCreateFromTemplate(MultiDataObject.java:382)
        at com.netbeans.developer.modules.loaders.java.JavaDataObject.handleCreateFromTemplate(JavaDataObject.java:351)
        at com.netbeans.ide.loaders.DataObject$6.run(DataObject.java:623)
        at com.netbeans.ide.filesystems.FileSystem.runAtomicAction(FileSystem.java:388)

        at com.netbeans.ide.loaders.DataObject.createFromTemplate(DataObject.java:621)
        at com.netbeans.ide.actions.NewTemplateAction$TemplateActionListener.accept(NewTemplateAction.java:173)
        at com.netbeans.ide.explorer.view.MenuView$MenuItem.doClick(MenuView.java:397)
        at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:674)
        at java.awt.Component.processMouseEvent(Component.java:3131)
        at java.awt.Component.processEvent(Component.java:2970)
        at java.awt.Container.processEvent(Container.java:988)
        at java.awt.Component.dispatchEventImpl(Component.java:2381)
        at java.awt.Container.dispatchEventImpl(Container.java:1033)
        at java.awt.Component.dispatchEvent(Component.java:2294)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:1945)
        at java
Comment 1 Marek Grummich 2000-07-25 09:16:59 UTC
Priority is changed to P4 (normal).
Comment 2 Quality Engineering 2003-07-02 14:56:05 UTC
Resolved for 3.4.x or earlier, no new info since then -> verify.
Comment 3 Quality Engineering 2003-07-02 15:13:47 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.