|
From: SourceForge.net <no...@so...> - 2004-01-16 18:53:42
|
Bugs item #878256, was opened at 2004-01-16 13:55 Message generated for change (Comment added) made by woland_pl You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100588&aid=878256&group_id=588 Category: editor core Group: minor bug Status: Open Resolution: None Priority: 5 Submitted By: Michal Wolanski (woland_pl) Assigned to: Nobody/Anonymous (nobody) Summary: Can't dispose InputContext while it's active Initial Comment: There is a problem with InputContext disposing. I'm developing a plugin for jEdit which uses JTables. If a row in the table is selected when jEdit is being closed, the following exception is thrown: java.lang.IllegalStateException: Can't dispose InputContext while it's active As you can read here: http://developer.java.sun.com/developer/bugParade/bugs /4289940.html it's not a bug in JDK, but probably in the application - in jEdit in this case. The complete stack is: java.lang.IllegalStateException: Can't dispose InputContext while it's active at sun.awt.im.InputContext.dispose(Unknown Source) at java.awt.WindowDisposeAction.run(Unknown Source) at java.awt.Window.dispose(Unknown Source) at org.gjt.sp.jedit.View.close(View.java:1211) at org.gjt.sp.jedit.jEdit.exit(jEdit.java:2484) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke (Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at bsh.Reflect.invokeOnMethod(Reflect.java:145) at bsh.Reflect.invokeStaticMethod(Reflect.java:100) at bsh.Name.invokeMethod(Name.java:812) at bsh.BSHMethodInvocation.eval (BSHMethodInvocation.java:55) at bsh.BSHPrimaryExpression.eval (BSHPrimaryExpression.java:102) at bsh.BSHPrimaryExpression.eval (BSHPrimaryExpression.java:47) at bsh.BSHBlock.evalBlock(BSHBlock.java:106) at bsh.BSHBlock.eval(BSHBlock.java:79) at bsh.BshMethod.invokeImpl(BshMethod.java:306) at bsh.BshMethod.invoke(BshMethod.java:206) at bsh.BshMethod.invoke(BshMethod.java:157) at org.gjt.sp.jedit.BeanShell.runCachedBlock (BeanShell.java:521) at org.gjt.sp.jedit.BeanShellAction.invoke (BeanShellAction.java:76) at org.gjt.sp.jedit.gui.InputHandler.invokeAction (InputHandler.java:229) at org.gjt.sp.jedit.jEdit.invokeAction(jEdit.java:2901) at org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed (EditAction.java:216) at javax.swing.AbstractButton.fireActionPerformed (Unknown Source) at javax.swing.AbstractButton$ForwardActionEvents.actionP erformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed (Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.AbstractButton.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI.doClick (Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandl er.mouseReleased(Unkno wn Source) at java.awt.AWTEventMulticaster.mouseReleased (Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent (Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent (Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent (Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForHierarch y(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy (Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) ---------------------------------------------------------------------- >Comment By: Michal Wolanski (woland_pl) Date: 2004-01-16 18:53 Message: Logged In: YES user_id=952683 This problem exists only with JDK 1.4.2.01. Everything is ok on JDK 1.4.2.03. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100588&aid=878256&group_id=588 |