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

JComboBox:Exception occurs in mouse action at Motif,Windows L&F on Win Japanese

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_95, windows_nt

      Description

      This is found on jdk1.2.2 build "N".

      Extract the attached zip file on Win NT/98/95 Japanese.
      Run JComboBoxTest.

      The procedure is below;
      1)Change L&F to Motif or Windows(from default "Metal") at once.
      2)Select an item of combobox ---that causes "NullPointerException".

      In cliciking insert or add button actions are excuted,
      but selecting an item of combobox causes "NullPointerException"
      The errormessage is like this:
           Exception Occurred during event dispatching
           Java.lang.NullPointerException

      But the case below causes no error.
      1)Keep L&F "Metal"---default.
      2)Select an item of combobox ---is excuted correctly.
      3)Change L&F to Motif or Windows
      4)Select an item of combobox ---is excuted correctly.


      Selecting a item of L&F from top to bottom in order, "Exception" can not be
      found.





      ****Nov 9, 1999 update starts **************************************

      This is reproducible in kestrel fcs_N.
      The details of the NullPointerException is below;

      Exception occurred during event dispatching:
      java.lang.NullPointerException
              at javax.swing.plaf.basic.BasicComboBoxUI$EditorFocusListener.focusLost(
      BasicComboBoxUI.java:1378)
              at java.awt.AWTEventMulticaster.focusLost(AWTEventMulticaster.java:175)
              at java.awt.Component.processFocusEvent(Component.java:3645)
              at javax.swing.JComponent.processFocusEvent(JComponent.java:2059)
              at java.awt.Component.processEvent(Component.java:3538)
              at java.awt.Container.processEvent(Container.java:1167)
              at java.awt.Component.dispatchEventImpl(Component.java:2596)
              at java.awt.Container.dispatchEventImpl(Container.java:1216)
              at java.awt.Component.dispatchEvent(Component.java:2500)
              at java.awt.LightweightDispatcher.setFocusRequest(Container.java:2056)
              at java.awt.Container.proxyRequestFocus(Container.java:1338)
              at java.awt.Container.proxyRequestFocus(Container.java:1333)
              at java.awt.Container.proxyRequestFocus(Container.java:1333)
              at java.awt.Container.proxyRequestFocus(Container.java:1333)
              at java.awt.Container.proxyRequestFocus(Container.java:1333)
              at java.awt.Container.proxyRequestFocus(Container.java:1333)
              at java.awt.Container.proxyRequestFocus(Container.java:1333)
              at java.awt.Component.requestFocus(Component.java:4177)
              at javax.swing.JComponent.grabFocus(JComponent.java:967)
              at javax.swing.JComponent.requestFocus(JComponent.java:950)
              at javax.swing.plaf.basic.BasicComboPopup.delegateFocus(BasicComboPopup.
      java:794)
              at javax.swing.plaf.basic.BasicComboPopup$InvocationMouseHandler.mousePr
      essed(BasicComboPopup.java:444)
              at java.awt.Component.processMouseEvent(Component.java:3715)
              at java.awt.Component.processEvent(Component.java:3547)
              at java.awt.Container.processEvent(Container.java:1167)
              at java.awt.Component.dispatchEventImpl(Component.java:2596)
              at java.awt.Container.dispatchEventImpl(Container.java:1216)
              at java.awt.Component.dispatchEvent(Component.java:2500)
              at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2431
      )
              at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2190)

              at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2105)
              at java.awt.Container.dispatchEventImpl(Container.java:1203)
              at java.awt.Window.dispatchEventImpl(Window.java:916)
              at java.awt.Component.dispatchEvent(Component.java:2500)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:320)
              at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:10
      7)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:97)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:88)

      ****Nov 9, 1999 update ends **************************************

      miki.tokunaga@japan 1999-11-09

      Name: apC97674 Date: 11/15/99


          This bug is reproducible on Win NT/98 English too
      (not only Japanese)

      ###@###.###


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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mdavidsosunw Mark Davidson (Inactive)
              Reporter:
              eishidasunw Etsuko Ishida (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: