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

null reference in ToolTipManager

    XMLWordPrintable

Details

    • b48
    • x86
    • windows_xp

    Backports

      Description

        FULL PRODUCT VERSION :
        java version "1.4.2_03"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
        Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)


        ADDITIONAL OS VERSION INFORMATION :
        Microsoft Windows XP [Version 5.1.2600]

        A DESCRIPTION OF THE PROBLEM :
        When using the JClass library from Quest Software, we often run into an odd case that throws the following null pointer exception over and over and over again. JClass is a comercial library for which the source is not available. They are obviously doing something strange with the tooltip help because it doesn't act like normal component tooltips. While the primary problem almost certainly lies in their software, it would still be a smart idea to add a check for a null pointer to prevent this from blowing up.


        STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
        Cannot be reproduced without the Quest JClass library classes.


        ERROR MESSAGES/STACK TRACES THAT OCCUR :

        java.lang.NullPointerException
               at javax.swing.ToolTipManager.initiateToolTip(ToolTipManager.java:501)
               at javax.swing.ToolTipManager.mouseEntered(ToolTipManager.java:458)
               at java.awt.Component.processMouseEvent(Component.java:5109)
               at com.klg.jclass.chart.JCChart.processMouseEvent(Unknown Source)
               at java.awt.Component.processEvent(Component.java:4897)
               at java.awt.Container.processEvent(Container.java:1569)
               at java.awt.Component.dispatchEventImpl(Component.java:3615)
               at java.awt.Container.dispatchEventImpl(Container.java:1627)
               at java.awt.Component.dispatchEvent(Component.java:3477)
               at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
               at java.awt.LightweightDispatcher.trackMouseEnterExit(Container.java:3323)
               at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3180)
               at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
               at java.awt.Container.dispatchEventImpl(Container.java:1613)
               at java.awt.Window.dispatchEventImpl(Window.java:1606)
               at java.awt.Component.dispatchEvent(Component.java:3477)
               at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
               at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
               at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
               at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
               at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
               at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)


        REPRODUCIBILITY :
        This bug can be reproduced occasionally.
        ###@###.### 2005-1-21 06:25:30 GMT

        Attachments

          Issue Links

            Activity

              People

                alexsch Alexandr Scherbatiy
                jssunw Jitender S (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: