Null pointer on exploring pirate lair #765
Labels
bug
Verified bug which needs fixing
Wait for verify
Issue has been implemented but needs verification that it works.
Milestone
It is possible to get null pointer when exploring pirate lair:
testRunFullGames(org.openRealmOfStars.game.GameTest) Time elapsed: 4.403 sec <<< ERROR!
java.lang.NullPointerException
at org.openRealmOfStars.player.combat.Combat.(Combat.java:265)
at org.openRealmOfStars.player.combat.Combat.(Combat.java:245)
at org.openRealmOfStars.mapTiles.anomaly.SpaceAnomaly.createAnomalyEvent(SpaceAnomaly.java:353)
at org.openRealmOfStars.game.Game.fleetMakeMove(Game.java:910)
at org.openRealmOfStars.ai.mission.MissionHandling.moveFleetRegular(MissionHandling.java:2411)
at org.openRealmOfStars.ai.mission.MissionHandling.makeRegularMoves(MissionHandling.java:2529)
at org.openRealmOfStars.ai.mission.MissionHandling.handleExploring(MissionHandling.java:673)
at org.openRealmOfStars.game.state.AITurnView.handleMissions(AITurnView.java:323)
at org.openRealmOfStars.game.state.AITurnView.handleAIFleet(AITurnView.java:1669)
at org.openRealmOfStars.game.state.AITurnView.handleAiTurn(AITurnView.java:3762)
at org.openRealmOfStars.game.GameTest.testRunFullGames(GameTest.java:438)
The text was updated successfully, but these errors were encountered: