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

JAVA WebStart mishandling proxy.pac from IE7

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 6u10
    • Fix Version/s: None
    • Component/s: deploy
    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_xp

      Description

      FULL PRODUCT VERSION :
      Java Web Start 1.6.0_11
      Using version JRE 1.4.2_18 Java HotSpot(TM) Client VM

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows XP [version 5.1.2600], using IE7

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      proxy.pac

      A DESCRIPTION OF THE PROBLEM :
      When using IE6, proxy.pac is properly parsed and the application is bypassing our proxy. Simply upgrading to IE7 causes the application to try and use our proxy (although the proxy.pac instructs it not to). I understand that JSE 1.4 has limitations with regard to pac scripts, but one can wonder why it is not broken
      either when using IE or when removing JWS 1.6.


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Define a proxy.pac in IE7 instructing isPlainHostname() to go direct and the rest to use a proxy, and run an application.jnlp that will break when routed through said proxy.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      No exception due to application being improperly directed through a proxy
      ACTUAL -
      Exception due to application being improperly directed through a proxy

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      java.lang.NullPointerException

      at com.myapp.common.jive.tools.ClassTools.getClassLocation(ClassTools.java:102)

      at com.myapp.common.jive.tools.MessageTools.getBundle(MessageTools.java:143)

      at com.myapp.common.jive.tools.MessageTools.getJiveBundle(MessageTools.java:226)

      at com.myapp.common.jive.exception.AbstractFmkRuntimeException.getBundle(AbstractFmkRuntimeException.java:150)

      at com.myapp.common.jive.exception.ServiceException.getBundle(ServiceException.java:58)

      at com.myapp.common.jive.exception.AbstractFmkRuntimeException.<init>(AbstractFmkRuntimeException.java:81)

      at com.myapp.common.jive.exception.AbstractFmkRuntimeException.<init>(AbstractFmkRuntimeException.java:62)

      at com.myapp.common.jive.exception.ServiceException.<init>(ServiceException.java:31)

      at com.myapp.common.jive.exception.CommunicationServiceException.<init>(CommunicationServiceException.java:25)

      at com.myapp.common.jive.call.client.ClientCPSHandler.invoke(ClientCPSHandler.java:108)

      at $Proxy0.lisEvenements(Unknown Source)
      -snip-

      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      defining if (host=="java.sun.com") return "DIRECT" in the proxy pac,
      or using IE6
      or removing JWS1.6

        Attachments

          Activity

            People

            Assignee:
            cbensen Chris Bensen (Inactive)
            Reporter:
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: