-
Bug
-
Resolution: Fixed
-
P3
-
6
-
b47
-
sparc
-
solaris_10
-
Verified
I could reproduce this bug with the latest mustang build only on a Solaris 10 sparc system.
I'm trying to remove a tray icon from the system tray in the actionPerformed method. It throws the following exception:
Exception occurred during event dispatching:
java.lang.NullPointerException
at sun.awt.X11.XTrayIconPeer.getWindow(XTrayIconPeer.java:293)
at sun.awt.X11.XTrayIconPeer$TrayIconEventProxy.handleEvent(XTrayIconPeer.java:304)
at sun.awt.X11.XTrayIconPeer$TrayIconEventProxy.mouseExited(XTrayIconPeer.java:331)
at java.awt.Component.processMouseEvent(Component.java:5927)
at java.awt.Component.processEvent(Component.java:5686)
at java.awt.Component.dispatchEventImpl(Component.java:4360)
at java.awt.Component.dispatchEvent(Component.java:4194)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:592)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:270)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:198)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:171)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:166)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:158)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:119)
To reproduce:
1. Run the attached testcase
2. Double click on the tray icon. The exception is thrown only when the tray icon is double clicked immediately after moving the mouse pointer to the tray icon, ie don't place the mouse pointer over the tray icon for sometime before clicking it.
###@###.### 2005-07-21 07:29:15 GMT
I'm trying to remove a tray icon from the system tray in the actionPerformed method. It throws the following exception:
Exception occurred during event dispatching:
java.lang.NullPointerException
at sun.awt.X11.XTrayIconPeer.getWindow(XTrayIconPeer.java:293)
at sun.awt.X11.XTrayIconPeer$TrayIconEventProxy.handleEvent(XTrayIconPeer.java:304)
at sun.awt.X11.XTrayIconPeer$TrayIconEventProxy.mouseExited(XTrayIconPeer.java:331)
at java.awt.Component.processMouseEvent(Component.java:5927)
at java.awt.Component.processEvent(Component.java:5686)
at java.awt.Component.dispatchEventImpl(Component.java:4360)
at java.awt.Component.dispatchEvent(Component.java:4194)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:592)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:270)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:198)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:171)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:166)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:158)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:119)
To reproduce:
1. Run the attached testcase
2. Double click on the tray icon. The exception is thrown only when the tray icon is double clicked immediately after moving the mouse pointer to the tray icon, ie don't place the mouse pointer over the tray icon for sometime before clicking it.
###@###.### 2005-07-21 07:29:15 GMT
- relates to
-
JDK-6303819 PIT. SystemTray testcase deadlocks
-
- Closed
-