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.
Product Version: NetBeans IDE 7.2 (Build 201207171143) Java: 1.7.0_06; Java HotSpot(TM) 64-Bit Server VM 23.2-b09 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb) After IDE restart, Kenai (java.net) is not logged in. It happens on a machine which has proxy configured by autoscript and IDE is set to "Use System Proxy Settings". When "Manual Proxy Settings" in the IDE is used instead and proxy configuration is entered manually, then it works correctly - user is still logged in after restart. Thread dump excerpt from a startup with "Use System Proxy Settings": "main" prio=6 tid=0x000000000c20d800 nid=0x17bc runnable [0x000000000e19f000] java.lang.Thread.State: RUNNABLE at org.netbeans.core.NbProxySelector.register(NbProxySelector.java:84) at org.netbeans.core.GuiRunLevel.run(GuiRunLevel.java:95) at org.netbeans.core.startup.Main.start(Main.java:315) at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:123) at java.lang.Thread.run(Thread.java:722) "Default RequestProcessor" daemon prio=2 tid=0x000000000c20c800 nid=0x894 runnable [0x000000000df9e000] java.lang.Thread.State: RUNNABLE at java.net.ProxySelector.getDefault(ProxySelector.java:96) at sun.net.www.protocol.http.HttpURLConnection$5.run(HttpURLConnection.java:917) at sun.net.www.protocol.http.HttpURLConnection$5.run(HttpURLConnection.java:915) at java.security.AccessController.doPrivileged(Native Method) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:913) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177) at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1090) - locked <0x00000000f1506be8> (a sun.net.www.protocol.https.DelegateHttpsURLConnection) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250) - locked <0x00000000f10a5d30> (a sun.net.www.protocol.https.HttpsURLConnectionImpl) at org.netbeans.modules.kenai.RestConnection.connect(RestConnection.java:248) at org.netbeans.modules.kenai.RestConnection.post(RestConnection.java:211) at org.netbeans.modules.kenai.RestConnection.post(RestConnection.java:205) at org.netbeans.modules.kenai.KenaiREST.verify(KenaiREST.java:476) at org.netbeans.modules.kenai.api.Kenai.login(Kenai.java:274) - locked <0x00000000f03df340> (a org.netbeans.modules.kenai.api.Kenai) at org.netbeans.modules.kenai.ui.spi.UIUtils.tryLogin(UIUtils.java:146) - locked <0x00000000f03e88c8> (a java.lang.Class for org.netbeans.modules.kenai.ui.spi.UIUtils) at org.netbeans.modules.kenai.ui.KenaiLoginTask.run(KenaiLoginTask.java:69) - locked <0x00000000f0344460> (a java.lang.Object) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1452) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2032)
Kenai connects to server before NbProxySelector is properly set up. Because of that PAC proxy settings are incorrectly determined - or not determined at all.
fix: http://hg.netbeans.org/core-main/rev/29e9767fab86
Integrated into 'main-golden', will be available in build *201209050001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/29e9767fab86 User: Ondrej Vrabec <ovrabec@netbeans.org> Log: #217807 - Kenai not logged in after restart with automatic proxy settings auto login attempt should be started after the IDE is fully initialized