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

jck_regr: api/javax_swing/SwingUtilities/descriptions.html#coord

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 1.4.0
    • client-libs
    • None

      al.smith@eng 2000-07-06
      =======================
       
      Please run the following script to reproduce the failure:
      /net/sqesvr.eng/export/st3/jdk1.4/bugs/<thisbugid>/runit.sh

      Test case can be found in:
      /net/sqesvr/export/st1/JCK-13/tests/api/javax_swing/SwingUtilities/descriptions.html#coord
      JDK version: Merlin B20
      JCK version: JCK13

      Test:
      javasoft.sqe.javatest.lib.ExecJCKTestOtherJVMCmd CLASSPATH=Z:\\st1\\JCK-13\\tests/../classes;Z:\\st1\\JCK-13\\javatest.jar PATH=Z:\\st1\\JCK-13\\tests\\..\\lib\\win32; windir=c:\\windows c:\\jdk14\\bin\\java -Xfuture -Djava.security.policy=policy.txt javasoft.sqe.tests.api.javax.swing.SwingUtilities.coordTests -TestCaseID ALL

      Output from the jtr file:
      =========================
      #Test Results (version 2)
      #Mon Jun 26 09:57:16 PDT 2000
      #checksum:2ab2e53baba9fd40
      #-----testdescription-----
      $file=Z:\\st1\\JCK-13\\tests\\api\\javax_swing\\SwingUtilities\\descriptions.html
      $root=Z:\\st1\\JCK-13\\tests
      executeArgs=-TestCaseID ALL
      executeClass=javasoft.sqe.tests.api.javax.swing.SwingUtilities.coordTests
      id=coord
      keywords=javax positive runtime swing
      source=coordTests.java
      title=SwingUtilities coordinates conversion methods tests

      #-----environment-----
      EXECUTE_CLASSPATH=$testSuiteRootDir/../classes$:$javatestClassDir
      EXECUTE_FLAGS=
      EXECUTE_JAVA=c:\\jdk14\\bin\\java
      EXE_PATH=${LDLIBPATH};$PATH
      EXE_SYSTEMROOT=c:\\windows
      ExecJCKTestOtherJVMCmd=javasoft.sqe.javatest.lib.ExecJCKTestOtherJVMCmd
      LDLIBPATH=$testSuiteRootDir\\..\\lib\\win32
      command.testExecute=$ExecJCKTestOtherJVMCmd CLASSPATH=${EXECUTE_CLASSPATH} PATH=${EXE_PATH} windir=${EXE_SYSTEMROOT} ${EXECUTE_JAVA} ${EXECUTE_FLAGS} -Xfuture -Djava.security.policy=policy.txt $testExecuteClass $testExecuteArgs

      #-----testresult-----
      description=file:Z:/st1/JCK-13/tests/api/javax_swing/SwingUtilities/descriptions.html#coord
      end=Mon Jun 26 09:57:16 PDT 2000
      environment=jck-runtime-win95
      execStatus=Failed. tests: 17; passed: 13; failed: 4; first test case failure: SwingUtilities3014
      javatestOS=Windows 98 4.10 (x86)
      javatestVersion=JT_2.1.2j
      script=javasoft.sqe.javatest.lib.JCKScript -runtime
      sections=script_messages testExecute
      start=Mon Jun 26 09:57:14 PDT 2000
      status=Failed. tests: 17; passed: 13; failed: 4; first test case failure: SwingUtilities3014
      test=api/javax_swing/SwingUtilities/descriptions.html#coord
      timeoutSeconds=600
      work=C:\\mandalay-jck13-jdk14-xint\\api\\javax_swing\\SwingUtilities

      #section:script_messages
      ----------messages:(1/25)----------
      Executing test class...

      #section:testExecute
      ----------messages:(1/338)*----------
      command: javasoft.sqe.javatest.lib.ExecJCKTestOtherJVMCmd CLASSPATH=Z:\\st1\\JCK-13\\tests/../classes;Z:\\st1\\JCK-13\\javatest.jar PATH=Z:\\st1\\JCK-13\\tests\\..\\lib\\win32; windir=c:\\windows c:\\jdk14\\bin\\java -Xfuture -Djava.security.policy=policy.txt javasoft.sqe.tests.api.javax.swing.SwingUtilities.coordTests -TestCaseID ALL
      ----------ref:(17/2464)----------
      ====== SwingUtilities3001 ====== public static Rectangle getLocalBounds(Component aComponent)
      ====== SwingUtilities3002 ====== public static Point convertPoint(Component source,Point aPoint,Component destination).source==null,destination==null
      ====== SwingUtilities3003 ====== public static Point convertPoint(Component source,Point aPoint,Component destination).The source is child of the destination
      ====== SwingUtilities3004 ====== public static Point convertPoint(Component source,Point aPoint,Component destination).The destination is child of the source
      ====== SwingUtilities3005 ====== public static Point convertPoint(Component source,Point aPoint,Component destination). Cascade with common ancestor
      ====== SwingUtilities3006 ====== public static Point convertPoint(Component source,int x,int y,Component destination).source==null,destination==null
      ====== SwingUtilities3007 ====== public static Point convertPoint(Component source,int x,int y,Component destination).The source is child of the destination
      ====== SwingUtilities3008 ====== public static Point convertPoint(Component source,int x,int y,Component destination).The destination is child of the source
      ====== SwingUtilities3009 ====== public static Point convertPoint(Component source,int x,int y,Component destination). Cascade with common ancestor
      ====== SwingUtilities3010 ====== public static Rectangle convertRectangle(Component source,Rectangle aRectangle,Component destination) .source==null,destination==null
      ====== SwingUtilities3011 ====== public static Rectangle convertRectangle(Component source,Rectangle aRectangle,Component destination) .The source is child of the destination
      ====== SwingUtilities3012 ====== public static Rectangle convertRectangle(Component source,Rectangle aRectangle,Component destination) .The destination is child of the source
      ====== SwingUtilities3013 ====== public static Rectangle convertRectangle(Component source,Rectangle aRectangle,Component destination) . Cascade with common ancestor
      ====== SwingUtilities3014 ====== public static void convertPointToScreen(java.awt.Point, java.awt.Component);
      ====== SwingUtilities3015 ====== public static void convertPointToScreen(java.awt.Point, java.awt.Component);
      ====== SwingUtilities3016 ====== public static void convertPointFromScreen(java.awt.Point, java.awt.Component);
      ====== SwingUtilities3017 ====== public static void convertPointFromScreen(java.awt.Point, java.awt.Component);
      ----------log:(54/4000)----------
      SwingUtilities3001: Passed. OKAY
      SwingUtilities3002: Passed. OKAY
      SwingUtilities3003: Passed. OKAY
      SwingUtilities3004: Passed. OKAY
      SwingUtilities3005: Passed. OKAY
      SwingUtilities3006: Passed. OKAY
      SwingUtilities3007: Passed. OKAY
      SwingUtilities3008: Passed. OKAY
      SwingUtilities3009: Passed. OKAY
      SwingUtilities3010: Passed. OKAY
      SwingUtilities3011: Passed. OKAY
      SwingUtilities3012: Passed. OKAY
      SwingUtilities3013: Passed. OKAY
      java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
              at java.awt.Component.getLocationOnScreen_NoTreeLock(Component.java:1316)
              at java.awt.Component.getLocationOnScreen(Component.java:1290)
              at javax.swing.SwingUtilities.convertPointToScreen(SwingUtilities.java:255)
              at javasoft.sqe.tests.api.javax.swing.SwingUtilities.coordTests.SwingUtilities3014(coordTests.java:549)
              at java.lang.reflect.Method.invoke(Native Method)
              at javasoft.sqe.jck.lib.MultiTest.runTests(MultiTest.java:139)
              at javasoft.sqe.jck.lib.MultiTest.run(MultiTest.java:101)
              at javasoft.sqe.tests.api.javax.swing.SwingUtilities.coordTests.main(coordTests.java:37)
      SwingUtilities3014: Failed. Test case throws exception: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
      java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
              at java.awt.Component.getLocationOnScreen_NoTreeLock(Component.java:1316)
              at java.awt.Component.getLocationOnScreen(Component.java:1290)
              at javax.swing.SwingUtilities.convertPointToScreen(SwingUtilities.java:255)
              at javasoft.sqe.tests.api.javax.swing.SwingUtilities.coordTests.SwingUtilities3015(coordTests.java:591)
              at java.lang.reflect.Method.invoke(Native Method)
              at javasoft.sqe.jck.lib.MultiTest.runTests(MultiTest.java:139)
              at javasoft.sqe.jck.lib.MultiTest.run(MultiTest.java:101)
              at javasoft.sqe.tests.api.javax.swing.SwingUtilities.coordTests.main(coordTests.java:37)
      SwingUtilities3015: Failed. Test case throws exception: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
      java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
              at java.awt.Component.getLocationOnScreen_NoTreeLock(Component.java:1316)
              at java.awt.Component.getLocationOnScreen(Component.java:1290)
              at javax.swing.SwingUtilities.convertPointFromScreen(SwingUtilities.java:290)
              at javasoft.sqe.tests.api.javax.swing.SwingUtilities.coordTests.SwingUtilities3016(coordTests.java:636)
              at java.lang.reflect.Method.invoke(Native Method)
              at javasoft.sqe.jck.lib.MultiTest.runTests(MultiTest.java:139)
              at javasoft.sqe.jck.lib.MultiTest.run(MultiTest.java:101)
              at javasoft.sqe.tests.api.javax.swing.SwingUtilities.coordTests.main(coordTests.java:37)
      SwingUtilities3016: Failed. Test case throws exception: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
      java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
              at java.awt.Component.getLocationOnScreen_NoTreeLock(Component.java:1316)
              at java.awt.Component.getLocationOnScreen(Component.java:1290)
              at javax.swing.SwingUtilities.convertPointFromScreen(SwingUtilities.java:290)
              at javasoft.sqe.tests.api.javax.swing.SwingUtilities.coordTests.SwingUtilities3017(coordTests.java:682)
              at java.lang.reflect.Method.invoke(Native Method)
              at javasoft.sqe.jck.lib.MultiTest.runTests(MultiTest.java:139)
              at javasoft.sqe.jck.lib.MultiTest.run(MultiTest.java:101)
              at javasoft.sqe.tests.api.javax.swing.SwingUtilities.coordTests.main(coordTests.java:37)
      SwingUtilities3017: Failed. Test case throws exception: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
      STATUS:Failed. tests: 17; passed: 13; failed: 4; first test case failure: SwingUtilities3014
      result: Failed. tests: 17; passed: 13; failed: 4; first test case failure: SwingUtilities3014


      test result: Failed. tests: 17; passed: 13; failed: 4; first test case failure: SwingUtilities3014

            svioletsunw Scott Violet (Inactive)
            apsmith Alan Smith (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: