JDK-4178771 : SwingSet with JDK-1.2fcs-M occassionally throws java.awt.AWTEventMulticaster
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.2.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_2.6
  • CPU: sparc
  • Submitted: 1998-10-05
  • Updated: 1998-10-08
  • Resolved: 1998-10-08
Related Reports
Duplicate :  
Description
On Solaris 2.6, SwingSet with JDK-1.2fcs-M occassionally throws java.awt.AWTEventMulticaster while using ToolTips on the Cow.  It's pretty difficult to reproduce.

Steps to Reproduce:
0) Launch SwingSet on Solaris 2.6.
1) Change to Motif.
2) Bring up and dismiss FileChooser.
3) Try lot of different things.
4) Keep going to the Cow and using ToolTips.  Bring the cursor off the cow over the tab panes.
RESULT: Eventually the following exception will be thrown:



Exception occurred during event dispatching:
java.lang.ClassCastException: java.awt.AWTEventMulticaster
        at java.awt.Toolkit$ToolkitEventMulticaster.remove(Compiled Code)
        at java.awt.Toolkit.removeAWTEventListener(Compiled Code)
        at java.awt.LightweightDispatcher$2.run(Compiled Code)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.awt.LightweightDispatcher.stopListeningForOtherDrags(Compiled Code)
        at java.awt.LightweightDispatcher.trackMouseEnterExit(Compiled Code)
        at java.awt.LightweightDispatcher.processMouseEvent(Compiled Code)
        at java.awt.LightweightDispatcher.dispatchEvent(Compiled Code)
        at java.awt.Container.dispatchEventImpl(Compiled Code)
        at java.awt.Window.dispatchEventImpl(Compiled Code)
        at java.awt.Component.dispatchEvent(Compiled Code)
        at java.awt.EventQueue.dispatchEvent(Compiled Code)
        at java.awt.EventDispatchThread.run(Compiled Code)

Comments
EVALUATION This looks like a problem in java.awt.LightweightDispatcher.stopListeningForOtherDrags rather than Swing, so I'm reassigning the bug to classes_awt. hans.muller@Eng 1998-10-06
06-10-1998