This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 56936 - Error raised when clicked outside navigator window
Summary: Error raised when clicked outside navigator window
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: David Simonek
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2005-03-24 14:48 UTC by Antonin Nebuzelsky
Modified: 2005-09-05 10:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antonin Nebuzelsky 2005-03-24 14:48:04 UTC
java.lang.Error: Destination component not connected to component tree hierarchy
 at javax.swing.SwingUtilities.convertPoint(SwingUtilities.java:123)
 at javax.swing.SwingUtilities.convertRectangle(SwingUtilities.java:156)
 at
org.netbeans.modules.navigator.NavigatorJTree.getToolTipLocation(NavigatorJTree.java:129)
 at javax.swing.ToolTipManager.mouseMoved(ToolTipManager.java:587)
 at org.netbeans.modules.navigator.TooltipHack.invokeTip(TooltipHack.java:52)
 at org.netbeans.modules.navigator.Navigator.invokeTipHack(Navigator.java:1044)
[catch] at org.netbeans.modules.javanavigation.JUtils$1.run(JUtils.java:535)
 at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
 at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
 at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Comment 1 David Simonek 2005-03-24 15:08:15 UTC
Build number, JDK version, reproductible steps please?
Comment 2 Antonin Nebuzelsky 2005-03-24 15:18:39 UTC
* make the navigator window sliding
* select a java class somewhere in the IDE
* move mouse cursor over the navigator button to slide it out
* move mouse cursor over the navigator window to show some tooltips
* move mouse cursor out of navigator and click to dismiss navigator window
-> sometimes you get the error
Comment 3 Antonin Nebuzelsky 2005-03-24 15:19:21 UTC
latest trunk build, jdk 5.0 on linux
Comment 4 David Simonek 2005-03-24 15:45:08 UTC
OK, thanks.
Comment 5 David Simonek 2005-04-06 17:35:13 UTC
fixed in main trunk. It seems that tooltip hacking was not a great idea. I hope
I'll have time to rewrite it in next release.

/cvs/objectbrowser/navigator/src/org/netbeans/modules/navigator/Navigator.java,v
 <--  Navigator.java
new revision: 1.34; previous revision: 1.33