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.29k stars 381 forks source link

2.6.14744: MapImage#loadImage:263 - java.lang.IllegalStateException #12598

Open tripleabuilderbot opened 1 month ago

tripleabuilderbot commented 1 month ago

Map

modern_warfare / Modern Warfare

Log Message

Failed to start game

TripleA Version

2.6.14744

Java Version

11.0.16

Operating System

Linux

Heap Size

1972M

Stack Trace

Exception: java.lang.IllegalStateException File not found: smallMap with extensions: [jpeg, jpg, png]
java.lang.Exception
    at games.strategy.triplea.image.MapImage.loadImage(MapImage.java:263)
    at games.strategy.triplea.image.MapImage.<init>(MapImage.java:243)
    at games.strategy.triplea.ui.UiContext.<init>(UiContext.java:150)
    at games.strategy.triplea.ui.TripleAFrame.create(TripleAFrame.java:471)
    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$launch$3(MainPanelBuilder.java:58)
    at java.base/java.lang.Thread.run(Thread.java:829)
beelee1 commented 1 month ago

same error as #12595 but a different release. My guess is that it is a map error, but if it used to work and now doesn't ... maybe not ?

Does this happen with other maps too ?

DanVanAtta commented 1 month ago

Error messages are de-duped based on version & title - it can very well be the same problem. I agree this seems like a map-making problem, the 'small' map file seems missing or misnamed.

WCSumpton commented 1 month ago

Small map is named "smallmap.jpeg" not "smallMap.jpeg". Windows systems are not case sensitive, while other OS's (Linux) are.

Cheers...