triplea-game / triplea

TripleA is a turn based strategy game and board game engine, similar to Axis & Allies or Risk.
https://triplea-game.org/
GNU General Public License v3.0
1.36k stars 397 forks source link

2.6.14742: MapData#verifyKeys:528 - java.lang.IllegalStateException #12583

Open tripleabuilderbot opened 6 months ago

tripleabuilderbot commented 6 months ago

User Description

I got the following error:

Failed to start game

IllegalStateException: No data of type centers for territory: Zimbabwe No data of type centers for territory: Bosnia etc No data of type centers for territory: Myanmar

Map

AgeWorld / AgeWorld

Log Message

Failed to start game

TripleA Version

2.6.14742

Java Version

11.0.19

Operating System

Mac OS X

Heap Size

4096M

Stack Trace

Exception: java.lang.IllegalStateException No data of type centers for territory: Zimbabwe
No data of type centers for territory: Bosnia etc
No data of type centers for territory: Myanmar

java.lang.Exception
    at games.strategy.triplea.ui.mapdata.MapData.verifyKeys(MapData.java:528)
    at games.strategy.triplea.ui.mapdata.MapData.verify(MapData.java:494)
    at games.strategy.triplea.ui.TripleAFrame.create(TripleAFrame.java:473)
    at games.strategy.engine.framework.startup.mc.HeadedLaunchAction.startGame(HeadedLaunchAction.java:89)
    at games.strategy.triplea.TripleA.startGame(TripleA.java:62)
    at games.strategy.engine.framework.startup.launcher.LocalLauncher.loadGame(LocalLauncher.java:78)
    at games.strategy.engine.framework.startup.launcher.LocalLauncher.launch(LocalLauncher.java:59)
    at games.strategy.engine.framework.startup.ui.panels.main.MainPanelBuilder.lambda$buildMainPanel$0(MainPanelBuilder.java:48)
    at java.base/java.lang.Thread.run(Thread.java:829)
beelee1 commented 6 months ago

This appears to be a map making error. Go to the triplea forum and look for BlackElks map making guides which are pinned.