-
Bug
-
Resolution: Fixed
-
P3
-
5.0, 6
-
b62
-
generic, x86, sparc
-
generic, linux_suse_sles_8, solaris, solaris_10, windows_2003
-
Verified
When running Java2D demo on AMD64-SLES, lots of java.lang.NullPointerException is thrown.
-----------------------
java.lang.NullPointerException
at javax.swing.SizeRequirements.calculateTiledPositions(SizeRequirements.java:294)
at javax.swing.BoxLayout.layoutContainer(BoxLayout.java:378)
at javax.swing.JToolBar$DefaultToolBarLayout.layoutContainer(JToolBar.java:786)
at java.awt.Container.layout(Container.java:1398)
at java.awt.Container.doLayout(Container.java:1388)
at java.awt.Container.validateTree(Container.java:1470)
at java.awt.Container.validateTree(Container.java:1477)
at java.awt.Container.validateTree(Container.java:1477)
at java.awt.Container.validateTree(Container.java:1477)
at java.awt.Container.validateTree(Container.java:1477)
at java.awt.Container.validateTree(Container.java:1477)
at java.awt.Container.validateTree(Container.java:1477)
at java.awt.Container.validateTree(Container.java:1477)
at java.awt.Container.validate(Container.java:1445)
at javax.swing.plaf.basic.BasicTabbedPaneUI.ensureCurrentLayout(BasicTabbedPaneUI.java:1215)
at javax.swing.plaf.basic.BasicTabbedPaneUI.paint(BasicTabbedPaneUI.java:530)
at javax.swing.plaf.metal.MetalTabbedPaneUI.paint(MetalTabbedPaneUI.java:827)
at javax.swing.plaf.metal.MetalTabbedPaneUI.update(MetalTabbedPaneUI.java:716)
at javax.swing.JComponent.paintComponent(JComponent.java:714)
at javax.swing.JComponent.paint(JComponent.java:977)
at javax.swing.JComponent.paintChildren(JComponent.java:814)
at javax.swing.JComponent.paint(JComponent.java:986)
at javax.swing.JComponent.paintChildren(JComponent.java:814)
at javax.swing.JComponent.paint(JComponent.java:986)
at javax.swing.JComponent.paintChildren(JComponent.java:814)
at javax.swing.JComponent.paint(JComponent.java:986)
at javax.swing.JLayeredPane.paint(JLayeredPane.java:559)
at javax.swing.JComponent.paintChildren(JComponent.java:814)
at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4882)
at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4828)
at javax.swing.JComponent.paint(JComponent.java:967)
at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21)
at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
at java.awt.Container.paint(Container.java:1704)
at sun.awt.RepaintArea.paintComponent(RepaintArea.java:248)
at sun.awt.X11.XRepaintArea.paintComponent(XRepaintArea.java:56)
at sun.awt.RepaintArea.paint(RepaintArea.java:224)
at sun.awt.X11.XComponentPeer.handleEvent(XComponentPeer.java:632)
at java.awt.Component.dispatchEventImpl(Component.java:4007)
at java.awt.Container.dispatchEventImpl(Container.java:2019)
at java.awt.Window.dispatchEventImpl(Window.java:1757)
at java.awt.Component.dispatchEvent(Component.java:3779)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
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)
-----------------------
System tested:
bunt
SuSE SLES-8 (AMD64)
VERSION = 8.1
Linux bunt 2.4.19-SMP #1 SMP Mon Mar 31 23:48:08 UTC 2003 x86_64 unknown
STEP TO REPRODUCE:
------------------
1. install SWAT b32 bundle rpm.bin bundle on AMD64-SLES machine
2. invoke the Java2D demo
3. open the "run windows" pop-up window and let it run for 10 times.
###@###.### 2003-12-19
The bug still reproducible in b63 SWAT testing.
###@###.### 2004-08-11
-----------------------
java.lang.NullPointerException
at javax.swing.SizeRequirements.calculateTiledPositions(SizeRequirements.java:294)
at javax.swing.BoxLayout.layoutContainer(BoxLayout.java:378)
at javax.swing.JToolBar$DefaultToolBarLayout.layoutContainer(JToolBar.java:786)
at java.awt.Container.layout(Container.java:1398)
at java.awt.Container.doLayout(Container.java:1388)
at java.awt.Container.validateTree(Container.java:1470)
at java.awt.Container.validateTree(Container.java:1477)
at java.awt.Container.validateTree(Container.java:1477)
at java.awt.Container.validateTree(Container.java:1477)
at java.awt.Container.validateTree(Container.java:1477)
at java.awt.Container.validateTree(Container.java:1477)
at java.awt.Container.validateTree(Container.java:1477)
at java.awt.Container.validateTree(Container.java:1477)
at java.awt.Container.validate(Container.java:1445)
at javax.swing.plaf.basic.BasicTabbedPaneUI.ensureCurrentLayout(BasicTabbedPaneUI.java:1215)
at javax.swing.plaf.basic.BasicTabbedPaneUI.paint(BasicTabbedPaneUI.java:530)
at javax.swing.plaf.metal.MetalTabbedPaneUI.paint(MetalTabbedPaneUI.java:827)
at javax.swing.plaf.metal.MetalTabbedPaneUI.update(MetalTabbedPaneUI.java:716)
at javax.swing.JComponent.paintComponent(JComponent.java:714)
at javax.swing.JComponent.paint(JComponent.java:977)
at javax.swing.JComponent.paintChildren(JComponent.java:814)
at javax.swing.JComponent.paint(JComponent.java:986)
at javax.swing.JComponent.paintChildren(JComponent.java:814)
at javax.swing.JComponent.paint(JComponent.java:986)
at javax.swing.JComponent.paintChildren(JComponent.java:814)
at javax.swing.JComponent.paint(JComponent.java:986)
at javax.swing.JLayeredPane.paint(JLayeredPane.java:559)
at javax.swing.JComponent.paintChildren(JComponent.java:814)
at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4882)
at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4828)
at javax.swing.JComponent.paint(JComponent.java:967)
at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21)
at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
at java.awt.Container.paint(Container.java:1704)
at sun.awt.RepaintArea.paintComponent(RepaintArea.java:248)
at sun.awt.X11.XRepaintArea.paintComponent(XRepaintArea.java:56)
at sun.awt.RepaintArea.paint(RepaintArea.java:224)
at sun.awt.X11.XComponentPeer.handleEvent(XComponentPeer.java:632)
at java.awt.Component.dispatchEventImpl(Component.java:4007)
at java.awt.Container.dispatchEventImpl(Container.java:2019)
at java.awt.Window.dispatchEventImpl(Window.java:1757)
at java.awt.Component.dispatchEvent(Component.java:3779)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
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)
-----------------------
System tested:
bunt
SuSE SLES-8 (AMD64)
VERSION = 8.1
Linux bunt 2.4.19-SMP #1 SMP Mon Mar 31 23:48:08 UTC 2003 x86_64 unknown
STEP TO REPRODUCE:
------------------
1. install SWAT b32 bundle rpm.bin bundle on AMD64-SLES machine
2. invoke the Java2D demo
3. open the "run windows" pop-up window and let it run for 10 times.
###@###.### 2003-12-19
The bug still reproducible in b63 SWAT testing.
###@###.### 2004-08-11
- duplicates
-
JDK-4984970 Java2Demo threw exception in win2003-amd
- Closed
-
JDK-5009000 Java2Demo throw exceptions on Mercury, QuickSilver
- Closed
-
JDK-5021674 SWAT: win2003_amd exceptions thrown on Java2D demo
- Closed
-
JDK-5098122 NPEs are thrown when running Java2Demo on MP systems
- Closed
-
JDK-6253720 Java2Demo failure NPE in thread "RunWindow" and usually hangs
- Closed
- relates to
-
JDK-4956859 SWAT: 2Demo threw exceptions in b29
- Closed
-
JDK-6641867 IE hangs while launching Java 2D demo on WinXP
- Closed
(2 relates to)