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 9480 - org.openide.filesystems.FSException after DataObject.delete()
Summary: org.openide.filesystems.FSException after DataObject.delete()
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P2 major (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-02-08 08:14 UTC by Jan Becicka
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Main.java (1.54 KB, text/plain)
2001-02-08 08:15 UTC, Jan Becicka
Details
StackTrace (1.24 KB, text/plain)
2001-02-08 08:17 UTC, Jan Becicka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Becicka 2001-02-08 08:14:22 UTC
[010206_2]
To reproduce this bug run attached Main.java
Comment 1 Jan Becicka 2001-02-08 08:15:59 UTC
Created attachment 586 [details]
Main.java
Comment 2 Jan Becicka 2001-02-08 08:17:59 UTC
Created attachment 587 [details]
StackTrace
Comment 3 Jan Becicka 2001-02-08 08:19:59 UTC
Windows only
Comment 4 Jaroslav Tulach 2001-02-08 10:23:59 UTC
Well, in my opinion this is not a bug of core, but the author of the data
object (in this case java). I would suggest him to close all opened input
streams before trying to delete the object.

If you still think that this is a bug of core, then prove the problem with .txt
data object.
Comment 5 Svata Dedic 2001-02-08 18:03:59 UTC
It is a problem -- consider asynchronous loading of document versus
DataObject.remove(). On Windows, the DataObject can't be removed while there's
an InputStream opened.
Comment 6 Jan Becicka 2001-02-13 10:55:59 UTC
[dev-125] Verified
Comment 7 Quality Engineering 2003-07-01 13:15:53 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.