-
Bug
-
Resolution: Fixed
-
P3
-
5.0
-
tiger
-
x86
-
linux_redhat_8.0
With recent Tiger build 1.5.0-beta-b13, running Java2Demo demos.Transforms.TransformAnim test on RH 8.0 (or RH 9.0) will cause a NullPointerException.
- Not able to reproduce the failure on other platforms.
Steps to reproduce
------------------
1) Launch Java2Demo on RH8.0 with Tiger build 13 or later
2) Go to Transforms panel
3) On the TransformAnim Test (lower part of panel), set Strings slider to
max value of 10 Strings.
4) Mouse click on the center of the animated test.
At this point, the test will fail with NullPointerException (see below). What should happen when a user mouse clicks within a test panel is that the test will be enlarged and fill the entire demo panel.
The NPE is a follows:
java.lang.NullPointerException
at sun.awt.X11.XComponentPeer.getNativeContainer(XComponentPeer.java:200)
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:6386)
at java.awt.Component.autoTransferFocus(Component.java:6368)
at java.awt.Component.autoTransferFocus(Component.java:6359)
at java.awt.Component.hide(Component.java:1198)
at java.awt.Component.show(Component.java:1169)
at java.awt.Component.setVisible(Component.java:1122)
at javax.swing.JComponent.setVisible(JComponent.java:2215)
at javax.swing.JTabbedPane.insertTab(JTabbedPane.java:598)
at javax.swing.JTabbedPane.addTab(JTabbedPane.java:675)
at java2d.DemoGroup.mouseClicked(DemoGroup.java:127)
at java.awt.Component.processMouseEvent(Component.java:5310)
at javax.swing.JComponent.processMouseEvent(JComponent.java:2784)
at java.awt.Component.processEvent(Component.java:5104)
at java.awt.Container.processEvent(Container.java:1932)
at java.awt.Component.dispatchEventImpl(Component.java:3808)
at java.awt.Container.dispatchEventImpl(Container.java:1990)
at java.awt.Component.dispatchEvent(Component.java:3659)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3854)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3578)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3499)
at java.awt.Container.dispatchEventImpl(Container.java:1976)
at java.awt.Window.dispatchEventImpl(Window.java:1638)
at java.awt.Component.dispatchEvent(Component.java:3659)
at java. 1awt.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)
- Not able to reproduce the failure on other platforms.
Steps to reproduce
------------------
1) Launch Java2Demo on RH8.0 with Tiger build 13 or later
2) Go to Transforms panel
3) On the TransformAnim Test (lower part of panel), set Strings slider to
max value of 10 Strings.
4) Mouse click on the center of the animated test.
At this point, the test will fail with NullPointerException (see below). What should happen when a user mouse clicks within a test panel is that the test will be enlarged and fill the entire demo panel.
The NPE is a follows:
java.lang.NullPointerException
at sun.awt.X11.XComponentPeer.getNativeContainer(XComponentPeer.java:200)
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:6386)
at java.awt.Component.autoTransferFocus(Component.java:6368)
at java.awt.Component.autoTransferFocus(Component.java:6359)
at java.awt.Component.hide(Component.java:1198)
at java.awt.Component.show(Component.java:1169)
at java.awt.Component.setVisible(Component.java:1122)
at javax.swing.JComponent.setVisible(JComponent.java:2215)
at javax.swing.JTabbedPane.insertTab(JTabbedPane.java:598)
at javax.swing.JTabbedPane.addTab(JTabbedPane.java:675)
at java2d.DemoGroup.mouseClicked(DemoGroup.java:127)
at java.awt.Component.processMouseEvent(Component.java:5310)
at javax.swing.JComponent.processMouseEvent(JComponent.java:2784)
at java.awt.Component.processEvent(Component.java:5104)
at java.awt.Container.processEvent(Container.java:1932)
at java.awt.Component.dispatchEventImpl(Component.java:3808)
at java.awt.Container.dispatchEventImpl(Container.java:1990)
at java.awt.Component.dispatchEvent(Component.java:3659)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3854)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3578)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3499)
at java.awt.Container.dispatchEventImpl(Container.java:1976)
at java.awt.Window.dispatchEventImpl(Window.java:1638)
at java.awt.Component.dispatchEvent(Component.java:3659)
at java. 1awt.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)