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

RegTest-cte CTE_REGTEST/Generic/4628020/TestWindow.java failed

    Details

    • Subcomponent:
    • Resolved In Build:
      beta
    • CPU:
      x86, sparc
    • OS:
      linux, solaris_9, solaris_10
    • Verification:
      Verified

      Description



      Name: aaR10208 Date: 05/04/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.4.2-b21 (also reproducible witn hopper-fcs and tiger-b05)
      Testbase : RegTest-cte
      Platform[s] : Solaris 9 (x86) (CDE), Solaris 10/sparc (CDE), RH Advanced Server 2.1 (Gnome)
      switch/Mode : -server
      Falling test[s]: CTE_REGTEST/Generic/4628020/TestWindow.java

      Regression test CTE_REGTEST/Generic/4628020/TestWindow.java test fails on JDK1.4.2-b21.

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

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b21/regtest/x86/sol9_x86-server_smp_linux-6/workDir/cte/CTE_REGTEST/Generic/4628020/TestWindow.jtr

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

      --- script start ---
      #!/bin/sh
      JDK=/java/re/jdk/1.4.2/promoted/latest/binaries/solaris-i586
      TESTBASE=/net/jdk/export/jpse04/Regression/1.4.2/test/CTE_REGTEST
      JEMMYPATH=/net/jdk/export/jpse04/Jemmy/jemmy.jar
      #JDK=/net/linux-15/export/home/java/jdk1.4.2/x86
      #TESTBASE=/net/linux-15/export/home/java/regtest/cte
      #JEMMYPATH=/net/linux-15/export/home/java/jct/jemmy/jemmy.jar
      TEST=Test4628020
      cp ${TESTBASE}/CTE_REGTEST/Generic/4628020/$TEST.java .
      cp ${TESTBASE}/CTE_REGTEST/Generic/4628020/SubWindow.java .
      cp ${TESTBASE}/CTE_REGTEST/Generic/4628020/TestWindow.java .
      ${JDK}/bin/javac -classpath $JEMMYPATH *.java
      ${JDK}/bin/java -showversion -cp $JEMMYPATH:. ${TEST}
      --- script end ---

      Script output:
      ==============
      java version "1.4.2-rc"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-rc-b21)
      Java HotSpot(TM) Client VM (build 1.4.2-rc-b21, mixed mode)
      [...]
      Current Text:
      316, 74
      314, 69
      314, 69
      314, 69
      314, 69
      314, 69
      314, 69
      Trace:
      Start to wait frame "Frame with title "Sub Window"" opened
      Trace:
      Frame "Frame with title "Sub Window"" has been opened in 0 milliseconds
           SubWindow[frame1,677,261,314x69,layout=java.awt.BorderLayout,title=Sub
      Window,resizable,normal,defaultCloseOperation=DISPOSE_ON_CLOSE,rootPane=javax.swing.JRootPane[,5,24,304x40,layout=javax.swing.JRootPane$RootLayout,alignmentX=null,alignmentY=null,border=,flags=385,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
      Test Failed
      Exception in thread "main" java.lang.RuntimeException: Failed
               at Test4628020.main(Test4628020.java:40)


      Test output (jtr part):
      =======================
      ----------System.out:(69/6934)----------
      [... skipped ...]
      Frame "Frame with title "Sub Window"" has been opened in 1 milliseconds
           SubWindow[frame1,677,261,314x69,layout=java.awt.BorderLayout,title=Sub
      Window,resizable,normal,defaultCloseOperation=DISPOSE_ON_CLOSE,rootPane=javax.swing.JRootPane[,5,24,304x40,layout=javax.swing.JRootPane$RootLayout,alignmentX=null,alignmentY=null,border=,flags=385,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
      Push button

      :javax.swing.JButton[,0,0,117x28,layout=javax.swing.OverlayLayout,alignmentX=0.0,alignmentY=0.5,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@39c8c1,flags=424,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=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=open


      a window,defaultCapable=true]
      Current Text:
      316, 74
      314, 69
      314, 69
      314, 69
      314, 69
      314, 69
      314, 69
      Trace:
      Start to wait frame "Frame with title "Sub Window"" opened
      Trace:
      Frame "Frame with title "Sub Window"" has been opened in 1 milliseconds
           SubWindow[frame1,677,261,314x69,layout=java.awt.BorderLayout,title=Sub
      Window,resizable,normal,defaultCloseOperation=DISPOSE_ON_CLOSE,rootPane=javax.swing.JRootPane[,5,24,304x40,layout=javax.swing.JRootPane$RootLayout,alignmentX=null,alignmentY=null,border=,flags=385,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
      Test Failed
      ----------System.err:(13/672)----------
      java.lang.RuntimeException: Failed
      at Test4628020.main(Test4628020.java:40)
      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: linux-6
      OS: Solaris 9 (x86) (CDE)

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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                asaha Abhijit Saha
                Reporter:
                sundrsunw Sundr Sundr (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: