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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.2.0
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      1.2fcs
    • CPU:
      sparc
    • OS:
      solaris_2.6
    • Verification:
      Not verified

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: