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.
We intend to repackage the IDE for speech recognition development and a major requirement is organizing files into projects. So this bug is a P2 from our point of view. There is nothing fancy about the projects I switched from and to; the project is switched from is the default; the project I switched to (call it X) has just one filesystem mounted. After getting this exception the IDE UI is completely dead; I have to kill it from the task manager. It is reproducible in the sense that if I restart the IDE, it will not get beyond the splash message that says "opening project X". If I get rid of project.last, the IDE starts, but it hangs anytime I switch to X. I am using the windows l&f. Contents of ide.log follow the exception. Wed Dec 26 11:55:06 PST 2001: org.openide.filesystems.FSException: Invalid lock [null] for file Windows/Components/build #005Bcom#002Enuance#002Egrammar#005D.settings in Multi-Filesystem with current lock [null]. Annotation: Cannot save settings to Windows/Components/build #005Bcom#002Enuance#002Egrammar#005D.settings org.openide.filesystems.FSException: Invalid lock [null] for file Windows/Components/build #005Bcom#002Enuance#002Egrammar#005D.settings in Multi- Filesystem with current lock [null]. at org.openide.filesystems.FSException.io(FSException.java:84) at org.openide.filesystems.MultiFileObject.testLock (MultiFileObject.java:513) at org.openide.filesystems.MultiFileObject.getOutputStream (MultiFileObject.java:473) at org.openide.filesystems.MultiFileObject.getOutputStream (MultiFileObject.java:478) at org.openide.loaders.InstanceDataObject$Saver.run (InstanceDataObject.java:1768) at org.openide.filesystems.EventControl.runAtomicAction (EventControl.java:89) at org.openide.filesystems.FileSystem.runAtomicAction (FileSystem.java:388) at org.openide.loaders.InstanceDataObject$Saver.save (InstanceDataObject.java:1786) at org.openide.loaders.InstanceDataObject$SettingsInstance.saveInstance (InstanceDataObject.java:1459) at org.openide.loaders.InstanceDataObject$SettingsInstance.saveInstance (InstanceDataObject.java:1449) at org.openide.loaders.InstanceDataObject$SettingsInstance.run (InstanceDataObject.java:1500) at org.openide.util.Task.run(Task.java:152) [catch] at org.openide.util.RequestProcessor$ProcessorThread.run (RequestProcessor.java:622) ------------------------------------------------------------------------------- >Log Session: Wednesday, December 26, 2001 11:50:23 AM PST >System Info: Product Version = NetBeans IDE Version 3.3 (Build 200112102331) IDE Versioning = IDE/1 spec=1.43.1.1 impl=200112102331 Operating System = Windows 2000 version 5.0 running on x86 Java; VM; Vendor = 1.4.0-beta3; Java HotSpot(TM) Client VM 1.4.0-beta3- b84; Sun Microsystems Inc. Java Home = D:\PROGRA~1\J2SDK1~1.0-B\jre System Locale = en_US Home Dir; Current Dir = C:\WINNT\Profiles\jsinai; D:\netbeans\bin IDE Install; User Dir = D:\netbeans; d:\netbeans\julian CLASSPATH = d:\netbeans\julian\lib\ext\jsc.jar;d:\netbeans\julian\lib\ext\nsc.jar;d:\netbean s\julian\lib\ext\vcom.jar;d: \netbeans\julian\lib\ext\vcomsc.jar;D:\netbeans\lib\patches\openide- compat.jar;D:\netbeans\lib\core.jar;D:\n etbeans\lib\openide.jar;D:\netbeans\lib\ext\crimson.jar;D:\netbeans\lib\ext\jh.j ar;D:\netbeans\lib\ext\jsc.j ar;D:\netbeans\lib\ext\nsc.jar;D:\netbeans\lib\ext\regexp.jar;D:\netbeans\lib\ex t\rmi-ext.jar;D:\netbeans\li b\ext\terminalemulator.jar;D:\netbeans\lib\ext\vcom.jar;D:\netbeans\lib\ext\vcom sc.jar;D:\netbeans\lib\ext\x erces.jar;D:\PROGRA~1\J2SDK1~1.0-B\lib\dt.jar;D:\PROGRA~1\J2SDK1~1.0- B\lib\tools.jar ------------------------------------------------------------------------------- Existing modules: Ant [org.apache.tools.ant.module/2 2.7.1.1 200112102331] Applet [org.netbeans.modules.applet/1 1.7.1.1 200112102331] Auto Update [org.netbeans.modules.autoupdate/1 1.7.1.1 200112102331] Bean Patterns [org.netbeans.modules.beans/1 1.7.1.1 200112102331] Built-in CVS Client [org.netbeans.modules.cvsclient/1 1.4.1.1 200112102331] CVS Command-Line Client Backward Compatibility [org.netbeans.modules.vcs.cmdline.compat/1 1.0.1.1 200112102331] Editor [org.netbeans.modules.editor/1 1.8.1.1 200112102331] External HTML Browser [org.netbeans.modules.extbrowser/1 0.3.1.1 200112102331] Form Editor [org.netbeans.modules.form/2 1.7.1.1 200112102331] General Online Help [org.netbeans.modules.usersguide/1 1.9.1.1 200112102331] HTML [org.netbeans.modules.html/1 1.8.1.1 200112102331] HTTP Server [org.netbeans.modules.httpserver/1 1.7.1.1 200112102331] IDE Core [org.netbeans.core/1 1.1] Image [org.netbeans.modules.image/1 1.7.1.1 200112102331] Internationalization [org.netbeans.modules.i18n/1 1.9.1.1 200112102331] Internationalization of Form [org.netbeans.modules.i18n.form/2 1.8.1.1 200112102331] JAR Packager [org.netbeans.modules.jarpackager/2 1.9.1.1 200112102331] JNDI [org.netbeans.modules.jndi/1 1.4.1.1 200112102331] JPDA Debugger [org.netbeans.modules.debugger.jpda/1 1.9.1.1 200112102331] JSP Syntax Coloring [org.netbeans.modules.web.core.syntax/1 1.5.1.1 200112102331] JSP/Servlet [org.netbeans.modules.web.core/1 1.5.1.1 200112102331] Java Source Files [org.netbeans.modules.java/1 1.7.1.1 200112102331] Javadoc [org.netbeans.modules.javadoc/1 1.7.1.1 200112102331] New Module Wizard [org.netbeans.modules.apisupport.lite/1 0.2.1.1 200112102331] OpenAPIs Support [org.netbeans.modules.apisupport 2.10.1 200112012238] OpenAPIs Support with Ant [org.netbeans.modules.apisupport.ant 2.8.1 200112012238] Projects [org.netbeans.modules.projects/1 1.7.1.1 200112102331] RMI [org.netbeans.modules.rmi/1 1.4.1.1 200112102331] Resource Bundle Syntax Coloring [org.netbeans.modules.properties.syntax/1 1.7.1.1 200112102331] Resource Bundles [org.netbeans.modules.properties/1 1.7.1.1 200112102331] Scripting Support [org.netbeans.modules.scripting/1 1.4.1.1 200112102331] Sourceless Java Classes [org.netbeans.modules.clazz/1 1.8.1.1 200112102331] Text [org.netbeans.modules.text/1 1.7.1.1 200112102331] Tomcat 3.2 Server [org.netbeans.modules.web.tomcat/1 1.3.1.1 200112102331] User Utilities [org.netbeans.modules.utilities/1 1.7.1.1 200112102331] VCS Generic Command-Line Support [org.netbeans.modules.vcs.advanced/1 1.5.1.1 200112102331] com.nuance.grammar [com.nuance.grammar/1] path="" :jsp: init path="" :jsp: init *********** Exception occurred ************ Wed Dec 26 11:55:01 PST 2001: org.openide.filesystems.FSException: Invalid lock [null] for file Windows/Components/build #005Bcom#002Enuance#002Egrammar#005D.settings in Multi- Filesystem with current lock [null]. Annotation: Cannot save settings to Windows/Components/build #005Bcom#002Enuance#002Egrammar#005D.settings org.openide.filesystems.FSException: Invalid lock [null] for file Windows/Components/build #005Bcom#002Enuance#002Egrammar#005D.settings in Multi-Filesystem with current lock [null]. at org.openide.filesystems.FSException.io(FSException.java:84) at org.openide.filesystems.MultiFileObject.testLock (MultiFileObject.java:513) at org.openide.filesystems.MultiFileObject.getOutputStream (MultiFileObject.java:473) at org.openide.filesystems.MultiFileObject.getOutputStream (MultiFileObject.java:478) at org.openide.loaders.InstanceDataObject$Saver.run (InstanceDataObject.java:1768) at org.openide.filesystems.EventControl.runAtomicAction (EventControl.java:89) at org.openide.filesystems.FileSystem.runAtomicAction (FileSystem.java:388) at org.openide.loaders.InstanceDataObject$Saver.save (InstanceDataObject.java:1786) at org.openide.loaders.InstanceDataObject$SettingsInstance.saveInstance (InstanceDataObject.java:1459) [catch] at org.openide.loaders.InstanceDataObject$SettingsInstance.saveInstance (InstanceDataObject.java:1449) at org.openide.loaders.InstanceDataObject$SettingsInstance.run (InstanceDataObject.java:1500) at org.openide.util.Task.run(Task.java:152) at org.openide.util.RequestProcessor$ProcessorThread.run (RequestProcessor.java:622) -------------------------------------------------------------------------------
Could you please attach your <userdir> or if it is large the <userdir>/system/Projects should be enough. Also it would be worth to have full thread dump of the frozen state. You can get it to console by pressing CTRL+Break. Please attach these files using 'Create a new attachement' link above on this page. Thanks!
Created attachment 3958 [details] ide.log showing an example of this defect
I cannot reproduce it at the moment, my project setup has changed. If I see it again I will post my projects folder. Sorry.
Created attachment 0
First: Daniel, is your attachement (id=3958) really related to this problem? I can't see the relation from your ide.log file. Second: Julian, it seems that your attachement didn't go through. Please, send it directly to my address vstejskal@netbeans.org, thanks! Decreasing prio to P3 as it's not reproducible, increase it when you will see the problem again and attach full thread dump + userdir.
Created attachment 5865 [details] userdir with project causing deadlock
I've tried to reproduce this deadlock on recent dev build, but I wasn't successfull. Please, reopen it if it is still valid for you.
Resolved for 3.4.x or earlier, no new info since then -> closing.