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 34374 - Cannot delete file for unknown reason
Summary: Cannot delete file for unknown reason
Status: VERIFIED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 3.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: rmatous
URL:
Keywords:
Depends on:
Blocks: 33892
  Show dependency tree
 
Reported: 2003-06-13 10:53 UTC by Jiri Skrivanek
Modified: 2008-12-22 19:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ide.log with thread dump (17.48 KB, text/plain)
2003-06-13 10:54 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2003-06-13 10:53:24 UTC
It starts to happen 2 or 3 days ago that in
automated tests it was impossible to delete a file
and exception was raised in a dialog. It is also
reproducable manually on the latest dev build:

- run IDE
- create a JFrame from template in sampledir
- add a JLabel to form
- switch to Editing workspace
- save JFrame
- copy/paste JFrame to sampledir
- execute JFrame
- close JFrame application
- try to delete JFrame in explorer => Exception
(see att.)

Build 200306130100, JDK1.4.1_02-b06, WinXP.
Comment 1 Jiri Skrivanek 2003-06-13 10:54:18 UTC
Created attachment 10680 [details]
ide.log with thread dump
Comment 2 pzajac 2003-06-13 12:32:59 UTC
reassigned to openide/filesystem. The delete file is probably locked
by filesystem. The Exception should be annotated with user priority. 
Comment 3 rmatous 2003-06-13 13:40:11 UTC
Definitely the problem isn't in filesystems. Not sure where the
problem is, but probably classLoader loads class from inputStream and
this stream isn't closed. 
Comment 4 rmatous 2003-07-04 15:36:09 UTC
Target milestone: 4.0
Comment 5 rmatous 2003-08-21 14:25:22 UTC
This issue is not caused because of filesystems defect. ClassLoader
impl. keeps opened stream, which causes problems. But I was not able
to reproduce. Then from my point of view marked as WORKSFORME.

Jiri please either verify or reassign to execution.NbClassLoader. 
Comment 6 Jiri Skrivanek 2003-08-22 09:00:22 UTC
Neither I cannot reproduce it after 2 months from the date I reported
it. Probably solved by changes in IDE.