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

Vertical scroll causes exception dump

XMLWordPrintable

    • beta
    • x86, sparc
    • solaris_2.6, windows_nt
    • Verified

      Build : 'I' (quite possibly due to bug: 5240173 'column header failure'
                where now the rows are now smaller due to headers not available)
      OS : all platforms
      app : Java2Demo.jar (sub demo: Intro)
                execution: java -cp Java2Demo.jar Intro
                {right click on gray border to bring the table}

      If you use the vertical scroll. You will get the following:
      (probably due to row count now smaller because of bug: 4250173 'Column Header failure')

      java.lang.ArrayIndexOutOfBoundsException: -1
              at java.util.Vector.get(Vector.java, Compiled Code)
              at Intro$3.getValueAt(Intro.java, Compiled Code)
              at javax.swing.JTable.getValueAt(JTable.java, Compiled Code)
              at javax.swing.JTable.prepareRenderer(JTable.java, Compiled Code)
              at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java, Compiled Code)
              at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java, Compiled Code)
              at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java, Compiled Code)
              at javax.swing.plaf.ComponentUI.update(ComponentUI.java, Compiled Code)
              at javax.swing.JComponent.paintComponent(JComponent.java, Compiled Code)
              at javax.swing.JComponent.paint(JComponent.java, Compiled Code)
              at javax.swing.JViewport.windowBlitPaint(JViewport.java, Compiled Code)
              at javax.swing.JViewport.setViewPosition(JViewport.java, Compiled Code)
              at javax.swing.plaf.basic.BasicScrollPaneUI$VSBChangeListener.stateChanged(BasicScrollPaneUI.java, Compiled Code)
              at javax.swing.DefaultBoundedRangeModel.fireStateChanged(DefaultBoundedRangeModel.java, Compiled Code)
              at javax.swing.DefaultBoundedRangeModel.setRangeProperties(DefaultBoundedRangeModel.java, Compiled Code)
              at javax.swing.DefaultBoundedRangeModel.setValue(DefaultBoundedRangeModel.java, Compiled Code)
              at javax.swing.JScrollBar.setValue(JScrollBar.java, Compiled Code)
              at javax.swing.plaf.basic.BasicScrollBarUI$TrackListener.mouseDragged(BasicScrollBarUI.java, Compiled Code)
              at java.awt.Component.processMouseMotionEvent(Component.java, Compiled Code)
              at javax.swing.JComponent.processMouseMotionEvent(JComponent.java, Compiled Code)
              at java.awt.Component.processEvent(Component.java, Compiled Code)
              at java.awt.Container.processEvent(Container.java, Compiled Code)
              at java.awt.Component.dispatchEventImpl(Component.java, Compiled Code)
              at java.awt.Container.dispatchEventImpl(Container.java, Compiled Code)
              at java.awt.Component.dispatchEvent(Component.java, Compiled Code)
              at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java, Compiled Code)
              at java.awt.LightweightDispatcher.processMouseEvent(Container.java, Compiled Code)
              at java.awt.LightweightDispatcher.dispatchEvent(Container.java, Compiled Code)
              at java.awt.Container.dispatchEventImpl(Container.java, Compiled Code)
              at java.awt.Window.dispatchEventImpl(Window.java, Compiled Code)
              at java.awt.Component.dispatchEvent(Component.java, Compiled Code)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java, Compiled Code)
              at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java, Compiled Code)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java, Compiled Code)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java, Compiled Code)

            pmilnesunw Philip Milne (Inactive)
            rckim Robert Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: