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

test/java/awt/xembed/server/RunTestXEmbed.java fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 7
    • client-libs
    • None
    • generic
    • generic

      The test fails on linux-i586, Gnome/Metacity 2.24 with the current JDK 7 (~ b59):

      ----------System.out:(213/10633)----------
      02.06.2009 12:57:25 TesterClient startClient
      INFO: Starting test test1_1
      02.06.2009 12:57:29 TesterClient startClient
      WARNING: Test test1_1 FAILED.
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:623)
      at TesterClient.startClient(TesterClient.java:51)
      at TesterClient.main(TesterClient.java:42)
      Caused by: java.lang.RuntimeException: Didn't receive event XEMBED_WINDOW_ACTIVATE but recevied unknown XEMBED id -1
      at sun.awt.X11.XEmbedServerTester.waitForEvent(XEmbedServerTester.java:552)
      at sun.awt.X11.XEmbedServerTester.waitWindowActivated(XEmbedServerTester.java:518)
      at sun.awt.X11.XEmbedServerTester.activateServer(XEmbedServerTester.java:446)
      at sun.awt.X11.XEmbedServerTester.test1_1(XEmbedServerTester.java:105)
      ... 6 more
      02.06.2009 12:57:30 TesterClient startClient
      INFO: Starting test test1_2
      02.06.2009 12:57:30 TesterClient startClient
      INFO: Test test1_2 PASSED.
      02.06.2009 12:57:31 TesterClient startClient
      INFO: Starting test test1_3
      02.06.2009 12:57:31 TesterClient startClient
      INFO: Test test1_3 PASSED.
      02.06.2009 12:57:32 TesterClient startClient
      INFO: Starting test test1_4
      02.06.2009 12:57:35 TesterClient startClient
      WARNING: Test test1_4 FAILED.
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:623)
      at TesterClient.startClient(TesterClient.java:51)
      at TesterClient.main(TesterClient.java:42)
      Caused by: java.lang.RuntimeException: Didn't receive event XEMBED_WINDOW_DEACTIVATE but recevied unknown XEMBED id -1
      at sun.awt.X11.XEmbedServerTester.waitForEvent(XEmbedServerTester.java:552)
      at sun.awt.X11.XEmbedServerTester.waitWindowDeactivated(XEmbedServerTester.java:521)
      at sun.awt.X11.XEmbedServerTester.deactivateServer(XEmbedServerTester.java:474)
      at sun.awt.X11.XEmbedServerTester.test1_4(XEmbedServerTester.java:126)
      ... 6 more
      02.06.2009 12:57:36 TesterClient startClient
      INFO: Starting test test1_5
      02.06.2009 12:57:36 TesterClient startClient
      INFO: Test test1_5 PASSED.
      02.06.2009 12:57:37 TesterClient startClient
      INFO: Starting test test1_6
      02.06.2009 12:57:40 TesterClient startClient
      WARNING: Test test1_6 FAILED.
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:623)
      at TesterClient.startClient(TesterClient.java:51)
      at TesterClient.main(TesterClient.java:42)
      Caused by: java.lang.RuntimeException: Didn't receive event XEMBED_WINDOW_ACTIVATE but recevied unknown XEMBED id -1
      at sun.awt.X11.XEmbedServerTester.waitForEvent(XEmbedServerTester.java:552)
      at sun.awt.X11.XEmbedServerTester.waitWindowActivated(XEmbedServerTester.java:518)
      at sun.awt.X11.XEmbedServerTester.test1_6(XEmbedServerTester.java:143)
      ... 6 more
      02.06.2009 12:57:41 TesterClient startClient
      INFO: Starting test test1_7
      02.06.2009 12:57:45 TesterClient startClient
      WARNING: Test test1_7 FAILED.
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:623)
      at TesterClient.startClient(TesterClient.java:51)
      at TesterClient.main(TesterClient.java:42)
      Caused by: java.lang.RuntimeException: Didn't receive event XEMBED_FOCUS_OUT but recevied unknown XEMBED id -1
      at sun.awt.X11.XEmbedServerTester.waitForEvent(XEmbedServerTester.java:552)
      at sun.awt.X11.XEmbedServerTester.waitFocusLost(XEmbedServerTester.java:515)
      at sun.awt.X11.XEmbedServerTester.focusServer(XEmbedServerTester.java:489)
      at sun.awt.X11.XEmbedServerTester.test1_7(XEmbedServerTester.java:153)
      ... 6 more
      02.06.2009 12:57:45 TesterClient startClient
      INFO: Starting test test2_5
      02.06.2009 12:57:49 TesterClient startClient
      WARNING: Test test2_5 FAILED.
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:623)
      at TesterClient.startClient(TesterClient.java:51)
      at TesterClient.main(TesterClient.java:42)
      Caused by: java.lang.RuntimeException: Didn't receive event XEMBED_WINDOW_ACTIVATE but recevied unknown XEMBED id -1
      at sun.awt.X11.XEmbedServerTester.waitForEvent(XEmbedServerTester.java:552)
      at sun.awt.X11.XEmbedServerTester.waitWindowActivated(XEmbedServerTester.java:518)
      at sun.awt.X11.XEmbedServerTester.test2_5(XEmbedServerTester.java:159)
      ... 6 more
      02.06.2009 12:57:49 TesterClient startClient
      INFO: Starting test test2_6
      02.06.2009 12:57:53 TesterClient startClient
      WARNING: Test test2_6 FAILED.
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:623)
      at TesterClient.startClient(TesterClient.java:51)
      at TesterClient.main(TesterClient.java:42)
      Caused by: java.lang.RuntimeException: Didn't receive event XEMBED_WINDOW_ACTIVATE but recevied unknown XEMBED id -1
      at sun.awt.X11.XEmbedServerTester.waitForEvent(XEmbedServerTester.java:552)
      at sun.awt.X11.XEmbedServerTester.waitWindowActivated(XEmbedServerTester.java:518)
      at sun.awt.X11.XEmbedServerTester.test2_6(XEmbedServerTester.java:168)
      ... 6 more
      02.06.2009 12:57:53 TesterClient startClient
      INFO: Starting test test3_1
      02.06.2009 12:57:53 TesterClient startClient
      INFO: Test test3_1 PASSED.
      02.06.2009 12:57:54 TesterClient startClient
      INFO: Starting test test3_3
      02.06.2009 12:57:55 TesterClient startClient
      INFO: Test test3_3 PASSED.
      02.06.2009 12:57:55 TesterClient startClient
      INFO: Starting test test3_4
      02.06.2009 12:57:55 TesterClient startClient
      INFO: Test test3_4 PASSED.
      02.06.2009 12:57:56 TesterClient startClient
      INFO: Starting test test3_5
      02.06.2009 12:57:57 TesterClient startClient
      INFO: Test test3_5 PASSED.
      02.06.2009 12:57:58 TesterClient startClient
      INFO: Starting test test3_6
      02.06.2009 12:58:00 TesterClient startClient
      INFO: Test test3_6 PASSED.
      02.06.2009 12:58:01 TesterClient startClient
      INFO: Starting test test4_1
      02.06.2009 12:58:02 TesterClient startClient
      INFO: Test test4_1 PASSED.
      02.06.2009 12:58:03 TesterClient startClient
      INFO: Starting test test4_2
      02.06.2009 12:58:05 TesterClient startClient
      INFO: Test test4_2 PASSED.
      02.06.2009 12:58:06 TesterClient startClient
      INFO: Starting test test4_3
      02.06.2009 12:58:07 TesterClient startClient
      INFO: Test test4_3 PASSED.
      02.06.2009 12:58:08 TesterClient startClient
      INFO: Starting test test4_4
      02.06.2009 12:58:09 TesterClient startClient
      INFO: Test test4_4 PASSED.
      02.06.2009 12:58:09 TesterClient startClient
      INFO: Starting test test6_1_1
      02.06.2009 12:58:10 TesterClient startClient
      INFO: Test test6_1_1 PASSED.
      02.06.2009 12:58:11 TesterClient startClient
      INFO: Starting test test6_1_2
      02.06.2009 12:58:13 TesterClient startClient
      INFO: Test test6_1_2 PASSED.
      02.06.2009 12:58:14 TesterClient startClient
      INFO: Starting test test6_1_3
      02.06.2009 12:58:16 TesterClient startClient
      INFO: Test test6_1_3 PASSED.
      02.06.2009 12:58:17 TesterClient startClient
      INFO: Starting test test6_1_4
      02.06.2009 12:58:18 TesterClient startClient
      INFO: Test test6_1_4 PASSED.
      02.06.2009 12:58:19 TesterClient startClient
      INFO: Starting test test6_2_1
      02.06.2009 12:58:20 TesterClient startClient
      INFO: Test test6_2_1 PASSED.
      02.06.2009 12:58:20 TesterClient startClient
      INFO: Starting test test6_2_2
      02.06.2009 12:58:23 TesterClient startClient
      INFO: Test test6_2_2 PASSED.
      02.06.2009 12:58:23 TesterClient startClient
      INFO: Starting test test6_2_3
      02.06.2009 12:58:25 TesterClient startClient
      INFO: Test test6_2_3 PASSED.
      02.06.2009 12:58:26 TesterClient startClient
      INFO: Starting test test6_2_4
      02.06.2009 12:58:27 TesterClient startClient
      INFO: Test test6_2_4 PASSED.
      02.06.2009 12:58:28 TesterClient startClient
      INFO: Starting test test7_1
      02.06.2009 12:58:32 TesterClient startClient
      WARNING: Test test7_1 FAILED.
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:623)
      at TesterClient.startClient(TesterClient.java:51)
      at TesterClient.main(TesterClient.java:42)
      Caused by: java.lang.RuntimeException: Didn't receive event XEMBED_MODALITY_ON but recevied unknown XEMBED id -1
      at sun.awt.X11.XEmbedServerTester.waitForEvent(XEmbedServerTester.java:552)
      at sun.awt.X11.XEmbedServerTester.test7_1(XEmbedServerTester.java:362)
      ... 6 more
      02.06.2009 12:58:32 TesterClient startClient
      INFO: Starting test test7_2
      02.06.2009 12:58:36 TesterClient startClient
      WARNING: Test test7_2 FAILED.
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:623)
      at TesterClient.startClient(TesterClient.java:51)
      at TesterClient.main(TesterClient.java:42)
      Caused by: java.lang.RuntimeException: Didn't receive event XEMBED_MODALITY_ON but recevied unknown XEMBED id -1
      at sun.awt.X11.XEmbedServerTester.waitForEvent(XEmbedServerTester.java:552)
      at sun.awt.X11.XEmbedServerTester.test7_2(XEmbedServerTester.java:368)
      ... 6 more
      02.06.2009 12:58:37 TesterClient startClient
      INFO: Starting test test9_1
      02.06.2009 12:58:37 TesterClient startClient
      INFO: Test test9_1 PASSED.
      ----------System.err:(82/2395)----------
      Performing test1_1
      Test for test1_1 has started.
      Performing test1_2
      Test for test1_2 has started.
      Performing test1_3
      Test for test1_3 has started.
      Performing test1_4
      Test for test1_4 has started.
      Performing test1_5
      Test for test1_5 has started.
      Performing test1_6
      Test for test1_6 has started.
      Performing test1_7
      Test for test1_7 has started.
      Performing test2_5
      Test for test2_5 has started.
      Performing test2_6
      Test for test2_6 has started.
      Performing test3_1
      Test for test3_1 has started.
      Performing test3_3
      Test for test3_3 has started.
      Performing test3_4
      Test for test3_4 has started.
      Performing test3_5
      Test for test3_5 has started.
      Performing test3_6
      Test for test3_6 has started.
      Performing test4_1
      Test for test4_1 has started.
      Performing test4_2
      Test for test4_2 has started.
      Performing test4_3
      Test for test4_3 has started.
      Performing test4_4
      Test for test4_4 has started.
      Performing test6_1_1
      Test for test6_1_1 has started.
      Performing test6_1_2
      Test for test6_1_2 has started.
      Performing test6_1_3
      Test for test6_1_3 has started.
      Performing test6_1_4
      Test for test6_1_4 has started.
      Performing test6_2_1
      Test for test6_2_1 has started.
      Performing test6_2_2
      Test for test6_2_2 has started.
      Performing test6_2_3
      Test for test6_2_3 has started.
      Performing test6_2_4
      Test for test6_2_4 has started.
      Performing test7_1
      Test for test7_1 has started.
      Performing test7_2
      Test for test7_2 has started.
      Performing test9_1
      Test for test9_1 has started.
      02.06.2009 12:58:37 RunTestXEmbed main
      INFO: Testing finished.
      Some tests have failed:
      test1_1
      test1_4
      test1_6
      test1_7
      test2_5
      test2_6
      test7_1
      test7_2
      java.lang.RuntimeException: TestFAILED: some of the testcases are failed
      at RunTestXEmbed.main(RunTestXEmbed.java:134)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:623)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:717)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: TestFAILED: some of the testcases are failed
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: TestFAILED: some of the testcases are failed
      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: TestFAILED: some of the testcases are failed


      test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: TestFAILED: some of the testcases are failed

            Unassigned Unassigned
            anthony Anthony Petrov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: