-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
None
-
1.4.0
-
sparc
-
solaris_8
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)
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)
- relates to
-
JDK-4639214 Application hangs when focus is requested on a component and made invisible
-
- Closed
-
-
JDK-4639217 Application hangs while focus is requested on a component and removed
-
- Closed
-