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

Headless Testsuite fails throwing NPE at installUI() for Swing Components

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 1.4.0
    • client-libs

      In Solaris Headless Testsuite fails throwing NPE when different methods related to installUI() is called.

      BEGIN: javax.swing.JToolTip: do_getAccessibleContext_0
        !! FAIL: javax.swing.JToolTip: do_getAccessibleContext_0 status=fail with exception=java.lang.NullPointerException
      java.lang.NullPointerException
              at javax.swing.plaf.metal.MetalToolTipUI.installUI(MetalToolTipUI.java:59)
              at javax.swing.JComponent.setUI(JComponent.java:405)
              at javax.swing.JToolTip.updateUI(JToolTip.java:85)
              at javax.swing.JToolTip.<init>(JToolTip.java:67)
              at javax_swing_JToolTip.do_getAccessibleContext_0(javax_swing_JToolTip.java:18)
              at javax_swing_JToolTip.run(javax_swing_JToolTip.java:3694)
              at java.lang.Thread.run(Thread.java:579)


      Testsuite available at
      /net/sqesvr/export/awt/awt_ws/Headless

      Attached is the failiure scenarios which throws NPE and the complete Test Report
      I could reproduce the failiure in both SolSparc 8 and SolSparc 9

            svioletsunw Scott Violet (Inactive)
            rpullanisunw Rakesh Pullanikkad (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: