Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4245056

IllegalStateException: Can't have two active InputContext

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.3.0
    • client-libs

      Kestrel "G" WinNT4.0 Japanese:

      1. Run SwingSet.
      2. Choose menu "Choosers->File Chooser"
      3. Select one of "GIF" file on file table and click "OK".

      Following exception has been reported.

      Exception occurred during event dispatching:
      java.lang.IllegalStateException: Can't have two active InputContext at the same
      time
              at sun.awt.im.ExecutableInputMethodManager.setInputContext(..\..\..\..\s
      rc\share\classes\sun\awt\im\InputMethodManager.java:285)
              at sun.awt.im.InputContext.activate(..\..\..\..\src\share\classes\sun\aw
      t\im\InputContext.java:242)
              at sun.awt.im.InputContext.dispatchEvent(..\..\..\..\src\share\classes\s
      un\awt\im\InputContext.java:183)
              at sun.awt.im.InputMethodContext.dispatchEvent(..\..\..\..\src\share\cla
      sses\sun\awt\im\InputMethodContext.java:133)
              at java.awt.Component.dispatchEventImpl(..\..\..\..\src\share\classes\ja
      va\awt\Component.java:2371)
              at java.awt.Container.dispatchEventImpl(..\..\..\..\src\share\classes\ja
      va\awt\Container.java:1192)
              at java.awt.Component.dispatchEvent(..\..\..\..\src\share\classes\java\a
      wt\Component.java:2340)
              at java.awt.LightweightDispatcher.processFocusEvent(..\..\..\..\src\shar
      e\classes\java\awt\Container.java:2105)
              at java.awt.LightweightDispatcher.dispatchEvent(..\..\..\..\src\share\cl
      asses\java\awt\Container.java:2062)
              at java.awt.Container.dispatchEventImpl(..\..\..\..\src\share\classes\ja
      va\awt\Container.java:1179)
              at java.awt.Window.dispatchEventImpl(..\..\..\..\src\share\classes\javaawt\Window.java:761)
              at java.awt.Component.dispatchEvent(..\..\..\..\src\share\classes\java\a
      wt\Component.java:2340)
              at java.awt.EventQueue.dispatchEvent(..\..\..\..\src\share\classes\javaawt\EventQueue.java:287)
              at java.awt.EventDispatchThread.pumpOneEvent(..\..\..\..\src\share\class
      es\java\awt\EventDispatchThread.java:105)
              at java.awt.EventDispatchThread.pumpEvents(..\..\..\..\src\share\classes
      \java\awt\EventDispatchThread.java:95)
              at java.awt.Dialog.show(..\..\..\..\src\share\classes\java\awt\Dialog.ja
      va:369)
              at javax.swing.JOptionPane.showOptionDialog(1.2_src\javax\swing\JOptionP
      ane.java:642)
              at javax.swing.JOptionPane.showMessageDialog(1.2_src\javax\swing\JOption
      Pane.java:499)
              at javax.swing.JOptionPane.showMessageDialog(1.2_src\javax\swing\JOption
      Pane.java:479)
              at javax.swing.JOptionPane.showMessageDialog(1.2_src\javax\swing\JOption
      Pane.java:461)
              at SwingSet$9.actionPerformed(..\..\..\demo\jfc\SwingSet\src\SwingSet.ja
      va:815)
              at javax.swing.AbstractButton.fireActionPerformed(..\..\..\..\src\shareclasses\javax\swing\AbstractButton.java:1080)
              at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(..\....\..\src\share\classes\javax\swing\AbstractButton.java:1115)
              at javax.swing.DefaultButtonModel.fireActionPerformed(..\..\..\..\src\sh
      are\classes\javax\swing\DefaultButtonModel.java:378)
              at javax.swing.DefaultButtonModel.setPressed(..\..\..\..\src\share\class
      es\javax\swing\DefaultButtonModel.java:250)
              at javax.swing.AbstractButton.doClick(..\..\..\..\src\share\classes\java
      x\swing\AbstractButton.java:230)
              at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseRelease
      d(..\..\..\..\..\src\share\classes\javax\swing\plaf\basic\BasicMenuItemUI.java:8
      13)
              at java.awt.Component.processMouseEvent(..\..\..\..\src\share\classes\ja
      va\awt\Component.java:3455)
              at java.awt.Component.processEvent(..\..\..\..\src\share\classes\java\aw
      t\Component.java:3284)
              at java.awt.Container.processEvent(..\..\..\..\src\share\classes\java\aw
      t\Container.java:1143)
              at java.awt.Component.dispatchEventImpl(..\..\..\..\src\share\classes\ja
      va\awt\Component.java:2427)
              at java.awt.Container.dispatchEventImpl(..\..\..\..\src\share\classes\ja
      va\awt\Container.java:1192)
              at java.awt.Component.dispatchEvent(..\..\..\..\src\share\classes\java\a
      wt\Component.java:2340)
              at java.awt.LightweightDispatcher.retargetMouseEvent(..\..\..\..\src\sha
      re\classes\java\awt\Container.java:2370)
              at java.awt.LightweightDispatcher.processMouseEvent(..\..\..\..\src\shar
      e\classes\java\awt\Container.java:2154)
              at java.awt.LightweightDispatcher.dispatchEvent(..\..\..\..\src\share\cl
      asses\java\awt\Container.java:2057)
              at java.awt.Container.dispatchEventImpl(..\..\..\..\src\share\classes\ja
      va\awt\Container.java:1179)
              at java.awt.Window.dispatchEventImpl(..\..\..\..\src\share\classes\javaawt\Window.java:761)
              at java.awt.Component.dispatchEvent(..\..\..\..\src\share\classes\java\a
      wt\Component.java:2340)
              at java.awt.EventQueue.dispatchEvent(..\..\..\..\src\share\classes\javaawt\EventQueue.java:287)
              at java.awt.EventDispatchThread.pumpOneEvent(..\..\..\..\src\share\class
      es\java\awt\EventDispatchThread.java:105)
              at java.awt.EventDispatchThread.pumpEvents(..\..\..\..\src\share\classes
      \java\awt\EventDispatchThread.java:95)
              at java.awt.EventDispatchThread.run(..\..\..\..\src\share\classes\java\a
      wt\EventDispatchThread.java:86)

      [koushi.takahashi@japan 1999-06-09]

            nlindenbsunw Norbert Lindenberg (Inactive)
            ktakahassunw Koushi Takahashi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: