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: NetBeans IDE 7.1 Beta (Build 201109252201) VM: Java HotSpot(TM) 64-Bit Server VM, 19.0-b09, Java(TM) SE Runtime Environment, 1.6.0_23-b05 OS: Windows 7 User Comments: arittner: CodeCompletion with Lookup.getDefault tnleeuw: Typed 'sessionFactory.get'; that quickly resulted in a list of possible completiond. Then added 'Cur' to select the completion 'getCurrentSession()' and that's what took so long. Maximum slowness yet reported was 23359 ms, average is 8502
Created attachment 112783 [details] nps snapshot
Created attachment 112807 [details] nps snapshot
it appears that the J2seLogicalViewProvider should not call initListeners() -> addLinbraryManagerListener() which can hang on synchronization
In reply to comment #3, probably in wrong issue. There is no call to initListeners() in the snapshot, also the CC thread is not blocked by any lock. The problem is in J2SELibrarySOurceForBinaryQuery listing project library managers.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss