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.
On Window Vista if Netbean was installed on User 1 directory when starts Netbean IDE from a different User Desktop, FileAlreadyLockedException occurs Steps to Reproduce 1. Login Window Vista as Administrator User, create User1 account 2. Re-login winVista as User1 > Install Netbean 6.5 Trunk build (08/11/2008) onto User1 directory, including Glassfish V2 and GlassfishV3-prelude-b15b builds 3. Re-login as Adminsitrator user 4. Start Netbean IDE from the Desktop icon BUG: Exception error message occurs as described in the message below (messages.log file attached) 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.fileChanged(LibrariesStorage.java:448) at org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEventImpl(FCLSupport.java:136) 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.j2ee.sun.ide.j2ee.db.RegisterPointbase.registerDerbyLibrary(RegisterPointbase.java:575) at org.netbeans.modules.j2ee.sun.ide.j2ee.db.RegisterPointbase.register(RegisterPointbase.java:265) at org.netbeans.modules.j2ee.sun.ide.Installer$PrepareEnvironment.run(Installer.java:127) [catch] at org.netbeans.core.windows.WindowManagerImpl$Exclusive.run(WindowManagerImpl.java:1300) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Created attachment 67099 [details] messages.log
-> projects at org.netbeans.modules.project.libraries.LibrariesStorage.saveTimeStamps(LibrariesStorage.java:493) at org.netbeans.modules.project.libraries.LibrariesStorage.fileChanged(LibrariesStorage.java:448) --- davisn,have you started the IDE as user1? Was the IDe running when you switched the users? Have you opened/created a project in the IDE?
-I do not have a problem to start the Netbean IDE as User1 -If I started NB as User1 and then switch to User2, I would not be able to see the IDE started because each user created his own .netbean and .netbean-derby directories. User 2 has to start the Netbean IDE by himself
http://hg.netbeans.org/main/rev/c322e4ac68ad
Integrated into 'main-golden', available in build *200808261401* on http://bits.netbeans.org/dev/nightly/ Changeset: http://hg.netbeans.org/main/rev/c322e4ac68ad User: Tomas Zezula <tzezula@netbeans.org> Log: #143553:Window Vista:V3:Exeption should be handled gracefully
*** Issue 149807 has been marked as a duplicate of this issue. ***