java.lang.IndexOutOfBoundsException

Index: 2, Tab count: 1

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web7

  • via GitHub by HammerGS
    ,
  • Stack trace

    • java.lang.IndexOutOfBoundsException: Index: 2, Tab count: 1 at javax.swing.JTabbedPane.checkIndex(Unknown Source) at javax.swing.JTabbedPane.setSelectedIndex(Unknown Source) at megamek.client.ui.swing.CustomMechDialog.setSelectedTab(CustomMechDialog.java:734) at megamek.client.ui.swing.ChatLounge.customizeMechs(ChatLounge.java:2370) at megamek.client.ui.swing.ChatLounge$MekTableMouseAdapter.actionPerformed(ChatLounge.java:3698) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.AbstractButton.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    bpbhat77bpbhat77
    7 times, last one