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

ArrayIndexOutOfBoundsException from JTabbedPane.getSelectedComponent()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • None
    • 1.4.0
    • client-libs

      We get ArrayIndexOutOfBoundsException from call of JTabbedPane.getSelectedComponent() in Netbeans IDE. Unfortunatelly we do not have any way how to reproduce it so I set priority to P4. We received report
      for JDK 1.4.0-beta3-b84.

      First attached dump stack is from getSelectedComponent(). In second case getSelectedIndex() is called and it returns value causing later exception when getComponentAt() is called.


      I attach both dump stacks. In both cases value of index (index of selected tab)
      is out of range in other words it points to tab already not present in JTabbedPane

      We are not able to reproduce it and it was not reported again. So you can close it.

      ###@###.### 2002-05-03

            joutwatesunw Joshua Outwater (Inactive)
            mslamasunw Marek Slama (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: