-
Bug
-
Resolution: Fixed
-
P4
-
1.1.7
-
b04
-
x86, sparc
-
solaris_2.5.1, windows_nt
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2023192 | 1.1.8 | Fred Ecks | P4 | Resolved | Fixed | 1.1.8 |
This had been filed as #4179500, but it was accidentally closed as a duplicate.
This new bug is being filed in its place. - fred.ecks@Eng 1998-10-07
Name: chT40241 Date: 10/07/98
Every so often, the exception below occurs. It is not reliably reproducible with an exact test case. Looking at the source code
in java.awt.EventQueue line 251, I notice that there is a blind
cast:
return (EventQueueListener) removeInternal(l, oldl);
For whatever reason, this cast is sometimes not valid.
It doesn't seem to disrupt the application, but it is disturbing to see it.
Exception occurred during event dispatching.
java.lang.ClassCastException: java.awt.AWTEventMulticaster
at java.awt.EventQueue$EventQueueMulticaster.remove(EventQueue.java:251)
at java.awt.EventQueue.removeEventQueueListener(EventQueue.java:181)
at java.awt.LightweightDispatcher.stopListeningForOtherDrags(Container.j
ava:1627)
at java.awt.LightweightDispatcher.trackMouseEnterExit(Container.java:159
1)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:1512)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:1453)
at java.awt.Container.dispatchEventImpl(Container.java:936)
at java.awt.Component.dispatchEvent(Component.java:1741)
at com.sas.apps.webEIS.designer.ReportEventDispatchThread.run(ReportEven
tDispatchThread.java:74)
======================================================================
This new bug is being filed in its place. - fred.ecks@Eng 1998-10-07
Name: chT40241 Date: 10/07/98
Every so often, the exception below occurs. It is not reliably reproducible with an exact test case. Looking at the source code
in java.awt.EventQueue line 251, I notice that there is a blind
cast:
return (EventQueueListener) removeInternal(l, oldl);
For whatever reason, this cast is sometimes not valid.
It doesn't seem to disrupt the application, but it is disturbing to see it.
Exception occurred during event dispatching.
java.lang.ClassCastException: java.awt.AWTEventMulticaster
at java.awt.EventQueue$EventQueueMulticaster.remove(EventQueue.java:251)
at java.awt.EventQueue.removeEventQueueListener(EventQueue.java:181)
at java.awt.LightweightDispatcher.stopListeningForOtherDrags(Container.j
ava:1627)
at java.awt.LightweightDispatcher.trackMouseEnterExit(Container.java:159
1)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:1512)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:1453)
at java.awt.Container.dispatchEventImpl(Container.java:936)
at java.awt.Component.dispatchEvent(Component.java:1741)
at com.sas.apps.webEIS.designer.ReportEventDispatchThread.run(ReportEven
tDispatchThread.java:74)
======================================================================
- backported by
-
JDK-2023192 ClassCastException: AWTEventMulticaster, EventQueue.java, line 251
- Resolved
- relates to
-
JDK-4178589 ToolkitEventMulticaster must override AWTEventMulticaster.remove(EventListener)
- Closed
-
JDK-4179500 ClassCastException: AWTEventMulticaster, EventQueue.java, line 251
- Closed