-
Bug
-
Resolution: Not an Issue
-
P4
-
None
-
4_dev, 4_fcs, 1.3.0
-
generic, x86
-
solaris_8, windows_nt
I got a program where I can reliable reproduce the following error:
Exception during disposal:
java.lang.reflect.InvocationTargetException: java.lang.IllegalStateException: Can't dispose InputContext while it's active
at sun.awt.im.InputContext.dispose(InputContext.java:541)
at java.awt.Window$1$DisposeAction.run(Window.java:442)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:151)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:318)
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:107)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:97)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:88)
This happens when using keyboard input, e.g., pressing the spacebar, in
an JOptionPane. Clicking on the button does not cause the problem.
I tried to write a simpler example to provoke the error bug has been
unable to do so. Drop by Cup02 3th floor, or send email to get the
testcase
rene.schmidt@eng 1999-11-10
###@###.### 2002-04-08
This problem can easily reproduce using Java3D and JDK1.4 plugin
inside IE. The whole JVM/plugin hangs when pressing the back
button inside browsers. Here is the stack trace we got,
it can be repduced by installing Java3D v1.3 beta1 , go
the the programs/examples/index.html pages and try
the example one by one.
java.lang.IllegalStateException: Can't dispose InputContext while it's active
at sun.awt.im.InputContext.dispose(InputContext.java:596)
at java.awt.Window$1$DisposeAction.run(Window.java:524)
at java.awt.Window.dispose(Window.java:534)
at sun.plugin.viewer.frame.IExplorerEmbeddedFrame.windowClosing(Unknown Source)
at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:287)
at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:287)
at java.awt.Window.processWindowEvent(Window.java:1083)
at java.awt.Window.processEvent(Window.java:1042)
at java.awt.Component.dispatchEventImpl(Component.java:3526)
at java.awt.Container.dispatchEventImpl(Container.java:1437)
at java.awt.Window.dispatchEventImpl(Window.java:1566)
at java.awt.Component.dispatchEvent(Component.java:3367)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
Exception during disposal:
java.lang.reflect.InvocationTargetException: java.lang.IllegalStateException: Can't dispose InputContext while it's active
at sun.awt.im.InputContext.dispose(InputContext.java:541)
at java.awt.Window$1$DisposeAction.run(Window.java:442)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:151)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:318)
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:107)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:97)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:88)
This happens when using keyboard input, e.g., pressing the spacebar, in
an JOptionPane. Clicking on the button does not cause the problem.
I tried to write a simpler example to provoke the error bug has been
unable to do so. Drop by Cup02 3th floor, or send email to get the
testcase
rene.schmidt@eng 1999-11-10
###@###.### 2002-04-08
This problem can easily reproduce using Java3D and JDK1.4 plugin
inside IE. The whole JVM/plugin hangs when pressing the back
button inside browsers. Here is the stack trace we got,
it can be repduced by installing Java3D v1.3 beta1 , go
the the programs/examples/index.html pages and try
the example one by one.
java.lang.IllegalStateException: Can't dispose InputContext while it's active
at sun.awt.im.InputContext.dispose(InputContext.java:596)
at java.awt.Window$1$DisposeAction.run(Window.java:524)
at java.awt.Window.dispose(Window.java:534)
at sun.plugin.viewer.frame.IExplorerEmbeddedFrame.windowClosing(Unknown Source)
at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:287)
at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:287)
at java.awt.Window.processWindowEvent(Window.java:1083)
at java.awt.Window.processEvent(Window.java:1042)
at java.awt.Component.dispatchEventImpl(Component.java:3526)
at java.awt.Container.dispatchEventImpl(Container.java:1437)
at java.awt.Window.dispatchEventImpl(Window.java:1566)
at java.awt.Component.dispatchEvent(Component.java:3367)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
- relates to
-
JDK-4730023 Suggest calling superclass if overriding removeNotify
-
- Resolved
-
-
JDK-4867453 Component.removeNotify() should always deactivate InputContext
-
- Resolved
-