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

RegTest-cte CTE_REGTEST/Generic/4806443/FileChooserDemoMotif.java failed

XMLWordPrintable

    • beta
    • x86, sparc
    • solaris_9, solaris_10, windows_xp
    • Verified



      Name: vsR10238 Date: 06/18/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.4.2 (b26,b27), JDK1.4.1 (b21)
      Testbase : Regression-cte
      Platform[s] : Solaris 10 (x86) (GNOME, CDE)
      Falling test[s]:
              CTE_REGTEST/Generic/4806443/FileChooserDemoMotif.java

      RegTest-cte CTE_REGTEST/Generic/4806443/FileChooserDemoMotif.java test fails on
      Solaris 10 x86 (GNOME, CDE)
      with JDK1.4.2 (tested with b26, b27), JDK1.4.1 (tested with b21).

      Machine info:

      jtg-i105% uname -a
      SunOS jtg-i105 5.10 s10_33 i86pc i386 i86pc

      Test source location:
      =====================
      /net/jdk/export/jpse04/Regression/1.4.2/test/CTE_REGTEST/Generic/4806443/FileChooserDemoMotif.java

      How to reproduce:
      =================
      Run the following script (you may need to change its variables)
       
      --- script start ---
      #!/bin/sh
                                                                                                                                 
      RESULT_DIR=`pwd`
      WORK_DIR=$RESULT_DIR/workDir/test
      REPORT_DIR=$RESULT_DIR/reportDir
      JT_HOME="/java/re/jct-tools/3.1.2/archive/fcs/binaries"
      JAVA_HOME="/java/re/jdk/1.4.2/promoted/fcs/b27/binaries/solaris-i586"
      #JAVA_HOME="/java/re/jdk/1.4.1/archive/fcs/binaries/solaris-i586"
      TEST_BASE_PATH="/net/jtgb4u4c/export/sail16/Regression/1.4.2/cte"
      JEMMY_JAR="/net/jdk/export/jpse04/Jemmy/jemmy.jar"
                                                                                                                                 
      HOST=`uname -n`
                                                                                                                                 
      TESTWITH=$JAVA_HOME
      TESTJAVA=$JAVA_HOME
                                                                                                                                 
      JTOPTS="-client"
      TESTVMOPTS="-client"
                                                                                                                                 
      CLASSPATH="$JT_HOME/classes:$JT_HOME/lib/javatest.jar:$JT_HOME/lib/jtreg.jar:$JEMMY_JAR"
                                                                                                                                 
      export JAVA_HOME
      export JT_HOME
      export TESTWITH
      export CLASSPATH
                                                                                                                                 
      mkdir -p $WORK_DIR/scratch 2>&1
      mkdir -p $WORK_DIR/jtData 2>&1
      mkdir -p $REPORT_DIR 2>&1
                                                                                                                                 
      #rm $WORK_DIR/jtData/ResultCache.jtw 2>&1
                                                                                                                                 
      cd $WORK_DIR/scratch
                                                                                                                                 
      $JAVA_HOME/bin/java -version
                                                                                                                                 
      $JAVA_HOME/bin/java -cp $CLASSPATH $JTOPTS \
      -DenvVars=TESTJAVAHOME=$JAVA_HOME,TESTVMOPTS=$TESTVMOPTS,\
      DISPLAY=:0.0,HOME=$HOME/.regtest,PATH=/bin:/usr/bin,CPAPPEND=$JEMMY_JAR,\
      TZ=,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US,LPDEST= \
      -DDISPLAY=:0.0 -DlocalHost="$HOST" -Dprogram=jtreg com.sun.javatest.regtest.Main \
      -a -v default -batch -params -w "$WORK_DIR" -r "$REPORT_DIR" -t "$TEST_BASE_PATH" \
      "$TEST_BASE_PATH/CTE_REGTEST/Generic/4806443/FileChooserDemoMotif.java"

      --- script end ---

      Test output (jtr part):
      =======================
      ----------System.out:(34/4373)----------
       AKM System LookAndFeel = com.sun.java.swing.plaf.motif.MotifLookAndFeel
      Trace:
      Start to wait frame "Frame with title "FileChooserDemoMotif"" opened
      Trace:
      Frame "Frame with title "FileChooserDemoMotif"" has been opened in 10 milliseconds
          FileChooserDemoMotif[frame0,0,0,215x185,layout=java.awt.BorderLayout,title=FileChooserDemoMotif,resizable,normal,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,5,23,205x157,layout=javax.swing.JRootPane$RootLayout,alignmentX=null,alignmentY=null,border=,flags=1409,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
      Trace:
      Start to wait action "Wait AbstractButton with text "Open a File..." loaded"
      Trace:
      "Wait AbstractButton with text "Open a File..." loaded" action has been produced in 18 milliseconds with result
          : javax.swing.JButton[,5,5,96x38,layout=javax.swing.OverlayLayout,alignmentX=0.0,alignmentY=0.5,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@b1cc87,flags=288,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2,left=4,bottom=2,right=4],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Open a
      File...,defaultCapable=true]
      Trace:
      Start to wait action "Wait Any javax.swing.JTextArea loaded"
      Trace:
      "Wait Any javax.swing.JTextArea loaded" action has been produced in 4 milliseconds with result
          :
      javax.swing.JTextArea[,0,0,203x107,layout=javax.swing.plaf.basic.BasicTextUI$UpdateHandler,alignmentX=null,alignmentY=null,border=javax.swing.plaf.basic.BasicBorders$MarginBorder@1d381d2,flags=296,maximumSize=,minimumSize=,preferredSize=,caretColor=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0],disabledTextColor=javax.swing.plaf.ColorUIResource[r=128,g=128,b=128],editable=false,margin=java.awt.Insets[top=5,left=5,bottom=5,right=5],selectedTextColor=javax.swing.plaf.ColorUIResource[r=255,g=247,b=233],selectionColor=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0],colums=20,columWidth=7,rows=5,rowHeight=18,word=false,wrap=false]
      Push button
          :javax.swing.JButton[,5,5,96x38,layout=javax.swing.OverlayLayout,alignmentX=0.0,alignmentY=0.5,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@b1cc87,flags=288,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2,left=4,bottom=2,right=4],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Open a
      File...,defaultCapable=true]
      Trace:
      Start to wait dialog "JFileChooser's window" opened
      Trace:
      Component Any javax.swing.JFileChooser
          was found in container javax.swing.JDialog[dialog0,332,144,360x478,layout=java.awt.BorderLayout,modal,title=Open,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,5,23,350x450,layout=javax.swing.JRootPane$RootLayout,alignmentX=null,alignmentY=null,border=,flags=1409,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
          javax.swing.JFileChooser[,0,0,350x450,layout=java.awt.BorderLayout,alignmentX=0.5,alignmentY=null,border=,flags=320,maximumSize=,minimumSize=,preferredSize=,approveButtonText=,currentDirectory=/home/vs144077,dialogTitle=,dialogType=OPEN_DIALOG,fileSelectionMode=FILES_ONLY,returnValue=ERROR_OPTION,selectedFile=,useFileHiding=true]
      Trace:
      Dialog "JFileChooser's window" has been opened in 6 milliseconds
          javax.swing.JDialog[dialog0,332,144,360x478,layout=java.awt.BorderLayout,modal,title=Open,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,5,23,350x450,layout=javax.swing.JRootPane$RootLayout,alignmentX=null,alignmentY=null,border=,flags=1409,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
      Trace:
      Start to wait action "Wait Any javax.swing.JFileChooser loaded"
      Trace:
      "Wait Any javax.swing.JFileChooser loaded" action has been produced in 2 milliseconds with result
          : javax.swing.JFileChooser[,0,0,350x450,layout=java.awt.BorderLayout,alignmentX=0.5,alignmentY=null,border=,flags=320,maximumSize=,minimumSize=,preferredSize=,approveButtonText=,currentDirectory=/home/vs144077,dialogTitle=,dialogType=OPEN_DIALOG,fileSelectionMode=FILES_ONLY,returnValue=ERROR_OPTION,selectedFile=,useFileHiding=true]
      **
      Test Failed
      ----------System.err:(13/672)----------
      java.lang.RuntimeException: Failed
      at Test4806443.main(Test4806443.java:63)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:82)
      at java.lang.Thread.run(Thread.java:534)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Failed
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Failed
      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Failed


      test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Failed


      Specific machine info:
      ======================
      Hostname: jtg-i105
      OS: Solaris 10 (x86) (GNOME)



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

            asaha Abhijit Saha
            vshsunw Vsh Vsh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: