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: TriggerAttachment#triggerTerritoryPropertyChange:1797 - java.lang.IllegalStateException #11778

Open
tripleabuilderbot opened this issue Jul 13, 2023 · 2 comments
Labels
Error Report Issue reported via the in-game error reporter IllegalStateException java.lang.IllegalStateException

Comments

@tripleabuilderbot
Copy link
Contributor

Map

AgeWorld

Log Message

Triggers: No territory attachment for:Bay of Bengal

TripleA Version

2.5.22294

Java Version

11.0.6

Operating System

Windows 10

Memory

Heap utilization statistics [MB]
Used Memory: 1282
Free memory: 697
Total memory: 1979
Max memory: 1979

Stack Trace

Exception: java.lang.IllegalStateExceptionTriggers: No territory attachment for:Bay of Bengal
java.lang.Exception
	at games.strategy.triplea.attachments.TriggerAttachment.triggerTerritoryPropertyChange(TriggerAttachment.java:1797)
	at games.strategy.triplea.attachments.TriggerAttachment.fireTriggers(TriggerAttachment.java:291)
	at games.strategy.triplea.attachments.TriggerAttachment.collectAndFireTriggers(TriggerAttachment.java:219)
	at games.strategy.triplea.delegate.BaseTripleADelegate.triggerWhenTriggerAttachments(BaseTripleADelegate.java:81)
	at games.strategy.triplea.delegate.BaseTripleADelegate.start(BaseTripleADelegate.java:32)
	at games.strategy.triplea.delegate.battle.BattleDelegate.start(BattleDelegate.java:83)
	at games.strategy.engine.framework.ServerGame.startStep(ServerGame.java:519)
	at games.strategy.engine.framework.ServerGame.runStep(ServerGame.java:398)
	at games.strategy.engine.framework.ServerGame.startGame(ServerGame.java:297)
	at games.strategy.engine.framework.startup.launcher.LocalLauncher.launchInternal(LocalLauncher.java:82)
	at games.strategy.engine.framework.startup.launcher.LocalLauncher.lambda$launch$0(LocalLauncher.java:56)
	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 13, 2023
@tedrockets
Copy link

3 times I played through turn 35 and 3 times this crash happened when the first convoy tried to manifest in the Bay of Bengal. It looks like a simple error but I can't find it. The entire game is at https://drive.google.com/file/d/1GliTK6cSfnUuq1tmGvtBv5XiFRayIP0z/view?usp=sharing
And here is the xml, someone please have a look.
AgeWorld.txt
OK that did not work, here is the xml
https://drive.google.com/file/d/1PJ2u1W9SwE-YfmGwpTdBiW5AwXkDzXZK/view?usp=sharing

@tedrockets
Copy link

OK thanks to @wc_sumpton I think the game will work beyond turn 36 if you use the AgeWorld.xml found here
https://github.com/tedrockets/triplea More minor changes coming soon.

@frigoref frigoref added the IllegalStateException java.lang.IllegalStateException label Aug 8, 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 IllegalStateException java.lang.IllegalStateException
Projects
None yet
Development

No branches or pull requests

3 participants