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.
I selected project manager and opened a project. It did not appeared to be complete so I closed empty FS tab and runtime tabs in Explorer. Then run again the project manager. It appeared and IDE got deadlocked.
Created attachment 8195 [details] The deadlock
I have changed version from 4.0 dev to S1S 4.2 (Nevada).
Didn't you used netbeans.debug.heap??? Then WMI uses reschedule with 0 and it creates a lot of tasks instead of delaying one task scheduled before because previous task is already running. Petr Nejedly recommends to use private Request Processor for background winsys saving task. It should solve problem with many threads saving winsys simultaneously. Another problem is that saving of file (wstcref in this case should not trigger updating through fileChanged(). It is already handled when whole winsys is saved but not when just one property file is stored eg. wstcref in this case.
Regarding netbeans.debug.heap flag I do not remember.
First problem is solved using private request processor for saving. Second problem was already solved as saving was implemented before using PersistenceManager.setSaveInProgress(). Listening was enabled in this case probably by running more saving threads simultaneously. Fixed in main trunk. Modified: core/src/org/netbeans/core/windows/WindowManagerImpl.java r.1.164
verified