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

REGRESSION: Regression-cte CTE_REGTEST/Generic/4242645/Bug4242645.java fails

XMLWordPrintable

    • x86
    • linux, windows_xp



      Name: iaR10016 Date: 06/22/2004


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b56
                        (passes with JDK1.5.0-b55, JDK1.4.2-b28)
      Testbase : Regression-cte
      Platform[s] : Cinnabar (Gnome), RedHat Linux 9 (Gnome), Windows 2003, Windows XP Home
      switch/Mode : -client, -server
      Falling test[s]: CTE_REGTEST/Generic/4242645/Bug4242645.java

      Regression-cte CTE_REGTEST/Generic/4242645/Bug4242645.java test fails using JDK1.5.0-b56
      with java.lang.RuntimeException.

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

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b56/regtest/linux/Cinnabar_Gnome__linux-12/workDir/cte/CTE_REGTEST/Generic/4242645/Bug4242645.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/b56/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/b56/binaries/linux-i586"
      #TEST_BASE_PATH="/net/jdk/export/jpse04/Regression/1.5.0/test"

      TESTVMOPTS="-client"
      CLASSPATH="$JT_HOME/classes:$JT_HOME/lib/javatest.jar:$JT_HOME/lib/jtreg.jar"
      TEST="CTE_REGTEST/Generic/4242645/Bug4242645.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:(22/4522)----------
      Trace:
      Start to wait frame "Any javax.swing.JFrame" opened
      Trace:
      Frame "Any javax.swing.JFrame" has been opened in 4 milliseconds

      Bug4242645[frame0,0,26,300x300,layout=java.awt.BorderLayout,title=,resizable,normal,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,5,21,289x273,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 Any javax.swing.JTextPane loaded"
      Trace:
      "Wait Any javax.swing.JTextPane loaded" action has been produced in 9 milliseconds with result
           :
      javax.swing.JTextPane[,0,0,289x273,layout=javax.swing.plaf.basic.BasicTextUI$UpdateHandler,alignmentX=0.0,alignmentY=0.0,border=javax.swing.plaf.basic.BasicBorders$MarginBorder@1c99159,flags=296,maximumSize=,minimumSize=,preferredSize=,caretColor=javax.swing.plaf.ColorUIResource[r=51,g=51,b=51],disabledTextColor=javax.swing.plaf.ColorUIResource[r=184,g=207,b=229],editable=true,margin=javax.swing.plaf.InsetsUIResource[top=3,left=3,bottom=3,right=3],selectedTextColor=javax.swing.plaf.ColorUIResource[r=51,g=51,b=51],selectionColor=javax.swing.plaf.ColorUIResource[r=184,g=207,b=229],kit=javax.swing.text.StyledEditorKit@11f2ee1,typeHandlers=]
      Typing text "I" from 0 position in text component
           :
      javax.swing.JTextPane[,0,0,289x273,layout=javax.swing.plaf.basic.BasicTextUI$UpdateHandler,alignmentX=0.0,alignmentY=0.0,border=javax.swing.plaf.basic.BasicBorders$MarginBorder@1c99159,flags=296,maximumSize=,minimumSize=,preferredSize=,caretColor=javax.swing.plaf.ColorUIResource[r=51,g=51,b=51],disabledTextColor=javax.swing.plaf.ColorUIResource[r=184,g=207,b=229],editable=true,margin=javax.swing.plaf.InsetsUIResource[top=3,left=3,bottom=3,right=3],selectedTextColor=javax.swing.plaf.ColorUIResource[r=51,g=51,b=51],selectionColor=javax.swing.plaf.ColorUIResource[r=184,g=207,b=229],kit=javax.swing.text.StyledEditorKit@11f2ee1,typeHandlers=]
      Wait "I" text starting from -1 position in component
           :
      javax.swing.JTextPane[,0,0,289x273,layout=javax.swing.plaf.basic.BasicTextUI$UpdateHandler,alignmentX=0.0,alignmentY=0.0,border=javax.swing.plaf.basic.BasicBorders$MarginBorder@1c99159,flags=296,maximumSize=,minimumSize=,preferredSize=,caretColor=javax.swing.plaf.ColorUIResource[r=51,g=51,b=51],disabledTextColor=javax.swing.plaf.ColorUIResource[r=184,g=207,b=229],editable=true,margin=javax.swing.plaf.InsetsUIResource[top=3,left=3,bottom=3,right=3],selectedTextColor=javax.swing.plaf.ColorUIResource[r=51,g=51,b=51],selectionColor=javax.swing.plaf.ColorUIResource[r=184,g=207,b=229],kit=javax.swing.text.StyledEditorKit@11f2ee1,typeHandlers=]
      Caret Position: 6,15
      Typing text " am typing some junk text to see if the line spacing problem exists. I have to keep on typing until I hit the second line and then can observe the line spacing" from 1 position in text
      component
           :
      javax.swing.JTextPane[,0,0,289x273,layout=javax.swing.plaf.basic.BasicTextUI$UpdateHandler,alignmentX=0.0,alignmentY=0.0,border=javax.swing.plaf.basic.BasicBorders$MarginBorder@1c99159,flags=296,maximumSize=,minimumSize=,preferredSize=,caretColor=javax.swing.plaf.ColorUIResource[r=51,g=51,b=51],disabledTextColor=javax.swing.plaf.ColorUIResource[r=184,g=207,b=229],editable=true,margin=javax.swing.plaf.InsetsUIResource[top=3,left=3,bottom=3,right=3],selectedTextColor=javax.swing.plaf.ColorUIResource[r=51,g=51,b=51],selectionColor=javax.swing.plaf.ColorUIResource[r=184,g=207,b=229],kit=javax.swing.text.StyledEditorKit@11f2ee1,typeHandlers=]
      Wait " am typing some junk text to see if the line spacing problem exists. I have to keep on typing until I hit the second line and then can observe the line spacing" text starting from -1 position in
      component
           :
      javax.swing.JTextPane[,0,0,289x273,layout=javax.swing.plaf.basic.BasicTextUI$UpdateHandler,alignmentX=0.0,alignmentY=0.0,border=javax.swing.plaf.basic.BasicBorders$MarginBorder@1c99159,flags=296,maximumSize=,minimumSize=,preferredSize=,caretColor=javax.swing.plaf.ColorUIResource[r=51,g=51,b=51],disabledTextColor=javax.swing.plaf.ColorUIResource[r=184,g=207,b=229],editable=true,margin=javax.swing.plaf.InsetsUIResource[top=3,left=3,bottom=3,right=3],selectedTextColor=javax.swing.plaf.ColorUIResource[r=51,g=51,b=51],selectionColor=javax.swing.plaf.ColorUIResource[r=184,g=207,b=229],kit=javax.swing.text.StyledEditorKit@11f2ee1,typeHandlers=]
      Caret Position: 905,15
      Difference between caret position is (899, 0)
      Test Failed
      ----------System.err:(13/672)----------
      java.lang.RuntimeException: Failed
      at Test4242645.main(Test4242645.java:51)
      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)

      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-12
      OS: Cinnabar (Gnome)
      Hostname: linux-19
      OS: Windows 2003
      Hostname: linux-21
      OS: Windows XP Home

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

            idk Igor Kushnirskiy (Inactive)
            irasunw Ira Ira (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: