Duplicate :
|
Name: iaR10016 Date: 08/28/2003 Filed By : J2SE-SQA [###@###.### JDK : JDK1.5.0-b16 (not reproducble with JDK1.5.0-b15, fails with JDK1.4.2-b28 due to integrated in tiger bug 4708924) Testbase : Regression-test Platform[s] : Suse Linux 8.2 (GNOME2), Solaris 9 (sparc) (GNOME2) (not reproducible on Windows) switch/Mode : all Falling test : sun/java2d/SunGraphics2D/ConstrainTransform.java Test source location: ===================== /java/re/jdk/1.5.0/promoted/latest/ws/j2se/test/sun/java2d/SunGraphics2D/ConstrainTransform.java jtr file location: ================== /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b16/regtest/sparc/sol9_sparc_gnome_novo48/workDir/test/sun/java2d/SunGraphics2D/ConstrainTransform.jtr How to reproduce: ================= Run the following script (you may need to change it's 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/test" TESTWITH=$JAVA_HOME TESTJAVA=$JAVA_HOME JTOPTS="-client" TESTVMOPTS="-client" export CLASSPATH="$JT_HOME/classes:$JT_HOME/lib/javatest.jar:$JT_HOME/lib/jtreg.jar:$JT_HOME/jemmy/jemmy.jar" 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 $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="novo48" -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/sun/java2d/SunGraphics2D/ConstrainTransform.java" --- script end --- Test output (jtr part): ======================= ----------System.out:(0/0)---------- ----------System.err:(0/0)---------- result: Passed. Compilation successful #section:main ----------messages:(3/123)---------- command: main ConstrainTransform reason: User specified action: run main ConstrainTransform elapsed time (seconds): 5.625 ----------System.out:(0/0)---------- ----------System.err:(32/2056)---------- java.awt.image.ImagingOpException: Unable to transform src image at java.awt.image.AffineTransformOp.filter(AffineTransformOp.java:267) at sun.java2d.pipe.DrawImage.transformImage(DrawImage.java:304) at sun.java2d.pipe.DrawImage.scaleBufferedImage(DrawImage.java:409) at sun.java2d.pipe.DrawImage.scaleImage(DrawImage.java:488) at sun.java2d.pipe.DrawImage.scaleImage(DrawImage.java:784) at sun.java2d.pipe.ValidatePipe.scaleImage(ValidatePipe.java:201) at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:2876) at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:2826) at javax.swing.plaf.metal.MetalUtils$GradientPainter._paint(MetalUtils.java:333) at javax.swing.plaf.metal.MetalUtils$GradientPainter.paint(MetalUtils.java:244) at javax.swing.plaf.metal.MetalUtils.drawGradient(MetalUtils.java:198) at javax.swing.plaf.metal.MetalButtonUI.update(MetalButtonUI.java:138) at javax.swing.JComponent.paintComponent(JComponent.java:685) at javax.swing.JComponent.paint(JComponent.java:947) at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21) at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60) at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97) at java.awt.Container.paint(Container.java:1647) at ConstrainTransform.paint(ConstrainTransform.java:25) at ConstrainTransform.main(ConstrainTransform.java:46) 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.awt.image.ImagingOpException: Unable to transform src image JavaTest Message: shutting down test STATUS:Failed.`main' threw exception: java.awt.image.ImagingOpException: Unable to transform src image result: Failed. Execution failed: `main' threw exception: java.awt.image.ImagingOpException: Unable to transform src image Specific machine info: ====================== Hostname: linux-2 OS: Suse Linux 8.2 (GNOME2) Hostname: novo48 OS: Solaris 9 (sparc) (GNOME) ======================================================================