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.
See attached thread dump. Was in the editor and/or manipulating project libraries.
Created attachment 39785 [details] Thread stack dump
Reassigning to apisupport for evaluation
Involves apisupport but I have seen a similar deadlock under other circumstances. Problem seems to be that PackageView receives a change event and then tries to update node list synchronously, which unfortunately involves a lock. Trivial to replan the node update but that would mess up a lot of unit tests, so need to find some way to make it synchronous only inside unit tests. A contributing issue is that apisupport's Evaluator fires unnecessary property changes after project.xml modifications.
Fixed (I hope; no way to verify) by recomputing children asynch except when in a unit test. Not nice but threading is not nice. Filed a separate issue #98732 for apisupport. Checking in PackageView.java; /shared/data/ccvs/repository/java/project/src/org/netbeans/spi/java/project/support/ui/PackageView.java,v <-- PackageView.java new revision: 1.22; previous revision: 1.21 done