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 106614 - PROP: Severe exception when one icon is import into project for more then once
Summary: PROP: Severe exception when one icon is import into project for more then once
Status: RESOLVED DUPLICATE of bug 110609
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-14 09:49 UTC by Jana Maleckova
Modified: 2007-08-22 15:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
106614 (6.69 KB, text/plain)
2007-06-14 09:50 UTC, Jana Maleckova
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jana Maleckova 2007-06-14 09:49:27 UTC
Product Version: NetBeans IDE Dev (Build 200706140604) Java: 1.6.0_02-ea; Java HotSpot(TM) Client VM 1.6.0_02-ea-b02
System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb) Userdir: D:\userdir60

Description:
============
Try to import one icon in project for more then once. Dialog with warning will be opened - that's right but severe
exception occurs in cmd as well. Should be treated.

StactTrace:
===========
ALL [null]: Cannot create file Apple.gif in folder
D:/testing_NB/6.0/1.6/DesktopApplication1/src/desktopapplication1/resources. This file already exists.
SEVERE:  Cannot create file Apple.gif in folder
D:/testing_NB/6.0/1.6/DesktopApplication1/src/desktopapplication1/resources. This file already exists.

msg
Caused: org.netbeans.modules.masterfs.filebasedfs.utils.FSException: Cannot create file Apple.gif in folder
D:/testing_NB/6.0/1.6/DesktopApplication1/src/desktopapplication1/resources. This file alrea
dy exists.
        at org.netbeans.modules.masterfs.filebasedfs.utils.FSException.io(FSException.java:109)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.createData(FolderObj.java:224)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.createData(FolderObj.java:193)
        at org.openide.filesystems.FileObject.createData(FileObject.java:665)
        at org.netbeans.modules.masterfs.MasterFileObject$AtomicAction.createData(MasterFileObject.java:1116)
        at org.netbeans.modules.masterfs.MasterFileObject$AtomicAction.run(MasterFileObject.java:1061)
Comment 1 Jana Maleckova 2007-06-14 09:50:33 UTC
Created attachment 43671 [details]
106614
Comment 2 Tomas Pavek 2007-08-22 15:09:13 UTC
Should be fixed by issue 110609 - explicitly checking the existing file.

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