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

java/awt/event/InputEvent/EventWhenTest/EventWhenTest.java fails because No events were received

XMLWordPrintable

    • x86_64
    • windows_7

      FULL PRODUCT VERSION :
      java version "1.8.0_51"
      Java(TM) SE Runtime Environment (build 1.8.0_51-b16)
      Java HotSpot(TM) Client VM (build 25.51-b03, mixed mode, sharing)



      ADDITIONAL OS VERSION INFORMATION :
      Windows 7, version 6.1

      A DESCRIPTION OF THE PROBLEM :
      The test ''java/awt/event/InputEvent/EventWhenTest/EventWhenTest.java'' fails with the message "No events were received"

      The issue is intermittent, it fails in ~3 of 20 runs. Sometimes the test fails because of time out.
      It was observed on Linux and Windows.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      The test is located at http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/file/774f11d707e0/test/java/awt/event/InputEvent/EventWhenTest/EventWhenTest.java
      It is difficult to reproduce - I was not able to reproduce it as standalone test. It was reproduced running in a group java/awt/event


      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      ```
      #section:main
      ----------messages:(4/131)----------
      command: main EventWhenTest
      reason: User specified action: run main EventWhenTest
      Mode: othervm
      elapsed time (seconds): 3.502
      ----------configuration:(0/0)----------
      ----------System.out:(1/19)----------
      Clicking mouse...
      ----------System.err:(13/747)----------
      java.lang.RuntimeException: No events were received
              at EventWhenTest.main(EventWhenTest.java:98)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:497)
              at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
              at java.lang.Thread.run(Thread.java:745)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: No events were received
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: No events were received
      ```

      REPRODUCIBILITY :
      This bug can be reproduced occasionally.

            kizune Alexander Zuev
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: