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

Regression-test javax/swing/plaf/synth/SynthPainter/unitTest/UnitTest.java fails

    Details

    • Subcomponent:
    • Resolved In Build:
      b26
    • CPU:
      x86
    • OS:
      linux
    • Verification:
      Verified

      Description



      Name: iaR10016 Date: 08/31/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b17, JDK1.5.0-b16, JDK1.5.0-b15, JDK1.5.0-b14
                      (This is a new Regression test which is abcent in previous JDKs)
      Testbase : Regression-test
      Platform[s] : RedHat Advanced Server 2.1 (Gnome2), Suse 8.2 (Gnome2), Suse 8.1 (Gnome2)
                      (I am not able to reproduce the failure on Solaris sparc, Solaris x86, Windows systems I have)
      switch/Mode : all
      Falling tests: javax/swing/plaf/synth/SynthPainter/unitTest/UnitTest.java

      Test source location:
      =====================
      /java/re/jdk/1.5.0/promoted/latest/ws/j2se/test/javax/swing/plaf/synth/SynthPainter/unitTest/UnitTest.java

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b17/regtest/linux/redhat_advserver21_gnome_smp_linux-24/workDir/test/javax/swing/plaf/synth/SynthPainter/unitTest/UnitTest.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/linux"
      TEST_BASE_PATH="/net/linux-15/export/home/java/regtest.tiger/test"
      TESTWITH=$JAVA_HOME
      TESTJAVA=$JAVA_HOME
      JTOPTS="-server"
      TESTVMOPTS="-server"
      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="linux-24" -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/javax/swing/plaf/synth/SynthPainter/unitTest/UnitTest.java"
      --- script end ---

      Test output (jtr part):
      =======================
      ----------System.out:(0/0)----------
      ----------System.err:(0/0)----------
      result: Passed. Compilation successful

      #section:main
      ----------messages:(3/115)----------
      command: main UnitTest
      reason: Assumed action based on file name: run main UnitTest
      elapsed time (seconds): 1.637
      ----------System.out:(2/79)----------
      TESTING: javax.swing.JScrollBar
      pref: java.awt.Dimension[width=200,height=200]
      ----------System.err:(27/1581)----------
      java.lang.reflect.InvocationTargetException
           at java.awt.EventQueue.invokeAndWait(EventQueue.java:839)
           at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1257)
           at UnitTest.main(UnitTest.java:18)
           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)
      Caused by: java.lang.RuntimeException: arrowButtonBorder: was not inovked
           at LoggingPainter.wasInvoked(LoggingPainter.java:19)
           at UnitTest.test(UnitTest.java:290)
           at UnitTest.<init>(UnitTest.java:70)
           at UnitTest$1.run(UnitTest.java:20)
           at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
           at java.awt.EventQueue.dispatchEvent(EventQueue.java:459)
           at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:214)
           at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
           at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
           at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
           at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

      JavaTest Message: Test threw exception: java.lang.reflect.InvocationTargetException
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.reflect.InvocationTargetException
      result: Failed. Execution failed: `main' threw exception: java.lang.reflect.InvocationTargetException

      test result: Failed. Execution failed: `main' threw exception: java.lang.reflect.InvocationTargetException

      Specific machine info:
      ======================
      Hostname: linux-24
      OS: RedHat Advanced Server 2.1 (Gnome2)
      Hostname: linux-12
      OS: RedHat Suse Linux 8.1 (Gnome2)
      Hostname: linux-2
      OS: Suse Linux 8.2 (Gnome2)

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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dassunw Das Das (Inactive)
                Reporter:
                irasunw Ira Ira (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: