org.openide.filesystems.FileAlreadyLockedException: org-netbeans-api-project-libraries/libraries-timestamps.properties at org.openide.filesystems.StreamPool$2.write(StreamPool.java:147) at java.io.OutputStream.write(OutputStream.java:116) at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221) at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:291) at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:295) at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141) at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229) at java.io.BufferedWriter.flush(BufferedWriter.java:254) at java.util.Properties.store0(Properties.java:844) at java.util.Properties.store(Properties.java:818) at org.netbeans.modules.project.libraries.LibrariesStorage.saveTimeStamps(LibrariesStorage.java:524) at org.netbeans.modules.project.libraries.LibrariesStorage.fileChanged(LibrariesStorage.java:478) at org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEventImpl(FCLSupport.java:178) at org.openide.filesystems.FCLSupport$DispatchEventWrapperSingle.dispatchAllEventsSync(FCLSupport.java:224) at org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEvent(FCLSupport.java:137) at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupport.java:105) at org.openide.filesystems.FileObject$ED.dispatch(FileObject.java:1398) at org.openide.filesystems.EventControl.invokeDispatchers(EventControl.java:213) at org.openide.filesystems.EventControl.exitAtomicAction(EventControl.java:188) at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:129) at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:519) at org.netbeans.modules.project.libraries.LibrariesStorage.writeLibrary(LibrariesStorage.java:305) at org.netbeans.modules.project.libraries.LibrariesStorage.addLibrary(LibrariesStorage.java:357) at org.netbeans.api.project.libraries.LibraryManager.createLibrary(LibraryManager.java:357) at org.netbeans.api.project.libraries.LibraryManager.createLibrary(LibraryManager.java:314) at org.netbeans.modules.glassfish.javaee.JavaEEServerModuleFactory.addLibrary(JavaEEServerModuleFactory.java:427) at org.netbeans.modules.glassfish.javaee.JavaEEServerModuleFactory.addLibrary(JavaEEServerModuleFactory.java:326) at org.netbeans.modules.glassfish.javaee.JavaEEServerModuleFactory.ensureGlassFishApiSupport(JavaEEServerModuleFactory.java:320) at org.netbeans.modules.glassfish.javaee.JavaEEServerModuleFactory.access$200(JavaEEServerModuleFactory.java:79) at org.netbeans.modules.glassfish.javaee.JavaEEServerModuleFactory$1.run(JavaEEServerModuleFactory.java:150) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)