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

JCK1.5: api/java_awt/interactive/ComponentTests 003 fails in linux

    Details

    • Subcomponent:
    • Resolved In Build:
      b63
    • CPU:
      x86
    • OS:
      linux
    • Verification:
      Verified

      Description

      Filed By : J2SE-SQA [###@###.###
      JDK : 1.5.0-beta3-b59
      JCK : JCK1.5, JCK1.4a
      Platform[s] : Fails On: RHAS3.0, cinnabar, quicksilver Passes On: Solsparc
      switch/Mode : -client
      JCK test owner : http://javaweb.sfbay/jcce/tcks/jck/docs/others/owners.jto
      Failing Test [s] : api/java_awt/interactive/ComponentTests.html [ComponentTest003]

      Also fails with tiger-b18 (the oldest build available in /net/koori/onestop/jdk/1.5.0/promoted/all)

      Test source location:
      =====================
      /net/koori/onestop/jck/1.5/promoted/rc/b24/binaries/JCK-runtime-15/tests/api/java_awt/interactive/ComponentTests.java

      jtr file location:
      ==================
      file:/net/cady/export/dtf/unified/results/tiger/b59/jck/jck-jck_runtime-cinnabar_MOZ16-2-2004-07-22-17-40-36-0255/workDir/api/java_awt/interactive/ComponentTests_ComponentTests.jtr


      How to reproduce:
      ====================
      1. Run the following script to start the test. (script linux003.sh also attached in this bug)
      2. click "start test3" to bring up the file dialog.
      3. click File->save to bring up "Save File...".
      4. click "Cancel"
      5. click File->save to bring up "Save File..." again. You'll see Filter/Folders/Files all become empty.
      6. click "Filter". You'll get NPE exception as mentioned in "Test output" as below.

      --------Script START---------------------
      #!/bin/sh
      #Paths in Java Software:
      #JDK="/net/koori/onestop/jdk/1.4.2/latest/binaries/linux-i586"
      #JDK="/net/koori/onestop/jdk/1.4.2_05/promoted/all/b04/binaries/linux-i586"
      JDK="/net/koori/onestop/jdk/1.5.0/promoted/all/b59/binaries/linux-i586"

      #JCK="/net/koori/onestop/jck/1.4a/archive/fcs/binaries/JCK-runtime-14a"
      JCK="/net/koori/onestop/jck/1.5/promoted/rc/b24/binaries/JCK-runtime-15"

      CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
      TEST="javasoft.sqe.tests.api.java.awt.interactive.ComponentTests -TestCaseID ComponentTest0003"
      echo `cat $JCK/build.txt | grep JCK_VERSION` `cat $JCK/build.txt | grep JCK_BUILD`
      $JDK/bin/java -showversion -cp $CLASSPATH $TEST
      --------Script END----------------------

      Test output:
      =============
      Exception occurred during event dispatching:
      java.lang.NullPointerException
              at java.io.File.<init>(File.java:194)
              at sun.awt.X11.XFileDialogPeer.setFilterEntry(XFileDialogPeer.java:341)
              at sun.awt.X11.XFileDialogPeer.handleFilter(XFileDialogPeer.java:294)
              at sun.awt.X11.XFileDialogPeer.actionPerformed(XFileDialogPeer.java:496)
              at java.awt.Button.processActionEvent(Button.java:388)
              at java.awt.Button.processEvent(Button.java:356)
              at java.awt.Component.dispatchEventImpl(Component.java:3955)
              at java.awt.Component.dispatchEvent(Component.java:3803)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
              at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
              at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
              at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
              at java.awt.Dialog$1.run(Dialog.java:515)
              at java.awt.Dialog.show(Dialog.java:536)
              at java.awt.Component.show(Component.java:1300)
              at java.awt.Component.setVisible(Component.java:1253)
              at javasoft.sqe.tests.api.java.awt.interactive.ComponentTests$ctestLnr.actionPerformed(ComponentTests.java:865)
              at java.awt.MenuItem.processActionEvent(MenuItem.java:597)
              at java.awt.MenuItem.processEvent(MenuItem.java:556)
              at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:298)
              at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:286)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:466)
              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)


      Specific Machine Info:
      =====================
      Linux:
      Hostname: jiggle
      OS: RH AS 3.0

      Hostname: jtg-win95
      OS: cinnabar b13

      Hostname: fontana
      OS: quicksilver b10b (GA)

      ###@###.### 2004-07-28

        Attachments

          Activity

            People

            • Assignee:
              art Artem Ananiev
              Reporter:
              schien Suchen Chien (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: