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 50890 - FileAlreadyLockedException occured when renaming a package
Summary: FileAlreadyLockedException occured when renaming a package
Status: CLOSED WORKSFORME
Alias: None
Product: editor
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 4.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: Jan Becicka
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2004-10-27 10:18 UTC by Roman Strobl
Modified: 2007-04-03 18:02 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
FileAlreadyLockedException (13.92 KB, text/plain)
2004-10-27 10:20 UTC, Roman Strobl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Strobl 2004-10-27 10:18:51 UTC
[Netbeans 200410261800; JDS v.2; JDK 1.5.0_01-b04]

Attached exception occured when renaming a class
(from "abc" to "abcd"). The result was that the
new package was created but no classes were added
and thus the new package remained empty.
Comment 1 Roman Strobl 2004-10-27 10:20:36 UTC
Created attachment 18550 [details]
FileAlreadyLockedException
Comment 2 Roman Strobl 2004-10-27 10:21:35 UTC
The exception occured randomly, I cannot reproduce it.
Comment 3 Jan Becicka 2004-10-27 13:23:39 UTC
Randomly - you mean it occures sometimes? Or it just occured once?
This issue is probably not related to refactoring. Some other thread
has a lock, but I don't know which one.

Radku did someone else reported similar FileAlreadyLockedException
recently?
Comment 4 Roman Strobl 2004-10-27 13:31:23 UTC
So far it occured only once, I'll submit more info if it will happen
again.
Comment 5 rmatous 2004-10-27 13:33:24 UTC
I'm not aware of this problem in NB4.0.
Comment 6 Jan Becicka 2004-10-29 08:28:44 UTC
If it happens again, please change priority back to P3.
Comment 7 Jan Becicka 2005-01-12 14:57:58 UTC
I cannot reproduce it.
Comment 8 Roman Strobl 2005-07-07 14:16:42 UTC
Verified, I haven't seen the issue again.