Name: mmR10223 Date: 08/19/2003
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.5.0-b15, JDK1.5.0-b13, JDK1.5.0-b14
Testbase : Regression-cte
Platform[s] : Solaris (sparc, x86)
switch/Mode : -client
Falling test[s]: CTE_REGTEST/Generic/4498286/FontSelection.java
This test passes using JDK1.5.0-b12, JDK1.4.2-b28 on Solaris and it passes
on Linux and Windows platforms using all JDK1.5.0, JDK1.4.2.
Test source location:
=====================
/net/jdk/export/jpse04/Regression/1.5.0/test/CTE_REGTEST/Generic/4498286/FontSelection.java
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b15/regtest/sparc/sol10_sparc_gnome_linux-8/workDir/cte/CTE_REGTEST/Generic/4498286/FontSelection.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
JT_HOME="/net/linux-15/export/home/java/jct"
JAVA_HOME="/net/linux-15/export/home/java/jdk1.5.0/sparc"
TEST_BASE_PATH="/net/linux-15/export/home/java/regtest.tiger/cte"
TESTWITH=$JAVA_HOME
TESTJAVA=$JAVA_HOME
JTOPTS="-client"
TESTVMOPTS="-client"
CLASSPATH="$JT_HOME/classes:$JT_HOME/lib/javatest.jar:$JT_HOME/lib/jtreg.jar:$JT_HOME/jemmy/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 -cp $CLASSPATH $JTOPTS -DenvVars=TESTJAVAHOME=$JAVA_HOME,TESTVMOPTS=$TESTVMOPTS,DISPLAY=:0,HOME=$HOME/.regtest,PATH=/bin:/usr/bin,CPAPPEND=$JT_HOME/jemmy/jemmy.jar,TZ=,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US,LPDEST= -DDISPLAY=:0 -DlocalHost="linux-8" -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/4498286/FontSelection.java"
--- script end ---
Script output:
==============
Test output (jtr part):
=======================
----------System.out:(35/3837)----------
Trace:
Start to wait frame "Frame with title "FontSelection"" opened
Trace:
Frame "Frame with title "FontSelection"" has been opened in 10 milliseconds
javax.swing.JFrame[frame0,0,24,550x250,layout=java.awt.BorderLayout,title=FontSelection,resizable,normal,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,5,21,539x223,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=449,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
Trace:
Start to wait action "Wait Any javax.swing.JComboBox loaded"
Trace:
"Wait Any javax.swing.JComboBox loaded" action has been produced in 11 milliseconds with result
: javax.swing.JComboBox[,0,25,229x25,layout=javax.swing.plaf.metal.MetalComboBoxUI$MetalComboBoxLayoutManager,alignmentX=0.0,alignmentY=0.0,border=,flags=16777544,maximumSize=,minimumSize=,preferredSize=,isEditable=false,lightWeightPopupEnabled=true,maximumRowCount=8,selectedItemReminder=AngsanaUPC]
Trace:
Start to wait action "Wait Any javax.swing.JComboBox loaded"
Trace:
"Wait Any javax.swing.JComboBox loaded" action has been produced in 3 milliseconds with result
: javax.swing.JComboBox[,0,25,42x25,layout=javax.swing.plaf.metal.MetalComboBoxUI$MetalComboBoxLayoutManager,alignmentX=0.0,alignmentY=0.0,border=,flags=16777544,maximumSize=,minimumSize=,preferredSize=,isEditable=false,lightWeightPopupEnabled=true,maximumRowCount=9,selectedItemReminder=10]
Trace:
Start to wait action "Wait Any javax.swing.JComboBox loaded"
Trace:
"Wait Any javax.swing.JComboBox loaded" action has been produced in 5 milliseconds with result
: javax.swing.JComboBox[,0,25,268x25,layout=javax.swing.plaf.metal.MetalComboBoxUI$MetalComboBoxLayoutManager,alignmentX=0.0,alignmentY=0.0,border=,flags=16777544,maximumSize=,minimumSize=,preferredSize=,isEditable=false,lightWeightPopupEnabled=true,maximumRowCount=9,selectedItemReminder=PLAIN]
Select "14" item in combobox
: javax.swing.JComboBox[,0,25,42x25,layout=javax.swing.plaf.metal.MetalComboBoxUI$MetalComboBoxLayoutManager,alignmentX=0.0,alignmentY=0.0,border=,flags=16777544,maximumSize=,minimumSize=,preferredSize=,isEditable=false,lightWeightPopupEnabled=true,maximumRowCount=9,selectedItemReminder=10]
Select 2'th item in combobox
: javax.swing.JComboBox[,0,25,42x25,layout=javax.swing.plaf.metal.MetalComboBoxUI$MetalComboBoxLayoutManager,alignmentX=0.0,alignmentY=0.0,border=,flags=16777544,maximumSize=,minimumSize=,preferredSize=,isEditable=false,lightWeightPopupEnabled=true,maximumRowCount=9,selectedItemReminder=10]
Waiting for "Button for combobox popup menu opening" subcomponent
Trace:
Start to wait action "Wait for "Button for combobox popup menu opening" subcomponent to be displayed"
Trace:
"Wait for "Button for combobox popup menu opening" subcomponent to be displayed" action has been produced in 4 milliseconds with result
: javax.swing.plaf.metal.MetalComboBoxButton[,0,0,42x25,alignmentX=0.0,alignmentY=0.5,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@52c6b4,flags=12583208,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,disabledSelectedIcon=,margin=java.awt.Insets[top=0,left=1,bottom=1,right=3],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=,defaultCapable=true]
Trace:
Scroll JList to 2'th item
: javax.swing.plaf.basic.BasicComboPopup$2[ComboBox.list,0,0,40x90,alignmentX=0.0,alignmentY=0.0,border=,flags=50331944,maximumSize=,minimumSize=,preferredSize=,fixedCellHeight=-1,fixedCellWidth=-1,horizontalScrollIncrement=-1,selectionBackground=javax.swing.plaf.ColorUIResource[r=153,g=153,b=204],selectionForeground=javax.swing.plaf.ColorUIResource[r=0,g=0,b=0],visibleRowCount=8,layoutOrientation=0]
java.lang.NullPointerException
Test Failed
----------System.err:(13/673)----------
java.lang.RuntimeException: Failed
at Test4498286.main(Test4498286.java:119)
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:549)
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)
Hostname: linux-8
OS: Solaris 10 (sparc) (GNOME)
======================================================================