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

java.net.UnknownHostException while running new JavaFx application

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: 7u6
    • Fix Version/s: 7u6
    • Component/s: deploy
    • Environment:

      Product Version: NetBeans IDE 7.2 (Build 201207171143)
      Java: 1.7.0_06-ea; Java HotSpot(TM) Client VM 23.2-b08
      System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)

      Description

      I am facing java.net.UnknownHostException while running new JavaFx application in Netbeans 7.2
      Steps

      1.File -> New Project ->JavaFx -> JavaFx Application -> Next -> Finish
      2.Run the newly created project.
      3.The Sample UI with "Hello World" button comes up but receive the following exception in console

      This is not a show stopper but I wonder why this trying to access internet via the auto config url in my internet options's network connections.
      The JavaFx program has nothing to do with Internet.

      java.net.UnknownHostException: wpad
      at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
      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:572)
      at com.javafx.main.Main.launchApp(Main.java:640)
      at com.javafx.main.Main.main(Main.java:805)

      Bug verification and more details http://netbeans.org/bugzilla/show_bug.cgi?id=216452

        Attachments

          Activity

            People

            • Assignee:
              igor Igor Nekrestyanov (Inactive)
              Reporter:
              nghoshjfx Neil Ghosh (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: