TripleA 2.6.714 null error
-
.
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-threaddownload here (same link on the above page)
https://drive.google.com/file/d/1umcA65bTP-wwauXPoR-n7oDSO1neVRs5/view?usp=sharingTo 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.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 said in TripleA 2.6.714 null error:
asvitkine, thanks for all your recent dev work!
-
@thedog so looks as if you were playing with the AI ? If so, which one ? Anyway you can save after it crashes ? Probably not : )
-
@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
-
In pre-release 2.6.742 just tested the fix, its now working.
Also its the fastest version of TripleA yet !!!
Thanks again, asvitkine