java.lang.IndexOutOfBoundsException: Index: 2, Tab count: 1

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by HammerGS
, 1 year ago
Index: 2, Tab count: 1
via GitHub by koppor
, 1 year ago
via adempiere by bmagoha5
, 1 year ago
Index: 1, Tab count: 1
via Coderanch by James Howerton, 1 year ago
Index: 8, Tab count: 2 tlaa get vu.getResource: tabCount: 11
via openbravopos by joedekangeroe
, 1 year ago
Index: 0, Tab count: 0
via freemind by *anonymous
, 1 year ago
java.lang.IndexOutOfBoundsException: Index: 2, Tab count: 1
at javax.swing.JTabbedPane.checkIndex(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)

Users with the same issue

7 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.