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

REGRESSION with BasicTabbedPaneUI ArrayIndexOutOfBoundsException

XMLWordPrintable

      J2SE Version (please include all output from java -version flag):
        java version "1.6.0-ea"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b38)
        Java HotSpot(TM) Client VM (build 1.6.0-ea-b38, mixed mode, sharing)

      Does this problem occur on J2SE 1.4.x or 5.0.x ? Yes / No (pick one)
        No, works fine with 5.0. it happen since mustang build 34.

      Operating System Configuration Information (be specific):
        Microsoft Windows 2000 [Version 5.00.2195]

      Bug Description:
        Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1

      at javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneScrollLayout.layoutContainer(BasicTabbedPaneUI.java:2995)

      at java.awt.Container.layout(Container.java:1402)

      at java.awt.Container.doLayout(Container.java:1391)

      at java.awt.Container.validateTree(Container.java:1474)

      at java.awt.Container.validateTree(Container.java:1481)

      at java.awt.Container.validateTree(Container.java:1481)

      at java.awt.Container.validateTree(Container.java:1481)

      at java.awt.Container.validateTree(Container.java:1481)

      at java.awt.Container.validate(Container.java:1449)

      at java.awt.Window.show(Window.java:552)

      at java.awt.Component.show(Component.java:1406)

      at java.awt.Component.setVisible(Component.java:1359)

      at Test.main(Test.java:114)


      Steps to Reproduce (be specific):
        Run test program Test.java(much simplified version of actual version of a
        TabbedPane that uses a proper TabbedPane model using only 1 component
        for the content)

      ###@###.### 2005-06-06 19:29:17 GMT

            alexp Alexander Potochkin (Inactive)
            tyao Ting-Yun Ingrid Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: