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.35k stars 399 forks source link

2.5.22294: GameParser#parseResults:642 - games.strategy.engine.data.gameparser.GameParseException #12983

Closed tripleabuilderbot closed 5 days ago

tripleabuilderbot commented 1 week ago

Map

middle_earth

Log Message

Could not parse:jar:file:/C:/Users/micah/triplea/downloadedMaps/battle_for_arda-master.zip!/battle_for_arda-master/TAGX.xml, Could not find resource or unitdunlending_wildman

TripleA Version

2.5.22294

Java Version

11.0.6

Operating System

Windows 10

Memory

Heap utilization statistics [MB] Used Memory: 544 Free memory: 1435 Total memory: 1979 Max memory: 1979

Stack Trace

Exception: games.strategy.engine.data.gameparser.GameParseExceptionCould not find resource or unitdunlending_wildman
java.lang.Exception
    at games.strategy.engine.data.gameparser.GameParser.parseResults(GameParser.java:642)
    at games.strategy.engine.data.gameparser.GameParser.parseProductionRules(GameParser.java:587)
    at games.strategy.engine.data.gameparser.GameParser.parse(GameParser.java:164)
    at games.strategy.engine.data.gameparser.GameParser.lambda$parse$0(GameParser.java:110)
    at org.triplea.java.UrlStreams.openStream(UrlStreams.java:73)
    at games.strategy.engine.data.gameparser.GameParser.parse(GameParser.java:105)
    at games.strategy.engine.framework.startup.ui.panels.main.game.selector.GameSelectorModel.lambda$new$0(GameSelectorModel.java:59)
    at games.strategy.engine.framework.startup.ui.panels.main.game.selector.GameSelectorModel.parseAndValidate(GameSelectorModel.java:126)
    at games.strategy.engine.framework.startup.ui.panels.main.game.selector.GameSelectorModel.load(GameSelectorModel.java:99)
    at games.strategy.engine.framework.startup.ui.panels.main.game.selector.GameSelectorPanel.lambda$selectGameFile$8(GameSelectorPanel.java:399)
    at games.strategy.engine.framework.ui.background.BackgroundTaskRunner.lambda$runInBackground$0(BackgroundTaskRunner.java:45)
    at games.strategy.engine.framework.ui.background.BackgroundTaskRunner$1.doInBackground(BackgroundTaskRunner.java:108)
    at java.desktop/javax.swing.SwingWorker$1.call(SwingWorker.java:304)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at java.desktop/javax.swing.SwingWorker.run(SwingWorker.java:343)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.lang.Thread.run(Thread.java:834)
TheDog-GH commented 5 days ago

2.5 is not supported, upgrade to 2.7

TAGX.xml is special map making file written by alkexr