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.
This bug was originally marked as duplicate of bug 183815, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 7.1 Beta (Build 201109222201) VM: Java HotSpot(TM) 64-Bit Server VM, 20.1-b02-384, Java(TM) SE Runtime Environment, 1.6.0_26-b03-384-10M3425 OS: Mac OS X User Comments: ytn01: On the services window, I selected a web application from a list of web applications that were deployed on a Tomcat 7 server, and opened it via the "Open in Browser" context command. Maximum slowness yet reported was 3660 ms, average is 3660
Created attachment 111839 [details] nps snapshot
Seems like org.netbeans.modules.tomcat5.nodes.actions.OpenURLAction.performAction() could be rescheduled to another thread to not block EDT... Reassigning for evaluation.
Actually URLDisplayer.showURL() is taking so long. If we consider it a real issue we have two options I guess: - fix the URLDisplayer.showURL() to not to block at all - fix URLDisplayer.showURL() javadoc to explicitly document that it should not be called from AWT and fix all calls of this method in the IDE Note that majority of calls of this method happens in EDT. I think it is a bad idea to pick a random place and to fix isolated case.
I moved a part of URLDisplayer initialization out of EDT. core-main 00d29be4bf5e
Integrated into 'main-golden', will be available in build *201206280002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/00d29be4bf5e User: S. Aubrecht <saubrecht@netbeans.org> Log: #203495 - move part of URLDisplayer initialization out of EDT