Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8126219

Exception printed when proxy cannot be accessed

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 7u6
    • Fix Version/s: None
    • Component/s: deploy
    • Labels:
      None

      Description

      I get the following exception message printed from the recently added proxy setting code. I may have been running on VPN when it happened. I just created a default JavaFX program in NB 7.1.2 and ran it from within NetBeans. The program runs normally after printing the message:

      java.net.SocketException: Permission denied: connect
         at java.net.DualStackPlainSocketImpl.connect0(Native Method)
         at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:69)
         at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
         at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
         at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:157)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
         at java.net.Socket.connect(Socket.java:579)
         at java.net.Socket.connect(Socket.java:528)
         at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
         at sun.net.www.http.HttpClient.openServer(HttpClient.java:378)
         at sun.net.www.http.HttpClient.openServer(HttpClient.java:473)
         at sun.net.www.http.HttpClient.<init>(HttpClient.java:203)
         at sun.net.www.http.HttpClient.New(HttpClient.java:290)
         at sun.net.www.http.HttpClient.New(HttpClient.java:306)
         at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:995)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:974)
         at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:849)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1299)
         at com.sun.deploy.net.proxy.AbstractAutoProxyHandler.getJSFileFromURL(Unknown Source)
         at com.sun.deploy.net.proxy.AbstractAutoProxyHandler.init(Unknown Source)
         at com.sun.deploy.net.proxy.DynamicProxyManager.reset(Unknown Source)
         at com.sun.deploy.net.proxy.DeployProxySelector.reset(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:601)
         at com.javafx.main.Main.tryToSetProxy(Main.java:550)
         at com.javafx.main.Main.launchApp(Main.java:588)
         at com.javafx.main.Main.main(Main.java:747)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                igor Igor Nekrestyanov (Inactive)
                Reporter:
                kcr Kevin Rushforth
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: