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.
I work with NB 3.6 FCS (JDK 1.4.2 on RH7.3), occasionally this exception pops up in my face. Usually after I try to execute something, e.g. last time after trying to generate Javadoc for my class. I don't know whether this is a known issue or not. But it is annoying. java.lang.NullPointerException at javax.swing.ToolTipManager.mouseExited(ToolTipManager.java:532) at java.awt.Component.processMouseEvent(Component.java:5106) at java.awt.Component.processEvent(Component.java:4897) at java.awt.Container.processEvent(Container.java:1569) at java.awt.Window.processEvent(Window.java:1092) at java.awt.Component.dispatchEventImpl(Component.java:3615) at java.awt.Container.dispatchEventToSelf(Container.java:1649) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3481) at java.awt.LightweightDispatcher.trackMouseEnterExit(Container.java:3315) 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) [catch] 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)
It doesn't happen at all on windows. Passing to Milos to evaluate on Linux. However I see no netbeans code in stack trace, so this will be either hard to fix or JDK problem. Looking at the code, IMHO it's JDK bug, here is code in question Container insideComponentWindow = insideComponent.getTopLevelAncestor(); location.x -= insideComponentWindow.getX(); <<<<< NPE here However method getTopLevelAncestor() *can* return null if source is out of AWT hierarchy, which indeed could happen if mouse events are delayed because AWT system is busy at the time. Milos, please try to find this error in JDK database and close this as duplicate of found JDK bug. Thx.
yup. looks like a bug on 1.4.2.. http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5050506 according to the comment there, it's fixed in 1.5. closing as WONTFIX since it's a JDK bug.
*** Issue 43215 has been marked as a duplicate of this issue. ***
*** Issue 51539 has been marked as a duplicate of this issue. ***
JDK bug .. closing