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

java.lang.ArrayIndexOutOfBoundsException thrown while creating JTabbedPane bean

XMLWordPrintable

    • swing1.0fcs
    • generic
    • generic, solaris_2.5
    • Verified

      java.lang.ArrayIndexOutOfBoundsException thrown while creating JTabbedPane bean.
      The problem happens on latest promoted build swing-pre-1.0 with jdk1.1.5 on both Solaris and windows.

      Here is the output from beanbox and its associated stack trace:
      Skipping property selectedComponent ; exception on target: java.lang.ArrayIndexOutOfBoundsException: -
      1 < 0
      java.lang.ArrayIndexOutOfBoundsException: -1 < 0
              at java.util.Vector.elementAt(Vector.java)
              at com.sun.java.swing.JTabbedPane.getComponentAt(JTabbedPane.java:460)
              at com.sun.java.swing.JTabbedPane.getSelectedComponent(JTabbedPane.java:293)
              at sun.beanbox.PropertySheetPanel.setTarget(PropertySheet.java:115)
              at sun.beanbox.PropertySheet.setTarget(PropertySheet.java:32)
              at sun.beanbox.BeanBoxFrame.doSetCurrentFocus(BeanBoxFrame.java:254)
              at sun.beanbox.BeanBoxFrame.run(BeanBoxFrame.java:222)
              at java.lang.Thread.run(Thread.java)

       

            amfowler Anne Fowler (Inactive)
            tsusunw Tina Su (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: