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

Proxy Setting with a "." at the end cause JRE 8u45 install failure with illegal IPv4 address error

XMLWordPrintable

    • x86
    • windows_7

      FULL PRODUCT VERSION :


      ADDITIONAL OS VERSION INFORMATION :
      Windows 7 64Bit

      A DESCRIPTION OF THE PROBLEM :
      Every time we try to install the downloaded JRE , we get this error (below) after we click on the "OK" button.

      the installation completes,

      -------------------------------
      Error
      ------------------------------
      java.lang.IllegalArgumentException: illegal IPv4 address

      at java.net.HostPortrange.<init>(Unknown Source)
      at java.net.URLPermission$Authority.<init>(Unknown Source)
      at java.net.URLPermission.parseURI(Unknown Source)
      at java.net.URLPermission.init(Unknown Source)
      at java.net.URLPermission.<init>(Unknown Source)
      at sun.net.www.protocol.http.HttpURLConnection.URLtoSocketPermission(Unknown Source)
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
      at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown Source)
      at java.net.URLConnection.getContentType(Unknown Source)
      at com.sun.deploy.net.proxy.AbstractAutoProxyHandler.isSupportedINSFile(Unknown Source)
      at com.sun.deploy.net.proxy.AbstractAutoProxyHandler.retrieveContentOfPACFile(Unknown

      Source)

      at com.sun.deploy.net.proxy.AbstractAutoProxyHandler.contructLegacyPACScript_16(Unknown

      Source)

      at com.sun.deploy.net.proxy.AbstractAutoProxyHandler.init(Unknown Source)
      at com.sun.deploy.net.proxy.SunAutoProxyHandler.init(Unknown Source)
      at com.sun.deploy.net.proxy.DynamicProxyManager.reset(Unknown Source)
      at com.sun.deploy.net.proxy.DeployProxySelector.reset(Unknown Source)
      at com.sun.javaws.Main.initializeExecutionEnvironment(Unknown Source)
      at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
      at com.sun.javaws.Main.access$000(Unknown Source)
      at com.sun.javaws.Main$1.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      In Internet Explorer we have a Proxy Setting with a "." at the end

      Example Proxy setting ---> http://my.test. <---

      We get the error described.

      if we remove the "." at the end of the proxy the installation completes with no error. However in our environment we must retain the period.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      we are expecting the Java 8u45 JRE to install without error

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      java.lang.IllegalArgumentException: illegal IPv4 address

      at java.net.HostPortrange.<init>(Unknown Source)
      at java.net.URLPermission$Authority.<init>(Unknown Source)
      at java.net.URLPermission.parseURI(Unknown Source)
      at java.net.URLPermission.init(Unknown Source)
      at java.net.URLPermission.<init>(Unknown Source)
      at sun.net.www.protocol.http.HttpURLConnection.URLtoSocketPermission(Unknown Source)
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
      at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown Source)
      at java.net.URLConnection.getContentType(Unknown Source)
      at com.sun.deploy.net.proxy.AbstractAutoProxyHandler.isSupportedINSFile(Unknown Source)
      at com.sun.deploy.net.proxy.AbstractAutoProxyHandler.retrieveContentOfPACFile(Unknown

      Source)

      at com.sun.deploy.net.proxy.AbstractAutoProxyHandler.contructLegacyPACScript_16(Unknown

      Source)

      at com.sun.deploy.net.proxy.AbstractAutoProxyHandler.init(Unknown Source)
      at com.sun.deploy.net.proxy.SunAutoProxyHandler.init(Unknown Source)
      at com.sun.deploy.net.proxy.DynamicProxyManager.reset(Unknown Source)
      at com.sun.deploy.net.proxy.DeployProxySelector.reset(Unknown Source)
      at com.sun.javaws.Main.initializeExecutionEnvironment(Unknown Source)
      at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
      at com.sun.javaws.Main.access$000(Unknown Source)
      at com.sun.javaws.Main$1.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)

      REPRODUCIBILITY :
      This bug can be reproduced always.

            dmarkov Dmitry Markov
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: