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

When using IIIMP input Chinese on passive client, an exception occurred.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.2.0
    • client-libs

      JDK Version: 1.2beta4-H
      OS: Solaris 2.6
      LOcale: zh

      When input Chinese on passive client, an exception occurred.
      You can run TDC's IMF Test suite to reproduce it. Following is the
      exception that generated:
      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-06-04

      Hi All,
      When using IIIMP input method Adapter, this bug will gwnerated.


      jim.hu@prc 1998-06-08

      This bug still exists in 1.2beta4-J, here is the step s to reproduce this bug:
      o java IMFTester
      o switch input method to IIIMP
      o input some characters in passive clients, then switch to Chinese input
         method, when input chracters, this exception will generate.


      jim.hu@prc 1998-06-22

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: