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

Exception when trying to do https connection to the server

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.0
    • 1.4.0
    • deploy
    • beta2
    • x86
    • windows_nt
    • Verified

      This bug is a regression of https connection. Visit this website using a https server and mount to xl116366. For example visit this website: https://lonlely:7070/~xl116366/90571/Test.html (See detail in bugzilla bug 90571). Basically this works in ladybird not in merlin. And when the java code tries to connect to the origin server, it blocks with an exception like this:
      ----------------------------------------------------------------------------
      Java(TM) Plug-in: Version 1.4.0
      Using JRE version 1.4.0-beta Java HotSpot(TM) Client VM
      User home directory = C:\WINNT\Profiles\Administrator
      Proxy Configuration: Browser Proxy Configuration


      ----------------------------------------------------
      c: clear console window
      f: finalize objects on finalization queue
      g: garbage collect
      h: display this help message
      l: dump classloader list
      m: print memory usage
      o: trigger logging
      p: reload proxy configuration
      q: hide console
      r: reload policy configuration
      s: dump system properties
      t: dump thread list
      x: clear classloader cache
      0-5: set trace level to <n>
      ----------------------------------------------------
      java.lang.NoClassDefFoundError: sun/net/www/protocol/https/Handler
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Unknown Source)
      at java.net.URL.getURLStreamHandler(Unknown Source)
      at java.net.URL.<init>(Unknown Source)
      at java.net.URL.<init>(Unknown Source)
      at java.net.URL.<init>(Unknown Source)
      at sun.plugin.AppletViewer.setDocumentBase(AppletViewer.java:678)
      at sun.plugin.viewer.WNetscapePluginObject.setDocumentURL(WNetscapePluginObject.java:457)
      java.lang.NullPointerException
      at sun.plugin.AppletViewer.getCodeBase(AppletViewer.java:827)
      at sun.plugin.AppletViewer.appletInit(AppletViewer.java:461)
      at sun.plugin.viewer.LifeCycleManager.initAppletPanel(LifeCycleManager.java:150)
      at sun.plugin.viewer.WNetscapePluginObject$Initer.run(WNetscapePluginObject.java:275)
      java.lang.NullPointerException
      at sun.plugin.AppletViewer.getCodeBase(AppletViewer.java:827)
      at sun.applet.AppletPanel.sendEvent(Unknown Source)
      at sun.plugin.AppletViewer.onPrivateClose(AppletViewer.java:614)
      at sun.plugin.AppletViewer$1.run(AppletViewer.java:593)
      at java.lang.Thread.run(Unknown Source)

            dgu Dennis Gu (Inactive)
            xlu Xiaobin Lu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: