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.
Hi there, when working on my EJB project (+/- 80 EJBs) when I click "Enteprise Beans" node in project window, NetBeans takes 100% CPU for... I don't know exactly but something like one minute or maybe less. During that period entire IDE is not responding. This happens only at the first time, I mean when I close this node and open it again, it is cached and opens quickly. If this operation is really so much time-consuming (maybe it could be optimized) I think it should spawn a background thread instead of freezing everything.
Could you please try to reproduce again on your PC and follow http://wiki.netbeans.org/GenerateThreadDump to generate two or three thread dumps when IDE is not responding and attach then to this issue for evaluation. Thanks.
Created attachment 71701 [details] 4 thread dumps taken during waiting for 'Enterprise Beans' node to appear.
Thanks for the thread dumps. It does look like EJB node is waiting on Java parsing infrastructure to draw itself. Perhaps that should be done lazily on background. Passing to EJB guys to evaluate.
Already fixed by collecting EJBs lazily on background and showing node Scanning for EJBs ...