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 398 forks source link

2.5.22294: MapData#<init>:136 - java.lang.IllegalStateException #12998

Closed tripleabuilderbot closed 1 week ago

tripleabuilderbot commented 1 week ago

Map

world_war_i_1914

Log Message

Failed to start game

TripleA Version

2.5.22294

Java Version

11.0.6

Operating System

Windows 10

Memory

Heap utilization statistics [MB] Used Memory: 116 Free memory: 1863 Total memory: 1979 Max memory: 1979

Stack Trace

Exception: java.lang.IllegalStateExceptionError in resource loading. Unable to load expected resource: polygons.txt, the error is that either we did not find the correct path to load. Check the resource loader to make sure the map zip or dir was added. Failing that, the path in this error message should be available relative to the map folder, or relative to the root of the map zip
java.lang.Exception
    at games.strategy.triplea.ui.mapdata.MapData.<init>(MapData.java:136)
    at games.strategy.triplea.ui.UiContext.internalSetMapDir(UiContext.java:101)
    at games.strategy.triplea.ui.UiContext.setDefaultMapDir(UiContext.java:282)
    at games.strategy.triplea.ui.TripleAFrame.create(TripleAFrame.java:685)
    at games.strategy.engine.framework.startup.mc.HeadedLaunchAction.startGame(HeadedLaunchAction.java:64)
    at games.strategy.triplea.TripleA.startGame(TripleA.java:62)
    at games.strategy.engine.framework.startup.launcher.LocalLauncher.loadGame(LocalLauncher.java:68)
    at games.strategy.engine.framework.startup.launcher.LocalLauncher.launch(LocalLauncher.java:55)
    at games.strategy.engine.framework.startup.ui.panels.main.MainPanelBuilder.lambda$buildMainPanel$0(MainPanelBuilder.java:46)
    at java.base/java.lang.Thread.run(Thread.java:834)
TheDog-GH commented 1 week ago

2.5 is not supported, upgrade to 2.7