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

Win32: host IM adapter throws NullPointerException w/ File Chooser of SwingSet

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • None
    • 1.3.0
    • client-libs

      The host input method adapter for Win32 sometimes (not always) throws a null pointer exception on Japanese Windows98 with the following operations:

       - Start SwingSet demo
       - Select "File Chooser" from "Choosers" to bring the dialog
       - Select "ImageClub" -> "food" -> "banana.gif" by double click.
         (which bring up the message dialog)
       - Close the message dialog.

      The stack trace is:

      Exception occurred during event dispatching:
      java.lang.NullPointerException: null pData
              at sun.awt.windows.WInputMethod.handleNativeIMEEvent(Native Method)
              at sun.awt.windows.WInputMethod.dispatchEvent(WInputMethod.java:256)
              at sun.awt.im.InputContext.dispatchEvent(InputContext.java:173)
              at sun.awt.im.InputMethodContext.dispatchEvent(InputMethodContext.java:180)
              at java.awt.Component.dispatchEventImpl(Component.java:2450)
              at java.awt.Container.dispatchEventImpl(Container.java:1301)
              at java.awt.Component.dispatchEvent(Component.java:2420)
              at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2479)
              at java.awt.LightweightDispatcher.trackMouseEnterExit(Container.java:2341)
              at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2236)
              at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2166)
              at java.awt.Container.dispatchEventImpl(Container.java:1288)
              at java.awt.Window.dispatchEventImpl(Window.java:854)
              at java.awt.Component.dispatchEvent(Component.java:2420)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:302)
              at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:105)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:95)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:86)

            duke J. Duke
            okutsu Masayoshi Okutsu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: