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

SWAT: 2Demo threw exceptions in b29

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P2 P2
    • None
    • 5.0
    • client-libs
    • sparc
    • solaris_10

      Java Version: 1.5.0-beta-b29
      Platforms: sparc 10
      SunOS koi 5.10 s10_45 sun4u sparc SUNW,Ultra-80

      Problems:

      When running Java2Demo ib b29, it threw exceptions, it is OK in b28 and b26.
      The problems can be reproduced all times.
      bin/java -jar demo/jfc/Java2D/*.jar

      Java2D Demo RunWindow : 20 Runs, 10 second delay between tabs
      java version: 1.5.0-beta
      SunOS 5.10

      #0 Wed Nov 19 12:55:17 PST 2003, 4578.992K used
      java.lang.NullPointerException
              at java.awt.Dimension.<init>(Dimension.java:91)
              at java.awt.Component.getMaximumSize(Component.java:2321)
              at java.awt.Container.getMaximumSize(Container.java:1648)
              at javax.swing.JComponent.getMaximumSize(JComponent.java:1564)
              at javax.swing.BoxLayout.checkRequests(BoxLayout.java:435)
              at javax.swing.BoxLayout.layoutContainer(BoxLayout.java:375)
              at javax.swing.JToolBar$DefaultToolBarLayout.layoutContainer(JToolBar.java:786)
              at java.awt.Container.layout(Container.java:1424)
              at java.awt.Container.doLayout(Container.java:1414)
              at java.awt.Container.validateTree(Container.java:1496)
              at java.awt.Container.validateTree(Container.java:1503)
              at java.awt.Container.validateTree(Container.java:1503)
              at java.awt.Container.validateTree(Container.java:1503)
              at java.awt.Container.validateTree(Container.java:1503)
              at java.awt.Container.validateTree(Container.java:1503)
              at java.awt.Container.validate(Container.java:1471)
              at java2d.DemoGroup.setup(DemoGroup.java:257)
              at java2d.GlobalPanel.stateChanged(GlobalPanel.java:102)
              at javax.swing.JTabbedPane.fireStateChanged(JTabbedPane.java:283)
              at javax.swing.JTabbedPane$ModelListener.stateChanged(JTabbedPane.java:215)
              at javax.swing.DefaultSingleSelectionModel.fireStateChanged(DefaultSingleSelectionModel.java:116)
              at javax.swing.DefaultSingleSelectionModel.setSelectedIndex(DefaultSingleSelectionModel.java:50)
              at javax.swing.JTabbedPane.setSelectedIndexImpl(JTabbedPane.java:471)
              at javax.swing.JTabbedPane.setSelectedIndex(JTabbedPane.java:457)
              at java2d.RunWindow.run(RunWindow.java:219)
              at java.lang.Thread.run(Thread.java:567)
      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:1424)
              at java.awt.Container.doLayout(Container.java:1414)
              at java.awt.Container.validateTree(Container.java:1496)
              at java.awt.Container.validateTree(Container.java:1503)
              at java.awt.Container.validateTree(Container.java:1503)
              at java.awt.Container.validateTree(Container.java:1503)
              at java.awt.Container.validateTree(Container.java:1503)
              at java.awt.Container.validateTree(Container.java:1503)
              at java.awt.Container.validateTree(Container.java:1503)
              at java.awt.Container.validateTree(Container.java:1503)
              at java.awt.Container.validateTree(Container.java:1503)
              at java.awt.Container.validateTree(Container.java:1503)
              at java.awt.Container.validateTree(Container.java:1503)
              at java.awt.Container.validateTree(Container.java:1503)
              at java.awt.Container.validate(Container.java:1471)
              at javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:354)
              at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:116)
              at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:201)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
              at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:231)
              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)
      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:1424)
              at java.awt.Container.doLayout(Container.java:1414)
              at java.awt.Container.validateTree(Container.java:1496)
              at java.awt.Container.validateTree(Container.java:1503)
              at java.awt.Container.validateTree(Container.java:1503)
              at java.awt.Container.validateTree(Container.java:1503)
              at java.awt.Container.validateTree(Container.java:1503)
              at java.awt.Container.validateTree(Container.java:1503)
              at java.awt.Container.validateTree(Container.java:1503)
              at java.awt.Container.validateTree(Container.java:1503)
              at java.awt.Container.validate(Container.java:1471)
              at javax.swing.plaf.basic.BasicTabbedPaneUI.ensureCurrentLayout(BasicTabbedPaneUI.java:1213)
              at javax.swing.plaf.basic.BasicTabbedPaneUI.paint(BasicTabbedPaneUI.java:528)
              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.paint(JComponent.java:986)
              at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4860)
              at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4813)
              at javax.swing.JComponent._paintImmediately(JComponent.java:4756)
              at javax.swing.JComponent.paintImmediately(JComponent.java:4563)
              at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:426)
              at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117)
              at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:201)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
              at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:231)
              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)
      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:1424)
              at java.awt.Container.doLayout(Container.java:1414)
              at java.awt.Container.validateTree(Container.java:1496)
              at java.awt.Container.validateTree(Container.java:1503)
              at java.awt.Container.validateTree(Container.java:1503)
              at java.awt.Container.validateTree(Container.java:1503)
              at java.awt.Container.validateTree(Container.java:1503)
              at java.awt.Container.validateTree(Container.java:1503)
              at java.awt.Container.validateTree(Container.java:1503)
              at java.awt.Container.validateTree(Container.java:1503)
              at java.awt.Container.validate(Container.java:1471)
              at javax.swing.plaf.basic.BasicTabbedPaneUI.ensureCurrentLayout(BasicTabbedPaneUI.java:1213)
              at javax.swing.plaf.basic.BasicTabbedPaneUI.getTabBounds(BasicTabbedPaneUI.java:1233)
              at javax.swing.plaf.basic.BasicTabbedPaneUI$Handler.focusGained(BasicTabbedPaneUI.java:3227)
              at java.awt.Component.processFocusEvent(Component.java:5355)
              at java.awt.Component.processEvent(Component.java:5222)
              at java.awt.Container.processEvent(Container.java:1987)
              at java.awt.Component.dispatchEventImpl(Component.java:3929)
              at java.awt.Container.dispatchEventImpl(Container.java:2045)
              at java.awt.Component.dispatchEvent(Component.java:3777)
              at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1804)
              at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:827)
              at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:478)
              at java.awt.Component.dispatchEventImpl(Component.java:3815)
              at java.awt.Container.dispatchEventImpl(Container.java:2045)
              at java.awt.Component.dispatchEvent(Component.java:3777)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
              at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:231)
              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)
      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:1424)
              at java.awt.Container.doLayout(Container.java:1414)
              at java.awt.Container.validateTree(Container.java:1496)
              at java.awt.Container.validateTree(Container.java:1503)
              at java.awt.Container.validateTree(Container.java:1503)
              at java.awt.Container.validateTree(Container.java:1503)
              at java.awt.Container.validateTree(Container.java:1503)
              at java.awt.Container.validateTree(Container.java:1503)
              at java.awt.Container.validateTree(Container.java:1503)
              at java.awt.Container.validateTree(Container.java:1503)
              at java.awt.Container.validate(Container.java:1471)
              at javax.swing.plaf.basic.BasicTabbedPaneUI.ensureCurrentLayout(BasicTabbedPaneUI.java:1213)
              at javax.swing.plaf.basic.BasicTabbedPaneUI.getTabBounds(BasicTabbedPaneUI.java:1233)
              at javax.swing.plaf.basic.BasicTabbedPaneUI$Handler.focusLost(BasicTabbedPaneUI.java:3239)
              at java.awt.Component.processFocusEvent(Component.java:5358)
              at java.awt.Component.processEvent(Component.java:5222)
              at java.awt.Container.processEvent(Container.java:1987)
              at java.awt.Component.dispatchEventImpl(Component.java:3929)
              at java.awt.Container.dispatchEventImpl(Container.java:2045)
              at java.awt.Component.dispatchEvent(Component.java:3777)
              at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1804)
              at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:836)
              at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:526)
              at java.awt.Component.dispatchEventImpl(Component.java:3815)
              at java.awt.Container.dispatchEventImpl(Container.java:2045)
              at java.awt.Component.dispatchEvent(Component.java:3777)
              at java.awt.KeyboardFocusManager.processCurrentLightweightRequests(KeyboardFocusManager.java:2498)
              at java.awt.KeyboardFocusManager$1.run(KeyboardFocusManager.java:2599)
              at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:201)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
              at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:231)
              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)

      /java/re/jdk/1.5.0/promoted/all/b28/binaries/solaris-sparc 116 % !bin
      bin/java -jar demo/jfc/Java2D/*.jar

      Java2D Demo RunWindow : 20 Runs, 10 second delay between tabs
      java version: 1.5.0-beta
      SunOS 5.10

      #0 Wed Nov 19 12:44:43 PST 2003, 4580.492K used
      #1 Wed Nov 19 12:47:37 PST 2003, 6055.4844K used
      #2 Wed Nov 19 12:50:07 PST 2003, 6146.578K used
      /java/re/jdk/1.5.0/promoted/all/b28/binaries/solaris-sparc 117 % !bin
      bin/java -jar demo/jfc/Java2D/*.jar

      Java2D Demo RunWindow : 20 Runs, 10 second delay between tabs
      java version: 1.5.0-beta
      SunOS 5.10

      #0 Wed Nov 19 12:50:44 PST 2003, 4583.703K used
      #1 Wed Nov 19 12:53:37 PST 2003, 6068.6016K used


      /java/re/jdk/1.5.0/promoted/all/b26/binaries/solaris-sparc 114 % bin/java -jar demo/jfc/Java2D/*.jar

      Java2D Demo RunWindow : 20 Runs, 10 second delay between tabs
      java version: 1.5.0-beta
      SunOS 5.10

      #0 Wed Nov 19 12:36:30 PST 2003, 4825.1875K used
      #1 Wed Nov 19 12:39:24 PST 2003, 6075.2812K used
      #2 Wed Nov 19 12:41:53 PST 2003, 6103.328K used

            Unassigned Unassigned
            ttzhang Tao Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: