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
Lock ordering conflict between TomcatFactory and ServerRegistry.
"Load Open Projects":
- waiting to lock <0x1cac2798> (a org.netbeans.modules.tomcat5.TomcatFactory)
- locked <0x1c993448> (a org.netbeans.modules.j2ee.deployment.impl.ServerRegistry)
- waiting to lock <0x1c993448> (a org.netbeans.modules.j2ee.deployment.impl.ServerRegistry)
- locked <0x1cac2798> (a org.netbeans.modules.tomcat5.TomcatFactory)
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)
User: Petr Hejl <email@example.com>
Log: #190017: Netbeans hung while trying to find file (Alt-Shift-O) while still opening projects