Navigation

    TripleA Logo

    TripleA Forum

    • Register
    • Login
    • Search
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags

    TripleA 2.6.714 null error

    Development
    2
    5
    349
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • TheDog
      TheDog last edited by TheDog

      .
      Note: Tested TripleA-2.6.696 this error does not occur.

      .
      On one of my maps
      https://forums.triplea-game.org/topic/2399/settlers-age-of-tribes-official-thread

      download here (same link on the above page)
      https://drive.google.com/file/d/1umcA65bTP-wwauXPoR-n7oDSO1neVRs5/view?usp=sharing

      To reproduce the TripleA 2.6.714 null error

      Run the above map.
      Untick Celestial, Dragonkin and Demon and start the game, after a few turns it will crash and show this error.

      e39e388f-1f87-4b78-976d-3ba9b8987435-image.png

      Here is the error.log

      5673 10:51:40.529 [main] INFO  o.t.game.client.HeadedGameRunner - Launching game, version: 2.6.714 
      5845 10:51:40.701 [Thread-4] DEBUG g.s.e.data.gameparser.GameParser - Parsing game XML: C:\Users\RYZEN\triplea\downloadedMaps\settlers_age_of_tribes\games\settlers_age_of_tribes.xml
      30213 10:52:05.069 [Thread-9] DEBUG g.s.e.data.gameparser.GameParser - Parsing game XML: C:\Users\RYZEN\triplea\downloadedMaps\settlers_age_of_tribes\games\settlers_age_of_tribes.xml
      30182 10:52:05.038 [Thread-8] ERROR o.t.game.client.HeadedGameRunner - null
      java.lang.NullPointerException: null
      	at games.strategy.engine.data.GameMap.getNeighbors(GameMap.java:118)
      	at games.strategy.engine.data.GameMap.getNeighbors(GameMap.java:170)
      	at games.strategy.engine.data.GameMap.getNeighbors(GameMap.java:145)
      	at games.strategy.triplea.ai.pro.util.ProUtils.getClosestEnemyLandTerritoryDistance(ProUtils.java:181)
      	at games.strategy.triplea.ai.pro.ProNonCombatMoveAi.doNonCombatMove(ProNonCombatMoveAi.java:106)
      	at games.strategy.triplea.ai.pro.AbstractProAi.move(AbstractProAi.java:126)
      	at games.strategy.triplea.ai.AbstractBuiltInAi.start(AbstractBuiltInAi.java:517)
      	at games.strategy.engine.framework.ServerGame.waitForPlayerToFinishStep(ServerGame.java:549)
      	at games.strategy.engine.framework.ServerGame.runStep(ServerGame.java:417)
      	at games.strategy.engine.framework.ServerGame.startGame(ServerGame.java:302)
      	at games.strategy.engine.framework.startup.launcher.LocalLauncher.launchInternal(LocalLauncher.java:93)
      	at games.strategy.engine.framework.startup.launcher.LocalLauncher.lambda$launch$0(LocalLauncher.java:61)
      	at java.base/java.lang.Thread.run(Thread.java:834)
      

      .
      asvitkine, thanks for all your recent dev work!

      .
      EDIT: I have already raise a github issue here;
      https://github.com/triplea-game/triplea/issues/10385

      TheDog-GH created this issue in triplea-game/triplea

      closed TripleA 2.6.714 null error #10385

      B 2 Replies Last reply Reply Quote 2
      • B
        beelee @TheDog last edited by beelee

        @thedog said in TripleA 2.6.714 null error:

        asvitkine, thanks for all your recent dev work!

        👍

        1 Reply Last reply Reply Quote 0
        • B
          beelee @TheDog last edited by

          @thedog so looks as if you were playing with the AI ? If so, which one ? Anyway you can save after it crashes ? Probably not : )

          TheDog 1 Reply Last reply Reply Quote 0
          • TheDog
            TheDog @beelee last edited by

            @beelee said in TripleA 2.6.714 null error:

            @thedog so looks as if you were playing with the AI ? If so, which one ?

            Yes, 6 Hard AI no human player

            Anyway you can save after it crashes ? Probably not : )

            It was a test, so I did not try

            TheDog 1 Reply Last reply Reply Quote 0
            • TheDog
              TheDog @TheDog last edited by

              In pre-release 2.6.742 just tested the fix, its now working.

              Also its the fastest version of TripleA yet !!!

              Thanks again, asvitkine

              1 Reply Last reply Reply Quote 2
              • 1 / 1
              • First post
                Last post
              Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums