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.0.20234: GameDataEventListeners#accept:17 - ConcurrentModificationException #6983

Closed
tripleabuilderbot opened this issue Jul 1, 2020 · 2 comments
Labels
Error Report Issue reported via the in-game error reporter

Comments

@tripleabuilderbot
Copy link
Contributor

TripleA Version

2.0.20234

Java Version

11.0.6

Operating System

Windows 10

Exception

java.util.ConcurrentModificationException

Stack Trace

java.util.ConcurrentModificationException
	at java.base/java.util.HashMap$HashIterator.nextNode(HashMap.java:1493)
	at java.base/java.util.HashMap$KeyIterator.next(HashMap.java:1516)
	at com.google.common.collect.AbstractMapBasedMultimap$WrappedCollection$WrappedIterator.next(AbstractMapBasedMultimap.java:463)
	at java.base/java.lang.Iterable.forEach(Iterable.java:74)
	at games.strategy.engine.data.GameDataEventListeners.accept(GameDataEventListeners.java:17)
	at games.strategy.engine.data.GameData.fireGameDataEvent(GameData.java:263)
	at games.strategy.engine.framework.ServerGame.notifyGameStepChanged(ServerGame.java:556)
	at games.strategy.engine.framework.ServerGame.startStep(ServerGame.java:515)
	at games.strategy.engine.framework.ServerGame.runStep(ServerGame.java:399)
	at games.strategy.engine.framework.ServerGame.startGame(ServerGame.java:297)
	at games.strategy.engine.framework.startup.launcher.LocalLauncher.launchInternal(LocalLauncher.java:61)
	at games.strategy.engine.framework.startup.launcher.LocalLauncher.launchInternal(LocalLauncher.java:34)
	at games.strategy.engine.framework.startup.launcher.AbstractLauncher.lambda$launch$0(AbstractLauncher.java:16)
	at java.base/java.lang.Thread.run(Thread.java:834)

@tripleabuilderbot tripleabuilderbot added the Error Report Issue reported via the in-game error reporter label Jul 1, 2020
@tvleavitt
Copy link

tvleavitt commented Jul 1, 2020 via email

@DanVanAtta
Copy link
Member

Off topic: @tvleavitt good point, it's a quick fix added to PR: #6984

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

3 participants