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

TextField for JPI applet can't accept any input

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      linux, solaris

      Description


      Tested with merlin beta-refresh b72 on Solaris 8 x86 and Solaris8 Sparc using Netscape4.7.

      AWT text component, TextFiled, can not accept any inputting characters, though it can get a focus.

      And the exception as below occurs;
      java.lang.NullPointerException
              at sun.awt.SunToolkit.postEvent(SunToolkit.java:274)
              at java.awt.DefaultKeyboardFocusManager.sendMessage(DefaultKeyboardFocusManager.java:167)
              at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:487)
              at java.awt.Component.dispatchEventImpl(Component.java:3379)
              at java.awt.Container.dispatchEventImpl(Container.java:1440)
              at java.awt.Window.dispatchEventImpl(Window.java:1531)
              at java.awt.Component.dispatchEvent(Component.java:3349)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:439)
              at java.awt.SentEvent.dispatch(SentEvent.java:53)
              at java.awt.DefaultKeyboardFocusManager$DefaultKeyboardFocusManagerSentEvent.dispatch(DefaultKeyboardFocusManager.java:143)
              at java.awt.DefaultKeyboardFocusManager.sendMessage(DefaultKeyboardFocusManager.java:165)
              at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:218)
              at java.awt.Component.dispatchEventImpl(Component.java:3379)
              at java.awt.Container.dispatchEventImpl(Container.java:1440)
              at java.awt.Window.dispatchEventImpl(Window.java:1531)
              at java.awt.Component.dispatchEvent(Component.java:3349)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:439)
              at java.awt.SequencedEvent.dispatch(SequencedEvent.java:97)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:437)
              at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:150)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
              at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3176)
              at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2885)
              at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2842)
              at java.awt.Container.dispatchEventImpl(Container.java:1426)
              at java.awt.Window.dispatchEventImpl(Window.java:1531)
              at java.awt.Component.dispatchEvent(Component.java:3349)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:439)
              at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:150)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)





      To reproduce,

      1. Set $JAVAHOME/jre/plugin/sparc/ns4 to NPX_PLUGIN_PATH on Sparc.
         or
         Set $JAVAHOME/jre/plugin/i386/ns4 to NPX_PLUGIN_PATH on X86.
      2. Lanunch Netscape 4.7
      3. Go to the URL
      http://longpier.eng.sun.com:8080/jaws-i18n/doc/plugin-bat.html
      4. Click the url for Test Items 2, Hello I18N demo. http://longpier.eng.sun.com:8080/jaws-i18n/test/bat/hello-i18n.html
      5. When the demo is loaded and excuted, click on TextField diplayed in "3. Input Method(AWT Client)" and try to input any character.
      Then, the problem occurs; TextFiled can not accept any input.
      Japanese input method can not be available on TextField.

      Trying for some times, sometimes it accepts input, sometimes it does not and activating Java Console, the exception above occurs.

      This problem is seen from b70 and it works file in b69.

      * NOTE *
      There exists 4460979 as a JPI bug for Swing text component.
      (The demo for reproducing "hello-i18n" has a Swing text component and 4460979 can be reproducible with it.)



      ===========================================================================

      This is reproducible on RH Linux6.2J update with merlin beta-refresh b73.

      miki.tokunaga@japan 2001-07-30
      ===========================================================================

      I confirmed that this is not reproducible with b74 on Solaris8/9 Sparc, Solaris 8 x86 and RHLinux6.2Jupdate.

      miki.tokunaga@japan 2001-08-03
      ===========================================================================

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dmikhalksunw Denis Mikhalkin (Inactive)
              Reporter:
              mmtokunasunw Mtokunaga Mtokunaga (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: