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

REGRESSION:ArrayIndexOutOfBoundsException exception throws with Tiger beta2

XMLWordPrintable

    • x86
    • linux


      ###@###.### 2004-06-07

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

      Does this problem occur on J2SE 1.3, 1.4.x? Yes / No (pick one)
        No, it works fine with 1.4 t0 1.4.2

      Operating System Configuration Information (be specific):
        Linux with GTK L&F, GNOME/Metacity.

      Bug Description:
       ArrayIndexOutOfBoundsException exception throws every time when
       try to run a class wrote under Tiger beta2. There is no test case, just
       attach the source code(ViewSchedulesPanel.java) to the file that
       causes the exception.

        This class runs fine without any exceptions under JDK 1.4 through 1.4.2.

      The exception is:
      -----------------
      Exception in thread "AWT-EventQueue-0"
      java.lang.ArrayIndexOutOfBoundsException: 2
              at java.awt.GridBagLayout.GetLayoutInfo(GridBagLayout.java:1048)
              at java.awt.GridBagLayout.getLayoutInfo(GridBagLayout.java:826)
              at java.awt.GridBagLayout.preferredLayoutSize(GridBagLayout.java:646)
              at java.awt.Container.preferredSize(Container.java:1554)
              at java.awt.Container.getPreferredSize(Container.java:1540)
              at javax.swing.JComponent.getPreferredSize(JComponent.java:1581)
              at java.awt.GridBagLayout.GetLayoutInfo(GridBagLayout.java:934)
              at java.awt.GridBagLayout.getLayoutInfo(GridBagLayout.java:826)
              at java.awt.GridBagLayout.ArrangeGrid(GridBagLayout.java:1439)
              at java.awt.GridBagLayout.arrangeGrid(GridBagLayout.java:1399)
              at java.awt.GridBagLayout.layoutContainer(GridBagLayout.java:722)
              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.validate(Container.java:1445)
              at edu.rpi.scheduler.ui.SchedulerPanel.showPanel(SchedulerPanel.java:141)
              at
      edu.rpi.scheduler.ui.SchedulerPanel$NextAction.actionPerformed(SchedulerPanel.java:195)
              at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
              at
      javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2167)
              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.Component.processMouseEvent(Component.java:5465)
              at javax.swing.JComponent.processMouseEvent(JComponent.java:3089)
              at java.awt.Component.processEvent(Component.java:5230)
              at java.awt.Container.processEvent(Container.java:1961)
              at java.awt.Component.dispatchEventImpl(Component.java:3933)
              at java.awt.Container.dispatchEventImpl(Container.java:2019)
              at java.awt.Component.dispatchEvent(Component.java:3781)
              at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4205)
              at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3885)
              at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3815)
              at java.awt.Container.dispatchEventImpl(Container.java:2005)
              at java.awt.Window.dispatchEventImpl(Window.java:1764)
              at java.awt.Component.dispatchEvent(Component.java:3781)
              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)
      Exception in thread "AWT-EventQueue-0"
      java.lang.ArrayIndexOutOfBoundsException: 2
              at java.awt.GridBagLayout.GetLayoutInfo(GridBagLayout.java:1048)
              at java.awt.GridBagLayout.getLayoutInfo(GridBagLayout.java:826)
              at java.awt.GridBagLayout.preferredLayoutSize(GridBagLayout.java:646)
              at java.awt.Container.preferredSize(Container.java:1554)
              at java.awt.Container.getPreferredSize(Container.java:1540)
              at javax.swing.JComponent.getPreferredSize(JComponent.java:1581)
              at java.awt.GridBagLayout.GetLayoutInfo(GridBagLayout.java:934)
              at java.awt.GridBagLayout.getLayoutInfo(GridBagLayout.java:826)
              at java.awt.GridBagLayout.preferredLayoutSize(GridBagLayout.java:646)
              at java.awt.Container.preferredSize(Container.java:1554)
              at java.awt.Container.getPreferredSize(Container.java:1540)
              at javax.swing.JComponent.getPreferredSize(JComponent.java:1581)
              at java.awt.GridBagLayout.GetLayoutInfo(GridBagLayout.java:934)
              at java.awt.GridBagLayout.getLayoutInfo(GridBagLayout.java:826)
              at java.awt.GridBagLayout.ArrangeGrid(GridBagLayout.java:1439)
              at java.awt.GridBagLayout.arrangeGrid(GridBagLayout.java:1399)
              at java.awt.GridBagLayout.layoutContainer(GridBagLayout.java:722)
              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.validate(Container.java:1445)
              at
      javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:379)
              at
      javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:113)
              at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
              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)

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: