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 64627 - FileAlreadyLockedException while saving project properties
Summary: FileAlreadyLockedException while saving project properties
Status: VERIFIED DUPLICATE of bug 50992
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Milan Kubec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-19 07:59 UTC by Lukas Jungmann
Modified: 2006-08-17 23:29 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE Log (16.64 KB, text/plain)
2005-09-19 08:00 UTC, Lukas Jungmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Jungmann 2005-09-19 07:59:44 UTC
[build 200509181800]

1. create web project for bundled tomcat
2. edit project's build.xml, but don't save it (it have to remain "dirty")
3. goto project properties|run, change target server to external Tomcat and
press submit

=> 
org.openide.filesystems.FileAlreadyLockedException:
home/xjungman/test/WebApplication1/build.xml
Comment 1 Lukas Jungmann 2005-09-19 08:00:15 UTC
Created attachment 24925 [details]
IDE Log
Comment 2 Radko Najman 2005-09-27 09:51:04 UTC
This is a common problem for all project types. Adding Tomas to cc. Do you think
this can be solved in project API or must it be fixed in each project type?
Comment 3 Radko Najman 2005-10-04 14:31:23 UTC
Proposed solution: test if build.xml is saved before opening project properties.
If it is not, open confirmation dialog "Save build.xml? Yes/No". Yes -> save
build.xml and open project properties. No -> do notning.

Workaround: save build.xml before opening project properties.

Downgrading to P3, this issue is a corner case. Agreed by QE.
Comment 4 Jesse Glick 2006-08-17 23:22:17 UTC
Special case of well-known issue.

*** This issue has been marked as a duplicate of 50992 ***
Comment 5 Lukas Jungmann 2006-08-17 23:29:11 UTC
v.