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

javax/swing/JLabel/7004134/bug7004134.java: java.lang.RuntimeException: getToolTipComponent failed

    XMLWordPrintable

    Details

      Description

      FULL PRODUCT VERSION :
      JDK under test: /usr/local/java/jdk1.8.0_131
      java version "1.8.0_131"
      Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
      Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)


      ADDITIONAL OS VERSION INFORMATION :
      $ uname -a
      Linux localhost.localdomain 4.10.10-200.fc25.x86_64 #1 SMP Thu Apr 13 01:11:51 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
      $ cat /etc/fedora-release
      Fedora release 25 (Twenty Five)



      A DESCRIPTION OF THE PROBLEM :
      The test javax/swing/JLabel/7004134/bug7004134.java intermittently fails on Fedora 25 with the message "java.lang.RuntimeException: getToolTipComponent failed"

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      $ jtreg -ignore:quiet -v -a -xml -javaoptions:'-Djava.awt.headless=false' -timeoutFactor:2 javax/swing/JLabel/7004134/bug7004134.java


      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      #section:main
      ----------messages:(4/133)----------
      command: main bug7004134
      reason: Assumed action based on file name: run main bug7004134
      Mode: othervm
      elapsed time (seconds): 1.543
      ----------configuration:(0/0)----------
      ----------System.out:(0/0)----------
      ----------System.err:(34/2083)----------
      java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
          at bug7004134$4.run(bug7004134.java:121)
          at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.reflect.InvocationTargetException
          at java.awt.EventQueue.invokeAndWait(EventQueue.java:1327)
          at java.awt.EventQueue.invokeAndWait(EventQueue.java:1302)
          at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1348)
          at bug7004134$4.run(bug7004134.java:108)
          ... 1 more
      Caused by: java.lang.RuntimeException: getToolTipComponent failed
          at bug7004134.getTipWindow(bug7004134.java:145)
          at bug7004134.access$300(bug7004134.java:37)
          at bug7004134$4$3.run(bug7004134.java:110)
          at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301)
          at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:762)
          at java.awt.EventQueue.access$500(EventQueue.java:98)
          at java.awt.EventQueue$3.run(EventQueue.java:715)
          at java.awt.EventQueue$3.run(EventQueue.java:709)
          at java.security.AccessController.doPrivileged(Native Method)
          at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
          at java.awt.EventQueue.dispatchEvent(EventQueue.java:732)
          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)
      Caused by: java.lang.NullPointerException
          at sun.reflect.UnsafeFieldAccessorImpl.ensureObj(UnsafeFieldAccessorImpl.java:57)
          at sun.reflect.UnsafeObjectFieldAccessorImpl.get(UnsafeObjectFieldAccessorImpl.java:36)
          at java.lang.reflect.Field.get(Field.java:393)
          at bug7004134.getTipWindow(bug7004134.java:143)
          ... 16 more
      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
      ----------rerun:(21/1499)*----------
      DISPLAY=:0 \\
      GNOME_DESKTOP_SESSION_ID=this-is-deprecated \\
      HOME=/home/vprovodin \\
      LANG=en_US.UTF-8 \\
      PATH=/bin:/usr/bin \\
      XMODIFIERS=@im=ibus \\
      CLASSPATH=/home/vprovodin/workspace/github/jdk8u/jdk/JTwork/classes/javax/swing/JLabel/7004134:/home/vprovodin/workspace/github/jdk8u/jdk/test/javax/swing/JLabel/7004134:/home/vprovodin/workspace/jdk/jbsdk8u112b736.21_x64/lib/tools.jar:/home/vprovodin/workspace/jtreg/lib/javatest.jar:/home/vprovodin/workspace/jtreg/lib/jtreg.jar \\
          /home/vprovodin/workspace/jdk/jbsdk8u112b736.21_x64/bin/java \\
              -Dtest.src=/home/vprovodin/workspace/github/jdk8u/jdk/test/javax/swing/JLabel/7004134 \\
              -Dtest.src.path=/home/vprovodin/workspace/github/jdk8u/jdk/test/javax/swing/JLabel/7004134 \\
              -Dtest.classes=/home/vprovodin/workspace/github/jdk8u/jdk/JTwork/classes/javax/swing/JLabel/7004134 \\
              -Dtest.class.path=/home/vprovodin/workspace/github/jdk8u/jdk/JTwork/classes/javax/swing/JLabel/7004134 \\
              -Dtest.vm.opts= \\
              -Dtest.tool.vm.opts= \\
              -Dtest.compiler.opts= \\
              -Dtest.java.opts=-Djava.awt.headless=false \\
              -Dtest.jdk=/home/vprovodin/workspace/jdk/jbsdk8u112b736.21_x64 \\
              -Dcompile.jdk=/home/vprovodin/workspace/jdk/jbsdk8u112b736.21_x64 \\
              -Dtest.timeout.factor=2.0 \\
              -Djava.awt.headless=false \\
              com.sun.javatest.regtest.agent.MainWrapper /home/vprovodin/workspace/github/jdk8u/jdk/JTwork/javax/swing/JLabel/7004134/bug7004134.d/main.0.jta
      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException


      test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException

      REPRODUCIBILITY :
      This bug can be reproduced often.

      ---------- BEGIN SOURCE ----------
      http://hg.openjdk.java.net/jdk9/jdk9/jdk/file/b4a7d4678a43/test/javax/swing/JLabel/7004134/bug7004134.java
      ---------- END SOURCE ----------

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: