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 149807 - org.openide.filesystems.FileAlreadyLockedException: org-netbeans-api-project-libraries/libraries-timestamps.properties
Summary: org.openide.filesystems.FileAlreadyLockedException: org-netbeans-api-project-...
Status: RESOLVED DUPLICATE of bug 143553
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: _ pcw
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-10 21:21 UTC by Lukas Hasik
Modified: 2008-10-17 23:07 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 90666


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Hasik 2008-10-10 21:21:40 UTC
21 exceptions coming from the same build. Probably fixed however should be evaluated

Build: NetBeans IDE 6.5 Beta (Build 200808111757)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.0-b01, Java(TM) SE Runtime Environment, 1.7.0-ea-b32
OS: Windows Vista, 6.0, amd64
User comments: 
STACKTRACE: (first 10 lines)
org.openide.filesystems.FileAlreadyLockedException: org-netbeans-api-project-libraries/libraries-timestamps.properties
        at org.openide.filesystems.MultiFileObject.lock(MultiFileObject.java:641)
        at org.netbeans.modules.project.libraries.LibrariesStorage.saveTimeStamps(LibrariesStorage.java:493)
        at org.netbeans.modules.project.libraries.LibrariesStorage.fileDataCreated(LibrariesStorage.java:385)
        at org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEventImpl(FCLSupport.java:130)
        at org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEvent(FCLSupport.java:122)
        at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupport.java:99)
        at org.openide.filesystems.FileObject$ED.dispatch(FileObject.java:915)
        at org.openide.filesystems.EventControl.invokeDispatchers(EventControl.java:203)
        at org.openide.filesystems.EventControl.exitAtomicAction(EventControl.java:177)
        at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:122)
Comment 1 _ pcw 2008-10-13 18:41:44 UTC
I'm assuming this report is assigned to glassfish for a reason, even though the trace is generic.

Yet the URL reference above points to an error page.  How do I find out more about the circumstances involved here? 
(messages.log, etc.)
Comment 2 Lukas Hasik 2008-10-14 10:46:12 UTC
FST, the link should work now. Feel free to reassign to project/libraries if you cannot influence the lock

org.openide.filesystems.FileAlreadyLockedException: org-netbeans-api-project-libraries/libraries-timestamps.properties
        at org.openide.filesystems.MultiFileObject.lock(MultiFileObject.java:641)
        at org.netbeans.modules.project.libraries.LibrariesStorage.saveTimeStamps(LibrariesStorage.java:493)
        at org.netbeans.modules.project.libraries.LibrariesStorage.fileDataCreated(LibrariesStorage.java:385)
        at org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEventImpl(FCLSupport.java:130)
        at org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEvent(FCLSupport.java:122)
        at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupport.java:99)
        at org.openide.filesystems.FileObject$ED.dispatch(FileObject.java:915)
        at org.openide.filesystems.EventControl.invokeDispatchers(EventControl.java:203)
        at org.openide.filesystems.EventControl.exitAtomicAction(EventControl.java:177)
        at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:122)
        at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:499)
        at org.netbeans.modules.project.libraries.LibrariesStorage.writeLibrary(LibrariesStorage.java:235)
        at org.netbeans.modules.project.libraries.LibrariesStorage.addLibrary(LibrariesStorage.java:321)
        at org.netbeans.api.project.libraries.LibraryManager.createLibrary(LibraryManager.java:281)
        at
org.netbeans.modules.glassfish.javaee.JavaEEServerModuleFactory.ensureEclipseLinkSupport(JavaEEServerModuleFactory.java:194)
        at org.netbeans.modules.glassfish.javaee.JavaEEServerModuleFactory$1.run(JavaEEServerModuleFactory.java:120)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
Comment 3 _ pcw 2008-10-17 23:07:49 UTC
All traces filed against 6.5 Beta.

This was fixed (issue #143553) after Beta was released.

*** This issue has been marked as a duplicate of 143553 ***