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

Null Pointer Exception is thrown when Focus Transfer occurs in synchronous mode

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.4.0
    • Fix Version/s: None
    • Component/s: client-libs
    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_8

      Description

      Using the First Oracle Specific build(developed for Oracle Corpn only) post merlin, we observed a Null Pointer Exception when requesting focus synchronously using the API setLWRequestFocus.

      To reproduce the bug- run the attached test case and the Exception thrown was observed as follows.

      java.lang.NullPointerException
              at java.awt.KeyboardFocusManager.dispatchFocusEvent(KeyboardFocusManager.java:2675)
              at java.awt.KeyboardFocusManager.processSynchronousLightweightTransfer(KeyboardFocusManager.java:2062)
              at sun.awt.motif.MComponentPeer.processSynchronousLightweightTransfer(Native Method)
              at sun.awt.motif.MComponentPeer.requestFocus(MComponentPeer.java:443)
              at java.awt.Component.requestFocusHelper(Component.java:6032)
              at java.awt.Component.requestFocusInWindow(Component.java:5952)
              at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:281)
              at CustomDefaultKeyBoardFocusManager.dispatchEvent(setLWRequestStatusGUI.java:168)
              at java.awt.Component.dispatchEventImpl(Component.java:3396)
              at java.awt.Container.dispatchEventImpl(Container.java:1582)
              at java.awt.Window.dispatchEventImpl(Window.java:1568)
              at java.awt.Component.dispatchEvent(Component.java:3367)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
              at java.awt.SequencedEvent.dispatch(SequencedEvent.java:105)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
              at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190)
              at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)



        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                prssunw Prs Prs (Inactive)
                Reporter:
                duke J. Duke (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: