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

javax/swing/JToolTip/4846413/bug4846413.java fails by InvocationTargetException

XMLWordPrintable

      FULL PRODUCT VERSION :
      JDK under test: C:\\Java\\jdk1.8.0_112
      java version "1.8.0_112"
      Java(TM) SE Runtime Environment (build 1.8.0_112-b15)
      Java HotSpot(TM) 64-Bit Server VM (build 25.112-b15, mixed mode)


      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows [Version 10.0.14393]

      A DESCRIPTION OF THE PROBLEM :
      The test javax/swing/JToolTip/4846413/bug4846413.java fails by InvocationTargetException if it is executed after the test javax/swing/JTextArea/4697612/bug4697612.java.
      This issue is always observed on Windows, sometimes it can be reproduced on OSX. It has never been observed on Linux.
      The test passes in standalone mode.
      This issue was observed with both JDK 8 and 9.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      jtreg -v -a -xml -testjdk:C:/Java/jdk1.8.0_112 -javaoptions:-Djava.awt.headless=false -timeoutFactor:2 javax/swing/JTextArea/4697612/bug4697612.java javax/swing/JToolTip/4846413/bug4846413.java


      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      #section:main
      ----------messages:(4/125)----------
      command: main bug4846413
      reason: User specified action: run main bug4846413
      Mode: othervm
      elapsed time (seconds): 9.805
      ----------configuration:(0/0)----------
      ----------System.out:(0/0)----------
      ----------System.err:(33/2072)----------
      java.lang.reflect.InvocationTargetException
      at java.awt.EventQueue.invokeAndWait(EventQueue.java:1321)
      at java.awt.EventQueue.invokeAndWait(EventQueue.java:1296)
      at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1348)
      at bug4846413.checkToolTip(bug4846413.java:77)
      at bug4846413.main(bug4846413.java:73)
      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: Tooltip has not been found!
      at bug4846413$2.run(bug4846413.java:85)
      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
      at java.awt.EventQueue.access$500(EventQueue.java:97)
      at java.awt.EventQueue$3.run(EventQueue.java:709)
      at java.awt.EventQueue$3.run(EventQueue.java:703)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

      JavaTest Message: Test threw exception: java.lang.reflect.InvocationTargetException
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.reflect.InvocationTargetException

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/file/0e4fc29a5ce4/test/javax/swing/JToolTip/4846413
      ---------- END SOURCE ----------

            psadhukhan Prasanta Sadhukhan
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: