-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
5.0
-
None
-
x86
-
linux_redhat_8.0
Launch SwingSet2.
Click on the title bar of Internal Frame 'frame 0' to make it selected.
Click on the close button of 'frame 0'.
Following exception is thrown:
java.lang.NullPointerException
at sun.awt.X11.XComponentPeer.getNativeContainer(XComponentPeer.java:199)
at sun.awt.X11.XKeyboardFocusManagerPeer.clearGlobalFocusOwner(XKeyboardFocusManagerPeer.java:75)
at java.awt.KeyboardFocusManager._clearGlobalFocusOwner(KeyboardFocusManager.java:522)
at java.awt.KeyboardFocusManager.clearGlobalFocusOwner(KeyboardFocusManager.java:517)
at java.awt.Component.doAutoTransfer(Component.java:6497)
at java.awt.Component.autoTransferFocus(Component.java:6479)
at java.awt.Component.autoTransferFocus(Component.java:6470)
at java.awt.Component.hide(Component.java:1318)
at javax.swing.JInternalFrame.hide(JInternalFrame.java:1723)
at java.awt.Component.show(Component.java:1289)
at java.awt.Component.setVisible(Component.java:1242)
at javax.swing.JComponent.setVisible(JComponent.java:2335)
at javax.swing.JInternalFrame.dispose(JInternalFrame.java:1745)
at javax.swing.JInternalFrame.doDefaultCloseAction(JInternalFrame.java:1589)
at javax.swing.plaf.basic.BasicInternalFrameTitlePane$CloseAction.actionPerformed(BasicInternalFrameTitlePane.java:599)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1832)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2150)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:232)
at java.awt.Component.processMouseEvent(Component.java:5418)
at javax.swing.JComponent.processMouseEvent(JComponent.java:2920)
at java.awt.Component.processEvent(Component.java:5215)
at java.awt.Container.processEvent(Container.java:1904)
at java.awt.Component.dispatchEventImpl(Component.java:3919)
at java.awt.Container.dispatchEventImpl(Container.java:1962)
at java.awt.Component.dispatchEvent(Component.java:3770)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3921)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3636)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3566)
at java.awt.Container.dispatchEventImpl(Container.java:1948)
at java.awt.Window.dispatchEventImpl(Window.java:1729)
at java.awt.Component.dispatchEvent(Component.java:3770)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:214)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Note: CustomerCall section says rh8, I'm actually using rh9 (no rh9 choice)
Click on the title bar of Internal Frame 'frame 0' to make it selected.
Click on the close button of 'frame 0'.
Following exception is thrown:
java.lang.NullPointerException
at sun.awt.X11.XComponentPeer.getNativeContainer(XComponentPeer.java:199)
at sun.awt.X11.XKeyboardFocusManagerPeer.clearGlobalFocusOwner(XKeyboardFocusManagerPeer.java:75)
at java.awt.KeyboardFocusManager._clearGlobalFocusOwner(KeyboardFocusManager.java:522)
at java.awt.KeyboardFocusManager.clearGlobalFocusOwner(KeyboardFocusManager.java:517)
at java.awt.Component.doAutoTransfer(Component.java:6497)
at java.awt.Component.autoTransferFocus(Component.java:6479)
at java.awt.Component.autoTransferFocus(Component.java:6470)
at java.awt.Component.hide(Component.java:1318)
at javax.swing.JInternalFrame.hide(JInternalFrame.java:1723)
at java.awt.Component.show(Component.java:1289)
at java.awt.Component.setVisible(Component.java:1242)
at javax.swing.JComponent.setVisible(JComponent.java:2335)
at javax.swing.JInternalFrame.dispose(JInternalFrame.java:1745)
at javax.swing.JInternalFrame.doDefaultCloseAction(JInternalFrame.java:1589)
at javax.swing.plaf.basic.BasicInternalFrameTitlePane$CloseAction.actionPerformed(BasicInternalFrameTitlePane.java:599)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1832)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2150)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:232)
at java.awt.Component.processMouseEvent(Component.java:5418)
at javax.swing.JComponent.processMouseEvent(JComponent.java:2920)
at java.awt.Component.processEvent(Component.java:5215)
at java.awt.Container.processEvent(Container.java:1904)
at java.awt.Component.dispatchEventImpl(Component.java:3919)
at java.awt.Container.dispatchEventImpl(Container.java:1962)
at java.awt.Component.dispatchEvent(Component.java:3770)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3921)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3636)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3566)
at java.awt.Container.dispatchEventImpl(Container.java:1948)
at java.awt.Window.dispatchEventImpl(Window.java:1729)
at java.awt.Component.dispatchEvent(Component.java:3770)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:214)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Note: CustomerCall section says rh8, I'm actually using rh9 (no rh9 choice)
- duplicates
-
JDK-4900298 NPE thrown from Java2Demo with XAWT
-
- Resolved
-