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

REGRESSION: .../MetalFileChooserUI/DirectoryComboBoxAction/index.html#Public fai

    Details

      Description



      Name: vsR10238 Date: 02/11/2004


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b37 (Passes using JCK1.5-b10 + JDK1.4.2-b28, JCK1.5-b12a + JDK1.5.0-b32c)
      JCK : JCK1.5-runtime (tested with b10, b11, b12a)
      Platform[s] : Solaris 10 (x86)
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Falling test[s]:
               api/javax_swing/plaf/metal/MetalFileChooserUI/DirectoryComboBoxAction/index.html#Public [DirectoryComboBoxAction2002]

      JCK1.5.b12a-runtime test api/javax_swing/plaf/metal/MetalFileChooserUI/DirectoryComboBoxAction/index.html#Public fails
      using JDK1.5.0-b37 and JCK1.5.b10,b11,b12a.

      The test always fails on our Solaris 10 LX50 computer and fails intermittently on another Solaris 10 x86 computer.
      The output of the latter case is provided below in the "Script Output" section of the report.

      The test passed 5 times of 5 using JDK1.5.0-b32c.

      The test from JCK1.5-b11 and higher cannot be run on JDK1.4.2-b28 because of UnsupportedClassVersionError, but
      the test from JCK1.5-b10 passed 5 times of 5 using JDK1.4.2-b28.


      Test source location:
      =====================
      /java/re/jck/1.5/promoted/beta/b12a/binaries/JCK-runtime-15/tests/api/javax_swing/plaf/metal/MetalFileChooserUI/DirectoryComboBoxAction/PublicTests.java

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b37/jck15/x86/sol10_x86_gnome_client_int_batch_debug_linux-3/workDir/api/javax_swing/plaf/metal/MetalFileChooserUI/DirectoryComboBoxAction/index_Public.jtr

      How to reproduce:
      =================
      Run the following script (you may need to change its variables)

      --- script start ---
      #!/bin/sh

      #Paths in Java Software:
      JDK="/java/re/jdk/1.5.0/promoted/all/b37/binaries/solaris-i586"
      JCK="/java/re/jck/1.5/promoted/beta/b12a/binaries/JCK-runtime-15"

      #Alternative paths outside Java Software
      #JDK="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b37/binaries/solaris-i586"
      #JCK="/net/koori.sfbay/onestop/jck/1.5/promoted/beta/b12a/binaries/JCK-runtime-15"

      #Alternative paths for the NSK site:
      #JCK="/net/linux-15/export/home/java/jck1.5/JCK-runtime-15"
      #JDK="/net/linux-15/export/home/java/jdk1.5.0/x86"

      SWITCHES="-client"
      CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"

      TEST="javasoft.sqe.tests.api.javax.swing.plaf.metal.MetalFileChooserUI.DirectoryComboBoxAction.PublicTests"
      TESTCASES="-TestCaseID DirectoryComboBoxAction2002"

      echo `cat $JCK/build.txt | grep JCK_VERSION` `cat $JCK/build.txt | grep JCK_BUILD`
      $JDK/bin/java -showversion $SWITCHES -cp $CLASSPATH $TEST $TESTCASES -TestURL file://$JCK/tests/api/javax_swing/plaf/metal/MetalFileChooserUI/DirectoryComboBoxAction/index.html#Public -TestWorkDirURL file:.

      --- script end ---

      Script output (output of the same script run 3 times on Solaris 10 x86 computer):
      ===============================================================================
      bash-2.05b$ ./test_jck.sh
      JCK_VERSION=1.5 JCK_BUILD_ID=b12a
      java version "1.5.0-beta2"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta2-b37)
      Java HotSpot(TM) Client VM (build 1.5.0-beta2-b37, mixed mode)

      java.lang.NullPointerException
               at javax.swing.plaf.metal.MetalFileChooserUI.setDirectorySelected(MetalFileChooserUI.java:794)
               at javax.swing.plaf.basic.BasicFileChooserUI$Handler.valueChanged(BasicFileChooserUI.java:502)
               at javax.swing.JList.fireSelectionValueChanged(JList.java:1317)
               at javax.swing.JList$ListSelectionHandler.valueChanged(JList.java:1331)
               at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:187)
               at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:167)
               at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:214)
               at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:408)
               at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:417)
               at javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelectionModel.java:441)
               at javax.swing.JList.setSelectedIndex(JList.java:1732)
               at sun.swing.FilePane.clearSelection(FilePane.java:1243)
               at sun.swing.FilePane.setFileSelected(FilePane.java:1115)
               at sun.swing.FilePane$DelayedSelectionUpdater.run(FilePane.java:842)
               at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:201)
               at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
               at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
               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)
      DirectoryComboBoxAction2001: Passed. OKAY
      DirectoryComboBoxAction2002: Passed. OKAY
      ====== DirectoryComboBoxAction2001 ====== protected MetalFileChooserUI.DirectoryComboBoxAction()
      ====== DirectoryComboBoxAction2002 ====== public void actionPerformed(ActionEvent ev)
      STATUS:Passed.test cases: 2; all passed
      bash-2.05b$ ./test_jck.sh
      JCK_VERSION=1.5 JCK_BUILD_ID=b12a
      java version "1.5.0-beta2"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta2-b37)
      Java HotSpot(TM) Client VM (build 1.5.0-beta2-b37, mixed mode)

      DirectoryComboBoxAction2001: Passed. OKAY
      DirectoryComboBoxAction2002: Failed. Method actionPerformed works wrong.
      ====== DirectoryComboBoxAction2001 ====== protected MetalFileChooserUI.DirectoryComboBoxAction()
      ====== DirectoryComboBoxAction2002 ====== public void actionPerformed(ActionEvent ev)
      STATUS:Failed.test cases: 2; passed: 1; failed: 1; first test case failure: DirectoryComboBoxAction2002
      bash-2.05b$ ./test_jck.sh
      JCK_VERSION=1.5 JCK_BUILD_ID=b12a
      java version "1.5.0-beta2"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta2-b37)
      Java HotSpot(TM) Client VM (build 1.5.0-beta2-b37, mixed mode)

      DirectoryComboBoxAction2001: Passed. OKAY
      DirectoryComboBoxAction2002: Passed. OKAY
      ====== DirectoryComboBoxAction2001 ====== protected MetalFileChooserUI.DirectoryComboBoxAction()
      ====== DirectoryComboBoxAction2002 ====== public void actionPerformed(ActionEvent ev)
      STATUS:Passed.test cases: 2; all passed



      Test output (jtr part):
      =======================
      ----------log:(23/1799)----------
      java.lang.NullPointerException
      at javax.swing.plaf.metal.MetalFileChooserUI.setDirectorySelected(MetalFileChooserUI.java:797)
      at javax.swing.plaf.basic.BasicFileChooserUI$Handler.valueChanged(BasicFileChooserUI.java:508)
      at javax.swing.JList.fireSelectionValueChanged(JList.java:1317)
      at javax.swing.JList$ListSelectionHandler.valueChanged(JList.java:1331)
      at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:187)
      at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:167)
      at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:214)
      at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:408)
      at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:417)
      at javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelectionModel.java:441)
      at sun.swing.FilePane.setFileSelected(FilePane.java:1112)
      at sun.swing.FilePane$DelayedSelectionUpdater.run(FilePane.java:842)
      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:201)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
      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)
      DirectoryComboBoxAction2001: Passed. OKAY
      DirectoryComboBoxAction2002: Failed. Method actionPerformed works wrong.
      STATUS:Failed.test cases: 2; passed: 1; failed: 1; first test case failure: DirectoryComboBoxAction2002
      result: Failed. test cases: 2; passed: 1; failed: 1; first test case failure: DirectoryComboBoxAction2002


      test result: Failed. test cases: 2; passed: 1; failed: 1; first test case failure: DirectoryComboBoxAction2002



      Specific machine info:
      ======================
      Hostname: linux-3
      OS: Solaris 10 (x86) (CDE)



      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kereminsunw Konstantin Eremin (Inactive)
                Reporter:
                vshsunw Vsh Vsh (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: