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

Display certificate info cause exception on build 6

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1
    • jaws-1.0
    • jaws-1.0
    • deploy
    • 1.0-beta
    • sparc
    • solaris_8
    • Verified

    Description

      When loading signed application, JavaWS pops a window asking if user wants
      to launch the application. If user click detail button to view the info,
      an exception is thrown and the info message can not be displayed. However,
      user can still click launch to run the application.

      The following is a trace from one test case:
      java.lang.NullPointerException
              at com.sun.javaws.security.CertificatePanel.showCertificateDialog(CertificatePanel.java:63)
              at com.sun.javaws.security.CertificateDialog.showDetails(CertificateDialog.java:134)
              at com.sun.javaws.security.CertificateDialog.access$0(CertificateDialog.java:125)
              at com.sun.javaws.security.CertificateDialog$1.actionPerformed(CertificateDialog.java:96)
              at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1450)
              at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1504)
              at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378)
              at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250)
              at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:216)
              at java.awt.Component.processMouseEvent(Component.java:3715)
              at java.awt.Component.processEvent(Component.java:3544)
              at java.awt.Container.processEvent(Container.java:1165)
              at java.awt.Component.dispatchEventImpl(Component.java:2593)
              at java.awt.Container.dispatchEventImpl(Container.java:1214)
              at java.awt.Component.dispatchEvent(Component.java:2497)
              at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2452)
              at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2217)
              at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2126)
              at java.awt.Container.dispatchEventImpl(Container.java:1201)
              at java.awt.Window.dispatchEventImpl(Window.java:912)
              at java.awt.Component.dispatchEvent(Component.java:2497)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:333)
              at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:84)


      To reproduce the bug, enable the console message first to see the exceptions.


      yu.wang@eng 2000-09-21

      Attachments

        Activity

          People

            sbohne Steve Bohne (Inactive)
            nwangsunw Nathan Wang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: