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.0 (Build 201104080000) VM: Java HotSpot(TM) 64-Bit Server VM, 19.1-b02, Java(TM) SE Runtime Environment, 1.6.0_24-b07 OS: Linux User Comments: jglick: Refocusing editor with POM from bug #198208. Maximum slowness yet reported was 185973 ms, average is 71690
Created attachment 108934 [details] nps snapshot
M2ConfigProvider.getActiveConfiguration was blocked because ProjectProfileHandlerImpl.getLineage, despite supposedly using the offline embedder, was nonetheless making an HTTP connection.
Created attachment 109063 [details] Test case to reproduce Open attached file in editor and select "POM model" in Navigator. When switching between that and "POM inheritance", there is a noticeable pause, and a network connection is made. This is not true when there is no <repositories> section (at least assuming a mirror is configured for central).
Created attachment 109064 [details] Unsuccessful patch attempt
Created attachment 109067 [details] Better test case (uses a site which gives proper 404s)
core-main #36217b4293fc
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/36217b4293fc User: Jesse Glick <jglick@netbeans.org> Log: #199476: LowPerformance took 185973 ms. (in getLineage)