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 163031 - org.openide.filesystems.FileAlreadyLockedException: J2EE/TargetModules/tomcat60_home_C_1129955762/home_C__Program_381500086/AlresalahNew
Summary: org.openide.filesystems.FileAlreadyLockedException: J2EE/TargetModules/tomcat...
Status: RESOLVED DUPLICATE of bug 141131
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Hejl
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-19 10:17 UTC by ammarabdulsalam
Modified: 2009-12-01 07:01 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 133559


Attachments
stacktrace (1.97 KB, text/plain)
2009-04-19 10:18 UTC, ammarabdulsalam
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ammarabdulsalam 2009-04-19 10:17:55 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33
OS: Windows XP, 5.1, x86

Stacktrace: 
org.openide.filesystems.FileAlreadyLockedException: J2EE/TargetModules/tomcat60_home_C_1129955762/home_C__Program_381500086/AlresalahNew
        at org.openide.filesystems.MultiFileObject.lock(MultiFileObject.java:643)
        at org.netbeans.modules.j2ee.deployment.impl.TargetModuleConverter.writeTargetModule(TargetModuleConverter.java:164)
        at org.netbeans.modules.j2ee.deployment.impl.TargetModule.save(TargetModule.java:268)
        at org.netbeans.modules.j2ee.deployment.impl.projects.DeploymentTargetImpl.setTargetModules(DeploymentTargetImpl.java:253)
        at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:173)
        at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:103)
Comment 1 ammarabdulsalam 2009-04-19 10:18:06 UTC
Created attachment 80430 [details]
stacktrace
Comment 2 Jiri Skrivanek 2009-04-20 08:01:48 UTC
From this stack trace it seems the deploy is called twice.
http://statistics.netbeans.org/analytics/exception.do?id=181210
Comment 3 Petr Hejl 2009-12-01 07:01:20 UTC

*** This bug has been marked as a duplicate of bug 141131 ***