Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.5.22294: UnitSeparator#categorize:103 - java.util.ConcurrentModificationException #12544

Open
tripleabuilderbot opened this issue Apr 28, 2024 · 0 comments
Labels
Error Report Issue reported via the in-game error reporter

Comments

@tripleabuilderbot
Copy link
Contributor

Map

napoleonic_empires

TripleA Version

2.5.22294

Java Version

11.0.6

Operating System

Windows 7

Memory

Heap utilization statistics [MB]
Used Memory: 402
Free memory: 1576
Total memory: 1979
Max memory: 1979

Stack Trace

Exception: java.util.ConcurrentModificationException
java.lang.Exception
	at java.base/java.util.ArrayList$Itr.checkForComodification(ArrayList.java:1042)
	at java.base/java.util.ArrayList$Itr.next(ArrayList.java:996)
	at java.base/java.util.Collections$UnmodifiableCollection$1.next(Collections.java:1047)
	at games.strategy.triplea.util.UnitSeparator.categorize(UnitSeparator.java:103)
	at games.strategy.triplea.util.UnitSeparator.categorize(UnitSeparator.java:68)
	at games.strategy.triplea.util.UnitSeparator.categorize(UnitSeparator.java:153)
	at games.strategy.triplea.util.UnitSeparator.categorize(UnitSeparator.java:59)
	at games.strategy.triplea.util.UnitSeparator.getSortedUnitCategories(UnitSeparator.java:36)
	at games.strategy.triplea.ui.TerritoryDetailPanel.unitsInTerritoryPanel(TerritoryDetailPanel.java:140)
	at games.strategy.triplea.ui.TerritoryDetailPanel.territoryChanged(TerritoryDetailPanel.java:131)
	at games.strategy.triplea.ui.TerritoryDetailPanel$1.mouseEntered(TerritoryDetailPanel.java:56)
	at games.strategy.triplea.ui.panels.map.MapPanel.notifyMouseEntered(MapPanel.java:504)
	at games.strategy.triplea.ui.panels.map.MapPanel.updateMouseHoverState(MapPanel.java:315)
	at games.strategy.triplea.ui.panels.map.MapPanel$4.mouseMoved(MapPanel.java:266)
	at java.desktop/java.awt.AWTEventMulticaster.mouseMoved(AWTEventMulticaster.java:338)
	at java.desktop/java.awt.Component.processMouseMotionEvent(Component.java:6677)
	at java.desktop/javax.swing.JComponent.processMouseMotionEvent(JComponent.java:3360)
	at java.desktop/java.awt.Component.processEvent(Component.java:6401)
	at java.desktop/java.awt.Container.processEvent(Container.java:2263)
	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
	at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
	at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4560)
	at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
	at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)


@tripleabuilderbot tripleabuilderbot added the Error Report Issue reported via the in-game error reporter label Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Error Report Issue reported via the in-game error reporter
Projects
None yet
Development

No branches or pull requests

1 participant