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

Simplified Chinese QuanPin input generates exception with Java Plug-in

XMLWordPrintable

    • beta
    • x86
    • windows_2000

      This bug occurs with the Java Plug-in and Simplified Chinese.

      1) Using the J2SE v1.4.2_04 plug-in, run the Sun/Java SwingSet2 applet-based demo.
      2) In the default SwingSet2 Frames Demo tab click in the text field on the right for Frame Title.
      3) Select the Chinese (Simplified) QuanPin Windows Input Locale from Regional Options.
      4) Using the same browser session, run the testcase again i.e., push the "Refresh" button. Repeat step 2.

      RESULT:
      The following exception is generated. Interestingly, you can still input Simplified Chinese text despite the exception.

      java.lang.NullPointerException
      @ at sun.awt.im.CompositionArea.setText(Unknown Source)
      @ at sun.awt.im.CompositionAreaHandler.inputMethodTextChanged(Unknown
      Source)
      @ at sun.awt.im.CompositionAreaHandler.processInputMethodEvent(Unknown
      Source)
      at sun.awt.im.InputMethodContext.dispatchEvent(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.EventQueue.dispatchEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)
      ###@###.### 10/19/04 19:29 GMT

            xlu Xiaobin Lu (Inactive)
            mmma Marvin Ma (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: