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

ArrayIndexOutOfBoundsException from JTabbedPane.getSelectedComponent()

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.4.0
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:

      Description

      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

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: