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

[IIIMP] Exception of ImputMethodContext occurred in Passive Client when input Ch

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.2.0
    • 1.2.0
    • client-libs
    • 1.2fcs
    • sparc
    • solaris_2.6
    • Not verified

      JDK: 1.2beta4-K
      OS: SOlaris 2.6
      Locale: zh

      An NullPointerException about InputMethodContext.getTextLocation occurrred
      when input Chinese in passive client, and the input method adapter is
      IIIMP.

      Following is the step to generate this bug:
      o start the IIIMP server
      o java IMFTester
      o select "Network Input method-Chinese"
      o In Pasive Client with default InputContext, switch to Chinese input method
      o input Chinese, the exception is always occurred as follows:
      java.lang.NullPointerException
              at sun.awt.im.InputMethodContext.getTextLocation(Compiled Code)
              at sun.awt.im.iiimp.IIIMPAdapter$Lookup.lookupDraw(Compiled Code)
              at sun.awt.im.iiimp.InputContext.processLookupEvent(Compiled Code)
              at sun.awt.im.iiimp.InputContext.processEvent(Compiled Code)
              at sun.awt.im.iiimp.IIIMPDispatchEvent.processProtocol(Compiled Code)
              at sun.awt.im.iiimp.IIIMPClient.getReply(Compiled Code)
              at sun.awt.im.iiimp.IIIMPClient.request(Compiled Code)
              at sun.awt.im.iiimp.IIIMPClient.processKeyEvent(Compiled Code)
              at sun.awt.im.iiimp.InputContext.deliverKeyEvent(Compiled Code)
              at sun.awt.im.iiimp.InputContext.dispatchKeyEventImpl(Compiled Code)
              at sun.awt.im.iiimp.InputContext.dispatchKeyEvent(Compiled Code)
              at sun.awt.im.iiimp.IIIMPAdapter.dispatchEvent(Compiled Code)
              at sun.awt.im.InputContext.dispatchEvent(Compiled Code)
              at sun.awt.im.InputMethodContext.dispatchEvent(Compiled Code)
              at java.awt.Component.dispatchEventImpl(Compiled Code)
              at java.awt.Component.dispatchEvent(Compiled Code)
              at java.awt.LightweightDispatcher.processKeyEvent(Compiled Code)
              at java.awt.LightweightDispatcher.dispatchEvent(Compiled Code)
              at java.awt.Container.dispatchEventImpl(Compiled Code)
              at java.awt.Component.dispatchEvent(Compiled Code)
              at java.awt.EventQueue.dispatchEvent(Compiled Code)
              at java.awt.EventDispatchThread.run(Compiled Code)




      jim.hu@prc 1998-07-14

            sherman Xueming Shen
            jhusunw Jim Hu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: