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

TestAlwaysOnTopBeforeShow: Pressed at wrong location: null

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)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows [Version 6.1.7601]

      A DESCRIPTION OF THE PROBLEM :
      The test java/awt/Window/AlwaysOnTop/TestAlwaysOnTopBeforeShow.java fails on Windows with the following message "java.lang.RuntimeException: Pressed at wrong location: null"
      This issue was not observed on Linux, OSX

      There exists similar bug https://bugs.openjdk.java.net/browse/JDK-6849864 which was closed as duplicate, but I could not find the original bug.


      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      #section:main
      ----------messages:(4/155)----------
      command: main TestAlwaysOnTopBeforeShow
      reason: User specified action: run main TestAlwaysOnTopBeforeShow
      Mode: othervm
      elapsed time (seconds): 7.695
      ----------configuration:(0/0)----------
      ----------System.out:(0/0)----------
      ----------System.err:(18/1193)----------
      java.lang.RuntimeException: java.lang.RuntimeException: Pressed at wrong location: null
      at TestAlwaysOnTopBeforeShow.checkOnTop(TestAlwaysOnTopBeforeShow.java:170)
      at TestAlwaysOnTopBeforeShow.init(TestAlwaysOnTopBeforeShow.java:103)
      at TestAlwaysOnTopBeforeShow.main(TestAlwaysOnTopBeforeShow.java:203)
      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:498)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.RuntimeException: Pressed at wrong location: null
      at TestAlwaysOnTopBeforeShow.checkOnTop(TestAlwaysOnTopBeforeShow.java:167)
      ... 8 more

      JavaTest Message: Test threw exception: java.lang.RuntimeException: java.lang.RuntimeException: Pressed at wrong location: null
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: java.lang.RuntimeException: Pressed at wrong location: null


      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      The test is from Regression test suite (jtreg)
      http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/file/f7be58eb30bc/test/java/awt/Window/AlwaysOnTop/TestAlwaysOnTopBeforeShow.java
      ---------- END SOURCE ----------

            aghaisas Ajit Ghaisas
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: