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.
Product Version = NetBeans IDE Dev (Build 201008310001) Operating System = Windows Vista version 6.0 running on x86 Java; VM; Vendor = 1.6.0_21 Runtime = Java HotSpot(TM) Client VM 17.0-b16 While NetBeans was just started up and still showing "Opening Projects", I tried opening a file in one of the projects using alt-shift-O and typing the name of the file. This worked for the first file, but on trying the 2nd file, the list of files remained empty. After closing the dialog, I could click 1 or 2 more things, update a module, and then the GUI hung up. There was no response anymore from clicking anywhere. "Opening projects" was stuck at 29%. Poking around with VisualVM revealed some threads waiting on monitor, that seemed relating to the tasks of opening projects & scanning the file list.
Added threaddump of the state of netbeans at the time of this problem. I have a heapdump available of the same time but b/c of it's size I'm not yet trying to upload that anywhere.
Created attachment 101768 [details] Threaddump of NB when GUI was hung up
Please evaluate.
Lock ordering conflict between TomcatFactory and ServerRegistry. "Load Open Projects": at org.netbeans.modules.tomcat5.TomcatFactory.getDeploymentManager(TomcatFactory.java:189) - waiting to lock <0x1cac2798> (a org.netbeans.modules.tomcat5.TomcatFactory) at org.netbeans.modules.tomcat5.TomcatFactory.getDisconnectedDeploymentManager(TomcatFactory.java:218) ... at org.netbeans.modules.j2ee.deployment.devmodules.api.ServerInstance.getLibraryManager(ServerInstance.java:219) - locked <0x1c993448> (a org.netbeans.modules.j2ee.deployment.impl.ServerRegistry) at org.netbeans.modules.j2ee.common.ui.BrokenServerLibrarySupport.getMissingServerLibraries(BrokenServerLibrarySupport.java:159) "MavenJaxWsSupportProvider.WS_REQUEST_PROCESSOR": at org.netbeans.modules.j2ee.deployment.impl.ServerRegistry.getServerInstance(ServerRegistry.java:300) - waiting to lock <0x1c993448> (a org.netbeans.modules.j2ee.deployment.impl.ServerRegistry) at org.netbeans.modules.j2ee.deployment.plugins.api.InstanceProperties.getInstanceProperties(InstanceProperties.java:155) at org.netbeans.modules.tomcat5.TomcatFactory.getDeploymentManager(TomcatFactory.java:195) - locked <0x1cac2798> (a org.netbeans.modules.tomcat5.TomcatFactory) at org.netbeans.modules.tomcat5.TomcatFactory.getDisconnectedDeploymentManager(TomcatFactory.java:218)
Fixed in web-main e64342fce730.
Integrated into 'main-golden', will be available in build *201012210001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/e64342fce730 User: Petr Hejl <phejl@netbeans.org> Log: #190017: Netbeans hung while trying to find file (Alt-Shift-O) while still opening projects