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.
linux, nb dev build 200610011800 Autoupdate checking blocks awt thread of ide for a few seconds. "AWT-EventQueue-1" prio=10 tid=0x0986a800 nid=0x1aaf runnable [0xb4943000..0xb4943ec0] java.lang.Thread.State: RUNNABLE at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:849) at java.net.InetAddress.getAddressFromNameService(InetAddress.java:1183) at java.net.InetAddress.getAllByName0(InetAddress.java:1136) at java.net.InetAddress.getAllByName0(InetAddress.java:1109) at java.net.InetAddress.getAllByName(InetAddress.java:1072) at java.net.InetAddress.getByName(InetAddress.java:969) at java.net.InetSocketAddress.<init>(InetSocketAddress.java:124) at sun.net.NetworkClient.doConnect(NetworkClient.java:157) at sun.net.www.http.HttpClient.openServer(HttpClient.java:388) at sun.net.www.http.HttpClient.openServer(HttpClient.java:500) - locked <0x80951d38> (a sun.net.www.http.HttpClient) at sun.net.www.http.HttpClient.<init>(HttpClient.java:233) at sun.net.www.http.HttpClient.New(HttpClient.java:306) at sun.net.www.http.HttpClient.New(HttpClient.java:318) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:792) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:733) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:658) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:981) - locked <0x80951de8> (a sun.net.www.protocol.http.HttpURLConnection) at org.netbeans.modules.autoupdate.XMLAutoupdateType.hasNewContent(XMLAutoupdateType.java:389) at org.netbeans.modules.autoupdate.AutoChecker.getListWithNewContent(AutoChecker.java:132) at org.netbeans.modules.autoupdate.AutoChecker.run(AutoChecker.java:108) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
It's a new code in NB6.0, asking for HttpURLConnection.getInputStream() shouldn't be in AWT.
*** Issue 87386 has been marked as a duplicate of this issue. ***
Jirka, I think this is serious issue and it has to be fixed for M4. I went to this state and wait for ages to finish this action.
Yes it blocks for long time on Solaris not for 'a few seconds'.
Checking in AutoChecker.java; /shared/data/ccvs/repository/autoupdate/src/org/netbeans/modules/autoupdate/AutoChecker.java,v <-- AutoChecker.java new revision: 1.59; previous revision: 1.58 done
verified