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

Regression-cte CTE_REGTEST/Generic/4747962/DialogTest.java fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • None
    • 5.0
    • client-libs
    • x86
    • linux

      Name: aaR10208 Date: 06/12/2004


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b54, b55 (also fails with jdk1.4.2-fcs)
      Testbase : Regression-cte
      Platform[s] : Turbo Linux 8.0 (GNOME)
      switch/Mode : generic
      Falling test[s]: CTE_REGTEST/Generic/4747962/DialogTest.java

      Regression-cte CTE_REGTEST/Generic/4747962/DialogTest.java test fails with JDK1.5.0-b54.

      Test source location:
      =====================
      /net/jdk/export/jpse04/Regression/1.5.0/test/CTE_REGTEST/Generic/4747962/DialogTest.java

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b54/regtest/linux/Turbo_Linux_8_0_GNOME__linux-4/workDir/cte/CTE_REGTEST/Generic/4747962/DialogTest.jtr

      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

      #Paths in Java Software:
      JT_HOME="/java/re/jct-tools/3.1.2/archive/fcs/binaries"
      JEMMY_JAR="/net/jdk.sfbay/export/jpse04/Jemmy/jemmy.jar"
      JAVA_HOME="/java/re/jdk/1.5.0/promoted/all/b54/binaries/linux-i586"
      TEST_BASE_PATH="/net/jdk/export/jpse04/Regression/1.5.0/test"

      #Alternative paths outside Java Software
      #JT_HOME="/net/koori.sfbay/onestop/jct-tools/3.1.2/archive/fcs/binaries"
      #JEMMY_JAR="/net/jdk.sfbay/export/jpse04/Jemmy/jemmy.jar"
      #JAVA_HOME="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b54/binaries/linux-i586"
      #TEST_BASE_PATH="/net/jdk/export/jpse04/Regression/1.5.0/test"

      #Alternative paths for the NSK site:
      #JT_HOME="/net/linux-15/export/home/java/jct"
      #JEMMY_JAR="$JT_HOME/jemmy/jemmy.jar"
      #JAVA_HOME="/net/linux-15/export/home/java/jdk1.5.0/linux"
      #TEST_BASE_PATH="/net/linux-15/export/home/java/regtest.tiger/cte"


      TESTVMOPTS="-client"
      CLASSPATH="$JT_HOME/classes:$JT_HOME/lib/javatest.jar:$JT_HOME/lib/jtreg.jar"

      TEST="CTE_REGTEST/Generic/4747962/DialogTest.java"

      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 -showversion -server -cp $CLASSPATH -DenvVars=TESTJAVAHOME=$JAVA_HOME,TESTVMOPTS=$TESTVMOPTS,DISPLAY=$DISPLAY,HOME=$HOME/.regtest,PATH=/bin:/usr/bin,CPAPPEND=$JEMMY_JAR,TZ=,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US,LPDEST= -DDISPLAY=$DISPLAY -DlocalHost=`uname -n` -Dprogram=jtreg com.sun.javatest.regtest.Main -v default -batch -params -w "$WORK_DIR" -r "$REPORT_DIR" -t "$TEST_BASE_PATH" "$TEST_BASE_PATH/$TEST"
      --- script end ---

      Test output (jtr part):
      =======================
      ----------System.out:(25/3364)----------
      Trace:
      Start to wait frame "Frame with title "JTextField Test"" opened
      Trace:
      Frame "Frame with title "JTextField Test"" has been opened in 4 milliseconds
           javax.swing.JFrame[frame0,300,300,200x200,layout=java.awt.BorderLayout,title=JTextField
      Test,resizable,normal,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,6,26,188x168,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
      Trace:
      Start to wait action "Wait AbstractButton with text "Display Dialog" loaded"
      Trace:
      "Wait AbstractButton with text "Display Dialog" loaded" action has been produced in 4 milliseconds with result
           :
      javax.swing.JButton[,31,5,126x25,alignmentX=0.0,alignmentY=0.5,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@af72d8,flags=296,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2,left=14,bottom=2,right=14],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=true,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Display

      Dialog,defaultCapable=true]
      Push button

      :javax.swing.JButton[,31,5,126x25,alignmentX=0.0,alignmentY=0.5,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@af72d8,flags=296,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2,left=14,bottom=2,right=14],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=true,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Display

      Dialog,defaultCapable=true]
      Trace:
      Start to wait dialog "Dialog with title "The First Dialog"" opened
      Trace:
      Dialog "Dialog with title "The First Dialog"" has been opened in 1 milliseconds
           javax.swing.JDialog[dialog0,320,320,200x200,layout=java.awt.BorderLayout,modal,title=The First
      Dialog,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,5,25,190x170,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
      Trace:
      Start to wait action "Wait AbstractButton with text "Display Dialog" loaded"
      Trace:
      "Wait AbstractButton with text "Display Dialog" loaded" action has been produced in 1 milliseconds with result
           :
      javax.swing.JButton[,32,5,126x25,alignmentX=0.0,alignmentY=0.5,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@af72d8,flags=296,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2,left=14,bottom=2,right=14],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=true,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Display

      Dialog,defaultCapable=true]
      Push button

      :javax.swing.JButton[,32,5,126x25,alignmentX=0.0,alignmentY=0.5,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@af72d8,flags=296,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2,left=14,bottom=2,right=14],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=true,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Display

      Dialog,defaultCapable=true]
      Test Failed
      ----------System.err:(13/672)----------
      java.lang.RuntimeException: Failed
      at Test4747962.main(Test4747962.java:89)
      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:582)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:82)
      at java.lang.Thread.run(Thread.java:595)



      Specific machine info:
      ======================
      Hostname: linux-4
      OS: Turbo Linux 8.0 (GNOME)


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

            dav Andrei Dmitriev (Inactive)
            sundrsunw Sundr Sundr (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: