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

RegTest-test javax/swing/JPopupMenu/PopupTest/MenuTester.java failed

    Details

    • Subcomponent:
    • Resolved In Build:
      tiger
    • CPU:
      x86
    • OS:
      windows_xp
    • Verification:
      Verified

      Description



      Name: aaR10208 Date: 04/11/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b04 (also failed with mantis-b19, but passed with jdk1.5.0-b03)
      Testbase : RegTest-test
      Platform[s] : Windows XP Pro
      Falling test[s]: javax/swing/JPopupMenu/PopupTest/MenuTester.java

      RegTest-test javax/swing/JPopupMenu/PopupTest/MenuTester.java test fails on JDK1.5.0-b04.

      Test source location:
      =====================
      /java/re/jdk/1.5.0/promoted/latest/ws/j2se/test/javax/swing/JPopupMenu/PopupTest/MenuTester.java

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results/tiger/b04/regtest/win32/winXP_PRO_-server_smp_linux-16/workDir/test/javax/swing/JPopupMenu/PopupTest/MenuTester.jtr

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

      --- script start ---
      #!/bin/sh
      TESTBASE=k:/regtest.tiger/test
      JDK=c:/j2sdk1.5.0
      #JDK=h:/java/jdk1.5.0/win32.b03
      #JDK=h:/java/jdk1.4.2/win32
      cp $TESTBASE/javax/swing/JPopupMenu/PopupTest/MenuTester.java .
      cp $TESTBASE/javax/swing/JPopupMenu/PopupTest/Driver.java .
      cp $TESTBASE/javax/swing/JPopupMenu/PopupTest/Log.java .
      cp $TESTBASE/javax/swing/JPopupMenu/PopupTest/Logger.java .
      cp $TESTBASE/javax/swing/JPopupMenu/PopupTest/Robot.java .
      cp $TESTBASE/javax/swing/JPopupMenu/PopupTest/TestCase.java .
      cp $TESTBASE/javax/swing/JPopupMenu/PopupTest/TestFailedException.java .
      cp $TESTBASE/javax/swing/JPopupMenu/PopupTest/TestMenu.java .
      cp $TESTBASE/javax/swing/JPopupMenu/PopupTest/TestMenuItem.java .
      cp $TESTBASE/javax/swing/JPopupMenu/PopupTest/Verifier.java .
      cp $TESTBASE/javax/swing/regtesthelpers/JRobot.java .
      cp $TESTBASE/javax/swing/regtesthelpers/Util.java .
      #$JDK/bin/javac *.java
      #$JDK/bin/java -showversion MenuTester
      $JDK/bin/java -showversion MenuTester tc4730233
      --- script end ---

      Script output:
      ==============
      java version "1.5.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b04)
      Java HotSpot(TM) Client VM (build 1.5.0-beta-b04, mixed mode)

      Menu testing starts
      --- Running tc4730233
      > mouse moved to Pets
      > mouse click
      > mouse moved to Birds
      > mouse click
      ERROR: Test failed with TestFailedException: Birds isn't visible at
      --- Running tc4730233
      > mouse moved to Pets
      > mouse click
      > mouse moved to Birds
      > mouse click
      ERROR: Test failed with TestFailedException: Birds isn't visible at
      Testing finished
      The following testcases failed:
         tc4730233
         tc4730233
      To rerun failed testcases, run:
      java MenuTester tc4730233 tc4730233
      To rerun failed testcases, run:
      java MenuTester tc4730233 tc4730233


      Test output (jtr part):
      =======================
      ----------System.err:(87/2186)----------
      Menu testing starts
      [... skipped ...]
      --- Running tc4730233
      > mouse moved to Pets
      > mouse click
      ERROR: Test failed with TestFailedException: Pets isn't visible at
      [... skipped ...]
      Testing finished
      The following testcases failed:
         tc4730233
      To rerun failed testcases, run:
      java MenuTester tc4730233
      To rerun failed testcases, run:
      java MenuTester tc4730233
      java.lang.RuntimeException: Some test cases failed
      at MenuTester.report(MenuTester.java:476)
      at MenuTester.test(MenuTester.java:445)
      at MenuTester.main(MenuTester.java:481)
      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: Some test cases failed
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Some test cases failed
      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Some test cases failed


      test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Some test cases failed


      Specific machine info:
      ======================
      Hostname: linux-16
      OS: Windows XP Pro


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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kizune Alexander Zuev
                Reporter:
                sundrsunw Sundr Sundr (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: