Concurrent error in testing prereq in mounted combat (Found while making antipaladin)

Description

I made an antipaladin and saw this in the console.

09:53:39.384 SEVERE AWT-EventQueue-1 PrereqHandler:188 Problem encountered when testing PREREQ <prereq kind="skill" key="Ride" operator="GTEQ" operand="1" >
</prereq>
for Mounted Combat. See following trace for details.
java.util.ConcurrentModificationException
at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:373)
at java.util.LinkedHashMap$KeyIterator.next(LinkedHashMap.java:384)
at java.util.Collections$UnmodifiableCollection$1.next(Collections.java:1010)
at plugin.pretokens.test.PreSkillTester.getImitators(PreSkillTester.java:218)
at plugin.pretokens.test.PreSkillTester.passes(PreSkillTester.java:81)
at pcgen.core.prereq.PrereqHandler.passes(PrereqHandler.java:176)
at pcgen.core.prereq.PrereqHandler.passesAll(PrereqHandler.java:98)
at pcgen.cdom.base.ConcretePrereqObject.qualifies(ConcretePrereqObject.java:269)
at pcgen.core.PlayerCharacter.isQualified(PlayerCharacter.java:12278)
at pcgen.gui2.facade.CharacterFacadeImpl.isQualifiedFor(CharacterFacadeImpl.java:3424)
at pcgen.gui2.tabs.models.QualifiedTreeCellRenderer.getTreeCellRendererComponent(QualifiedTreeCellRenderer.java:60)
at javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(BasicTreeUI.java:2712)
at javax.swing.tree.AbstractLayoutCache.getNodeDimensions(AbstractLayoutCache.java:475)
at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.updatePreferredSize(VariableHeightLayoutCache.java:1342)
at javax.swing.tree.VariableHeightLayoutCache.createNodeAt(VariableHeightLayoutCache.java:764)
at javax.swing.tree.VariableHeightLayoutCache.treeNodesInserted(VariableHeightLayoutCache.java:473)
at javax.swing.plaf.basic.BasicTreeUI$Handler.treeNodesInserted(BasicTreeUI.java:3785)
at javax.swing.tree.DefaultTreeModel.fireTreeNodesInserted(DefaultTreeModel.java:499)
at javax.swing.tree.DefaultTreeModel.nodesWereInserted(DefaultTreeModel.java:296)
at javax.swing.tree.DefaultTreeModel.insertNodeInto(DefaultTreeModel.java:223)
at pcgen.gui2.util.treeview.TreeViewTableModel$TreeViewNode.insertTreeViewPath(TreeViewTableModel.java:418)
at pcgen.gui2.util.treeview.TreeViewTableModel.addElement(TreeViewTableModel.java:181)
at pcgen.gui2.util.treeview.TreeViewTableModel.setElements(TreeViewTableModel.java:147)
at pcgen.gui2.util.treeview.TreeViewTableModel.access$200(TreeViewTableModel.java:51)
at pcgen.gui2.util.treeview.TreeViewTableModel$1.elementsChanged(TreeViewTableModel.java:72)
at pcgen.core.facade.util.AbstractListFacade.fireElementsChanged(AbstractListFacade.java:163)
at pcgen.core.facade.util.DefaultListFacade.setContents(DefaultListFacade.java:127)
at pcgen.gui2.filter.FilteredTreeViewModel.refilter(FilteredTreeViewModel.java:112)
at pcgen.gui2.filter.FilteredTreeViewModel.elementsChanged(FilteredTreeViewModel.java:130)
at pcgen.core.facade.util.AbstractListFacade.fireElementsChanged(AbstractListFacade.java:163)
at pcgen.core.facade.util.DelegatingListFacade.setDelegate(DelegatingListFacade.java:73)
at pcgen.gui2.tabs.AbilityChooserTab$AvailableAbilityTreeViewModel.valueChanged(AbilityChooserTab.java:303)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:167)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:147)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:194)
at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:388)
at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:398)
at javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelectionModel.java:442)
at pcgen.gui2.tabs.AbilityChooserTab.ensureCategorySelected(AbilityChooserTab.java:593)
at pcgen.gui2.tabs.AbilityChooserTab.restoreState(AbilityChooserTab.java:578)
at pcgen.gui2.tabs.AbilitiesInfoTab$AbilityTabsModel.install(AbilitiesInfoTab.java:213)
at pcgen.gui2.tabs.AbilitiesInfoTab.restoreModels(AbilitiesInfoTab.java:76)
at pcgen.gui2.tabs.InfoTabbedPane$TabModelService.restoreTab(InfoTabbedPane.java:311)
at pcgen.gui2.tabs.InfoTabbedPane$TabModelService.access$300(InfoTabbedPane.java:256)
at pcgen.gui2.tabs.InfoTabbedPane$TabModelService$RestoreModelsTask$1.run(InfoTabbedPane.java:377)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:641)
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.awt.EventQueue.dispatchEvent(EventQueue.java:611)
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

Pathinder; core + bestiary, beastiary II, APG

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