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

Regression-test javax/swing/plaf/synth/SynthPainter/unitTest/UnitTest.java fails

    Details

    • Subcomponent:
    • CPU:
      x86, sparc
    • OS:
      linux, solaris_10, windows_xp

      Description

      Regression-test javax/swing/plaf/synth/SynthPainter/unitTest/UnitTest.java throws following Exception.
      ******************************
      UIDefaults.getUI() failed: createUI() failed for javax.swing.JFileChooser[,0,0,0x0,invalid,alignmentX=0.0,alignmentY=0.0,border=,flags=0,maximumSize=,minimumSize=,preferredSize=,approveButtonText=,currentDirectory=,dialogTitle=,dialogType=OPEN_DIALOG,fileSelectionMode=FILES_ONLY,returnValue=ERROR_OPTION,selectedFile=,useFileHiding=true] java.lang.reflect.InvocationTargetException
      java.lang.Error
              at javax.swing.UIDefaults.getUIError(UIDefaults.java:689)
              at javax.swing.MultiUIDefaults.getUIError(MultiUIDefaults.java:117)
              at javax.swing.UIDefaults.getUI(UIDefaults.java:735)
              at javax.swing.UIManager.getUI(UIManager.java:829)
              at javax.swing.JFileChooser.updateUI(JFileChooser.java:1704)
              at javax.swing.JFileChooser.setup(JFileChooser.java:347)
              at javax.swing.JFileChooser.<init>(JFileChooser.java:322)
              at javax.swing.JFileChooser.<init>(JFileChooser.java:275)
              at UnitTest.<init>(UnitTest.java:109)
              at UnitTest$1.run(UnitTest.java:20)
              at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:191)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
              at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:214)
              at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
      Exception in thread "main" java.lang.reflect.InvocationTargetException
              at java.awt.EventQueue.invokeAndWait(EventQueue.java:841)
              at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1279)
              at UnitTest.main(UnitTest.java:18)
      Caused by: java.lang.NullPointerException
              at javax.swing.JFileChooser.updateUI(JFileChooser.java:1711)
              at javax.swing.JFileChooser.setup(JFileChooser.java:347)
              at javax.swing.JFileChooser.<init>(JFileChooser.java:322)
              at javax.swing.JFileChooser.<init>(JFileChooser.java:275)
              at UnitTest.<init>(UnitTest.java:109)
              at UnitTest$1.run(UnitTest.java:20)
              at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:191)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
              at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:214)
              at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

      ******************************

      PIT build location:

      /net/sqindia.india.sun.com/export/disk02/awt/PITBUILDS/TIGER-PIT-OCT-09

      also at

      /net/jano.sfbay.sun.com/export/disk26/awt/TIGER-PIT-OCT-09/builds

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                svioletsunw Scott Violet (Inactive)
                Reporter:
                duke J. Duke (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: