commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commit-cp] [bugs #11538] NullPointerException in ToolTipManger


From: Michael Koch
Subject: [commit-cp] [bugs #11538] NullPointerException in ToolTipManger
Date: Thu, 13 Jan 2005 16:01:35 +0000
User-agent: Mozilla/5.0 (compatible; Konqueror/3.3; Linux; X11; i686; de) (KHTML, like Gecko)

This is an automated notification sent by Savannah.
It relates to:
                bugs #11538, project classpath

==============================================================================
 LATEST MODIFICATIONS of bugs #11538:
==============================================================================

               Posted by: Michael Koch <mkoch>
               Posted on: 2005-01-13 16:01 (GMT)
    _______________________________________________________

                  Status:                   Fixed -> None                   
             Open/Closed:                  Closed -> Open                   

    _______________________________________________________

Follow-up Comment:
I reopen this bug as it is still there and its just more curious where you
exactlcy click.

==============================================================================
 OVERVIEW of bugs #11538:
==============================================================================

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11538>

                 Summary: NullPointerException in ToolTipManger
                 Project: classpath
            Submitted by: None
            Submitted on: Son 09.01.2005 um 02:59
                Category: classpath
                Severity: 5 - Average
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
        Platform Version: None

    _______________________________________________________


1. click at menu

2. click in middle of window



------------------------------



$ kaffe-cvs Test

Exception during event dispatch:

java.lang.NullPointerException

   at javax.swing.ToolTipManager.mousePressed (ToolTipManager.java:427)

   at java.awt.AWTEventMulticaster.mousePressed
(AWTEventMulticaster.java:333)

   at java.awt.Component.processMouseEvent (Component.java:3047)

   at java.awt.Component.processEvent (Component.java:2911)

   at java.awt.Container.processEvent (Container.java:841)

   at java.awt.Component.dispatchEventImpl (Component.java:4759)

   at java.awt.Container.dispatchEventImpl (Container.java:1536)

   at java.awt.Component.dispatchEvent (Component.java:2276)

   at java.awt.LightweightDispatcher.handleEvent (Container.java:1978)

   at java.awt.Container.dispatchEventImpl (Container.java:1525)

   at java.awt.Window.dispatchEventImpl (Window.java:616)

   at java.awt.Component.dispatchEvent (Component.java:2276)

   at java.awt.EventQueue.dispatchEvent (EventQueue.java:425)

   at java.awt.EventDispatchThread.run (EventDispatchThread.java:81)

   at java.lang.VMThread.run (VMThread.java:123)



------------------------------



import javax.swing.*;

public class Test extends JFrame {

    public Test() {

        JMenu m = new JMenu("File");

        m.setToolTipText("file menu");

        JMenuBar mb = new JMenuBar();

        mb.add(m);

        setJMenuBar(mb);

        setSize(300, 200);

    }

    public static void main(String [] args) {

        JFrame f = new Test();

        f.show();

    }

}



    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Don 13.01.2005 um 16:01       By: Michael Koch <mkoch>
I reopen this bug as it is still there and its just more curious where you
exactlcy click.

-------------------------------------------------------
Date: Die 11.01.2005 um 17:15       By: Michael Koch <mkoch>
This problem is not reproducable anymore after I merged Graydon's thread
patch. I close this bug. If you find another testcase which triggers it again
please file a new bug.





    _______________________________________________________

Carbon-Copy List:

CC Address                          | Comment
------------------------------------+-----------------------------
mkz                                 | 




==============================================================================

This item URL is:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11538>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]