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

Win L&F:FileChooser Details view under Vista throws an exception

    Details

    • Subcomponent:
    • Resolved In Build:
      b97
    • CPU:
      x86
    • OS:
      windows_vista
    • Verification:
      Verified

      Backports

        Description

        reproduced on Vista 5381,Vista 5384 with promoted build mustang b84.
        Steps to reproduce:
        1)Open SwingSet2 demo and tab to JFileChooser. WIth L&F set to Windows L&F, open file chooser and clickon the details view. THe following exception occurs.
        Exception occurred during event dispatching:
        java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
                at java.util.Vector.elementAt(Vector.java:431)
                at javax.swing.table.DefaultTableColumnModel.getColumn(DefaultTableColumnModel.java:277)
                at sun.swing.FilePane.fixNameColumnWidth(FilePane.java:1097)
                at sun.swing.FilePane.access$2000(FilePane.java:45)
                at sun.swing.FilePane$6.componentResized(FilePane.java:1030)
                at java.awt.Component.processComponentEvent(Component.java:5825)
                at java.awt.Component.processEvent(Component.java:5779)
                at java.awt.Container.processEvent(Container.java:1984)
                at java.awt.Component.dispatchEventImpl(Component.java:4407)
                at java.awt.Container.dispatchEventImpl(Container.java:2042)
                at java.awt.Component.dispatchEvent(Component.java:4237)
                at java.awt.EventQueue.dispatchEvent(EventQueue.java:600)
                at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
                at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
                at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:177)
                at java.awt.Dialog$1.run(Dialog.java:1039)
                at java.awt.Dialog$2.run(Dialog.java:1085)
                at java.security.AccessController.doPrivileged(Native Method)
                at java.awt.Dialog.show(Dialog.java:1083)
                at javax.swing.JFileChooser.showDialog(JFileChooser.java:718)
                at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:621)
                at FileChooserDemo$2.actionPerformed(FileChooserDemo.java:160)
                at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
                at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
                at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:377)
                at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:232)
                at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
                at java.awt.Component.processMouseEvent(Component.java:5999)
                at javax.swing.JComponent.processMouseEvent(JComponent.java:3240)
                at java.awt.Component.processEvent(Component.java:5764)
                at java.awt.Container.processEvent(Container.java:1984)
                at java.awt.Component.dispatchEventImpl(Component.java:4407)
                at java.awt.Container.dispatchEventImpl(Container.java:2042)
                at java.awt.Component.dispatchEvent(Component.java:4237)
                at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4248)
                at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3912)

                at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3842)
                at java.awt.Container.dispatchEventImpl(Container.java:2028)
                at java.awt.Window.dispatchEventImpl(Window.java:2405)
                at java.awt.Component.dispatchEvent(Component.java:4237)
                at java.awt.EventQueue.dispatchEvent(EventQueue.java:600)
                at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
                at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
                at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
                at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)

                at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)

                at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  loneid Leonid Popov (Inactive)
                  Reporter:
                  smandalisunw Srinivas Mandalika (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: