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

java/awt/Modal/ModalBlockingTests/BlockingWindowsDocModal1Test.java failed with "DummyButton on Frame did not gain focus on clicking. A document modal dialog and its parent are visible.: expected true, was false"

XMLWordPrintable

    • x86_64
    • linux

      The following test failed in the JDK21 CI:

      java/awt/Modal/ModalBlockingTests/BlockingWindowsDocModal1Test.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(7/296)----------
      command: main BlockingWindowsDocModal1Test
      reason: User specified action: run main BlockingWindowsDocModal1Test
      started: Tue May 02 03:49:59 UTC 2023
      Mode: othervm
      Additional options from @modules: --add-modules java.desktop
      finished: Tue May 02 03:50:32 UTC 2023
      elapsed time (seconds): 32.344
      ----------configuration:(3/40)----------
      Boot Layer
        add modules: java.desktop

      ----------System.out:(0/0)----------
      ----------System.err:(15/1207)----------
      java.lang.RuntimeException: DummyButton on Frame did not gain focus on clicking. A document modal dialog and its parent are visible.: expected true, was false
      at jdk.test.lib.Asserts.fail(Asserts.java:594)
      at jdk.test.lib.Asserts.assertTrue(Asserts.java:486)
      at TestFrame.checkUnblockedFrame(TestFrame.java:338)
      at BlockingWindowsDocModalTest.doTest(BlockingWindowsDocModalTest.java:144)
      at BlockingWindowsDocModal1Test.main(BlockingWindowsDocModal1Test.java:49)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1592)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: DummyButton on Frame did not gain focus on clicking. A document modal dialog and its parent are visible.: expected true, was false
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: DummyButton on Frame did not gain focus on clicking. A document modal dialog and its parent are visible.: expected true, was false
      ----------rerun:(44/8188)*----------

            abhiscxk Abhishek Kumar
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: