AbilitiesInfoTab Outofbounds Exception when adding category

Description

Summary Tab - Created a brand new character. I went to add two levels of Eclipse D06 and the screen froze up. I noticed this error in the console.

16:31:35.593 WARNING AWT-EventQueue-1 AbilitiesInfoTab:145 Trying to add Character Creation Pool to [pcgen.gui2.tabs.AbilitiesInfoTab$AbilityTabsModel$TabInfo@1543d07, pcgen.gui2.tabs.AbilitiesInfoTab$AbilityTabsModel$TabInfo@172c35b, pcgen.gui2.tabs.AbilitiesInfoTab$AbilityTabsModel$TabInfo@177ba44] at index 6. Putting at end.
16:31:35.620 SEVERE AWT-EventQueue-1 PCGen_Frame1:2939 Uncaught error - ignoring
java.lang.ArrayIndexOutOfBoundsException: 6 > 3
at java.util.Vector.insertElementAt(Vector.java:551)
at javax.swing.JTabbedPane.insertTab(JTabbedPane.java:698)
at pcgen.gui2.util.SharedTabPane.addTab(SharedTabPane.java:72)
at pcgen.gui2.tabs.AbilitiesInfoTab$AbilityTabsModel.elementAdded(AbilitiesInfoTab.java:157)
at pcgen.core.facade.util.AbstractListFacade.fireElementAdded(AbstractListFacade.java:112)
at pcgen.core.facade.util.DefaultListFacade.addElement(DefaultListFacade.java:106)
at pcgen.gui2.facade.CharacterAbilities.rebuildAbilityLists(CharacterAbilities.java:350)
at pcgen.gui2.facade.CharacterAbilities$2.dataAdded(CharacterAbilities.java:200)
at pcgen.cdom.facet.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:241)
at pcgen.cdom.facet.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:187)
at pcgen.cdom.facet.GrantedAbilityFacet.add(GrantedAbilityFacet.java:93)
at pcgen.cdom.facet.GrantedAbilityFacet.dataAdded(GrantedAbilityFacet.java:770)
at pcgen.cdom.facet.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:241)
at pcgen.cdom.facet.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:187)
at pcgen.cdom.facet.AbstractListFacet.add(AbstractListFacet.java:66)
at pcgen.core.PlayerCharacter.applyAbility(PlayerCharacter.java:10553)
at pcgen.core.PlayerCharacter.processAbilityList(PlayerCharacter.java:10537)
at pcgen.core.PlayerCharacter.processAbilityListsOnAdd(PlayerCharacter.java:10485)
at pcgen.core.PlayerCharacter.processAddition(PlayerCharacter.java:11818)
at pcgen.cdom.facet.ObjectAdditionFacet.dataAdded(ObjectAdditionFacet.java:58)
at pcgen.cdom.facet.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:241)
at pcgen.cdom.facet.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:187)
at pcgen.cdom.facet.AbstractSourcedListFacet.add(AbstractSourcedListFacet.java:93)
at pcgen.cdom.facet.CDOMObjectConsolidationFacet.add(CDOMObjectConsolidationFacet.java:68)
at pcgen.cdom.facet.CDOMObjectConsolidationFacet.dataAdded(CDOMObjectConsolidationFacet.java:134)
at pcgen.cdom.facet.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:241)
at pcgen.cdom.facet.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:187)
at pcgen.cdom.facet.AbstractSourcedListFacet.add(AbstractSourcedListFacet.java:93)
at pcgen.cdom.facet.CharacterConsolidationFacet.dataAdded(CharacterConsolidationFacet.java:62)
at pcgen.cdom.facet.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:241)
at pcgen.cdom.facet.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:187)
at pcgen.cdom.facet.GrantedAbilityFacet.add(GrantedAbilityFacet.java:93)
at pcgen.cdom.facet.GrantedAbilityFacet.dataAdded(GrantedAbilityFacet.java:770)
at pcgen.cdom.facet.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:241)
at pcgen.cdom.facet.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:187)
at pcgen.cdom.facet.AbstractListFacet.add(AbstractListFacet.java:66)
at pcgen.core.PlayerCharacter.applyAbility(PlayerCharacter.java:10553)
at pcgen.core.PlayerCharacter.processAbilityList(PlayerCharacter.java:10537)
at pcgen.core.PlayerCharacter.processAbilityListsOnAdd(PlayerCharacter.java:10485)
at pcgen.core.PlayerCharacter.processAddition(PlayerCharacter.java:11818)
at pcgen.cdom.facet.ObjectAdditionFacet.dataAdded(ObjectAdditionFacet.java:58)
at pcgen.cdom.facet.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:241)
at pcgen.cdom.facet.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:187)
at pcgen.cdom.facet.AbstractSourcedListFacet.add(AbstractSourcedListFacet.java:93)
at pcgen.cdom.facet.CDOMObjectConsolidationFacet.add(CDOMObjectConsolidationFacet.java:68)
at pcgen.cdom.facet.CDOMObjectConsolidationFacet.dataAdded(CDOMObjectConsolidationFacet.java:134)
at pcgen.cdom.facet.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:241)
at pcgen.cdom.facet.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:187)
at pcgen.cdom.facet.AbstractSourcedListFacet.add(AbstractSourcedListFacet.java:93)
at pcgen.cdom.facet.CharacterConsolidationFacet.dataAdded(CharacterConsolidationFacet.java:62)
at pcgen.cdom.facet.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:241)
at pcgen.cdom.facet.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:187)
at pcgen.cdom.facet.GrantedAbilityFacet.add(GrantedAbilityFacet.java:93)
at pcgen.cdom.facet.GrantedAbilityFacet.dataAdded(GrantedAbilityFacet.java:770)
at pcgen.cdom.facet.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:241)
at pcgen.cdom.facet.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:187)
at pcgen.cdom.facet.AbstractListFacet.add(AbstractListFacet.java:66)
at pcgen.core.PlayerCharacter.applyAbility(PlayerCharacter.java:10553)
at pcgen.core.PlayerCharacter.processAbilityList(PlayerCharacter.java:10537)
at pcgen.core.PlayerCharacter.processAbilityListsOnAdd(PlayerCharacter.java:10485)
at pcgen.core.PlayerCharacter.processAddition(PlayerCharacter.java:11818)
at pcgen.cdom.facet.ObjectAdditionFacet.dataAdded(ObjectAdditionFacet.java:58)
at pcgen.cdom.facet.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:241)
at pcgen.cdom.facet.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:187)
at pcgen.cdom.facet.AbstractSourcedListFacet.add(AbstractSourcedListFacet.java:93)
at pcgen.cdom.facet.CDOMObjectConsolidationFacet.add(CDOMObjectConsolidationFacet.java:68)
at pcgen.cdom.facet.CDOMObjectConsolidationFacet.dataAdded(CDOMObjectConsolidationFacet.java:134)
at pcgen.cdom.facet.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:241)
at pcgen.cdom.facet.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:187)
at pcgen.cdom.facet.AbstractSourcedListFacet.add(AbstractSourcedListFacet.java:93)
at pcgen.cdom.facet.CharacterConsolidationFacet.dataAdded(CharacterConsolidationFacet.java:62)
at pcgen.cdom.facet.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:241)
at pcgen.cdom.facet.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:187)
at pcgen.cdom.facet.AbstractSourcedListFacet.add(AbstractSourcedListFacet.java:93)
at pcgen.cdom.facet.ClassLevelFacet.update(ClassLevelFacet.java:61)
at pcgen.cdom.facet.ClassLevelFacet.levelChanged(ClassLevelFacet.java:86)
at pcgen.cdom.facet.ClassFacet$ClassLevelChangeSupport.fireClassLevelChangeEvent(ClassFacet.java:806)
at pcgen.cdom.facet.ClassFacet.setLevel(ClassFacet.java:331)
at pcgen.core.PlayerCharacter.setLevelWithoutConsequence(PlayerCharacter.java:11730)
at pcgen.core.PCClass.addLevel(PCClass.java:1054)
at pcgen.core.PlayerCharacter.incrementClassLevel(PlayerCharacter.java:8611)
at pcgen.core.PlayerCharacter.incrementClassLevel(PlayerCharacter.java:8489)
at pcgen.core.PlayerCharacter.incrementClassLevel(PlayerCharacter.java:6755)
at pcgen.gui2.facade.CharacterFacadeImpl.addCharacterLevels(CharacterFacadeImpl.java:660)
at pcgen.gui2.tabs.SummaryInfoTab$AddLevelsAction.actionPerformed(SummaryInfoTab.java:1366)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6288)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6053)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4651)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4481)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4481)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:643)
at java.awt.EventQueue.access$000(EventQueue.java:84)
at java.awt.EventQueue$1.run(EventQueue.java:602)
at java.awt.EventQueue$1.run(EventQueue.java:600)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:616)
at java.awt.EventQueue$2.run(EventQueue.java:614)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:613)
at pcgen.gui.PCGen_Frame1$WaitCursorEventQueue.dispatchEvent(PCGen_Frame1.java:2934)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Environment

Dev Build Revision: 16414
Custom Gamemode
Eclipse Core Set + Homebrew Sets

Fixed

Assignee

James Dempsey

Reporter

Andrew Maitland

Labels

None

Theme

None

Epic/Theme

None

Pending User Input

None

Components

Fix versions

Affects versions

Priority

Minor
Configure