Error message



  • Hi,

    what is the reason for this:

    Jun 19, 2020 5:28:43 PM games.strategy.engine.framework.startup.launcher.LocalLauncher loadGame
    SCHWERWIEGEND: Failed to start game
    java.lang.IllegalStateException: Error 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
    at games.strategy.triplea.ui.mapdata.MapData.<init>(MapData.java:152)
    at games.strategy.triplea.ui.HeadedUiContext.internalSetMapDir(HeadedUiContext.java:79)
    at games.strategy.triplea.ui.AbstractUiContext.setDefaultMapDir(AbstractUiContext.java:107)
    at games.strategy.triplea.ui.TripleAFrame.create(TripleAFrame.java:232)
    at games.strategy.triplea.TripleA.startGame(TripleA.java:105)
    at games.strategy.engine.framework.startup.launcher.LocalLauncher.loadGame(LocalLauncher.java:60)
    at games.strategy.engine.framework.startup.launcher.LocalLauncher.launchInNewThread(LocalLauncher.java:39)
    at games.strategy.engine.framework.startup.launcher.AbstractLauncher.lambda$launch$0(AbstractLauncher.java:51)
    at java.lang.Thread.run(Unknown Source)

    Jun 19, 2020 5:29:03 PM games.strategy.engine.framework.startup.launcher.LocalLauncher loadGame
    SCHWERWIEGEND: Failed to start game
    java.lang.IllegalStateException: Error 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
    at games.strategy.triplea.ui.mapdata.MapData.<init>(MapData.java:152)
    at games.strategy.triplea.ui.HeadedUiContext.internalSetMapDir(HeadedUiContext.java:79)
    at games.strategy.triplea.ui.AbstractUiContext.setDefaultMapDir(AbstractUiContext.java:107)
    at games.strategy.triplea.ui.TripleAFrame.create(TripleAFrame.java:232)
    at games.strategy.triplea.TripleA.startGame(TripleA.java:105)
    at games.strategy.engine.framework.startup.launcher.LocalLauncher.loadGame(LocalLauncher.java:60)
    at games.strategy.engine.framework.startup.launcher.LocalLauncher.launchInNewThread(LocalLauncher.java:39)
    at games.strategy.engine.framework.startup.launcher.AbstractLauncher.lambda$launch$0(AbstractLauncher.java:51)
    at java.lang.Thread.run(Unknown Source)


  • Moderators Admin

    @Numetalfan said in Error message:

    Error 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

    This indicates that the file/folder-structure of the map does not meet the requirements. What are you trying to run?



  • Hi,

    I think I fount the problem, thx


  • Moderators Admin

    Assuming you are making or modifying a map, moved to Map Making.

    If not:
    https://forums.triplea-game.org/topic/1708/how-to-submit-a-bug-report


Log in to reply