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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Duplicate
    • Affects Version/s: 1.4.0
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: