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.
(Build 200211211326) I added to Sources of Sample project a local directory. The deadlock appears when the expanding directory. It's easy reproducible.
Created attachment 8012 [details] the stacktraces of deadlock
Created attachment 8013 [details] ide log
Although I can say what happens this definitely doesn't look like a deadlock. Look at your FTDs; both you've posted are different. Is the IDE really frozen (e.g. no CPU activity)? What sources root have you mounted in the project? How many packages (approx.) they had?
You are right. The computation run for ages and then successfully finished. I should take more patience.
I wouldn't close this issue. Computing list of packages might be expensive in case of huge folders tree, but it definitely must not take ages. There is very likely some performance bug in the implementation and should find & fix it.
I added folder with sources of core module under Sources node and it took about *35 seconds* to expand that node. It's not related to Sample Project. Raising priority to P2.
I am not sure whether the new impl of packages node makes this problem better or worse :-), please check.
I guess we could close this issue as fixed - the performance of Sources node is not so horrible now it would look like deadlock and could be considered a defect. I will file a new issue about performance and scalability problems of exapanding packages under Packages node.
Issue 33979 filed.
As described in http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the current work on projects prototype has been stopped. Marking issue as VERIFIED --->
---> CLOSED