Posted April 14, 2019 Moving guard towers as a GM no matter if push / pull or summon will cause an endless exception loop of nullpointerexceptions in the pollCreatures method. The problem is that the Creature class for the guards left in the old place still have this.guardTower !=null after the move, but the GuardTower.class doesn't remember the guardTower before the move and causes and NPE exception when it tries to load the kingdom of it. Apr 14, 2019 4:57:04 PM com.wurmonline.server.creatures.Creatures pollAllCreatures INFO: null java.lang.NullPointerException at com.wurmonline.server.kingdom.GuardTower.getKingdom(GuardTower.java:111) at com.wurmonline.server.creatures.Creature.checkForEnemies(Creature.java:17183) at com.wurmonline.server.creatures.Creature.checkForEnemies(Creature.java:17176) at com.wurmonline.server.creatures.Creature.poll(Creature.java:6219) at com.wurmonline.server.creatures.Creatures.pollAllCreatures(Creatures.java:1834) at com.wurmonline.server.zones.Zones.pollNextZones(Zones.java:1975) at com.wurmonline.server.Server.run(Server.java:1911) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505) Apr 14, 2019 4:57:05 PM com.wurmonline.server.creatures.Creatures pollAllCreatures INFO: null java.lang.NullPointerException at com.wurmonline.server.kingdom.GuardTower.getKingdom(GuardTower.java:111) at com.wurmonline.server.creatures.Creature.checkForEnemies(Creature.java:17183) at com.wurmonline.server.creatures.Creature.checkForEnemies(Creature.java:17176) at com.wurmonline.server.creatures.Creature.poll(Creature.java:6219) at com.wurmonline.server.creatures.Creatures.pollAllCreatures(Creatures.java:1834) at com.wurmonline.server.zones.Zones.pollNextZones(Zones.java:1975) at com.wurmonline.server.Server.run(Server.java:1911) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505) Apr 14, 2019 4:57:06 PM com.wurmonline.server.creatures.Creatures pollAllCreatures INFO: null java.lang.NullPointerException at com.wurmonline.server.kingdom.GuardTower.getKingdom(GuardTower.java:111) at com.wurmonline.server.creatures.Creature.checkForEnemies(Creature.java:17183) at com.wurmonline.server.creatures.Creature.checkForEnemies(Creature.java:17176) at com.wurmonline.server.creatures.Creature.poll(Creature.java:6219) at com.wurmonline.server.creatures.Creatures.pollAllCreatures(Creatures.java:1834) at com.wurmonline.server.zones.Zones.pollNextZones(Zones.java:1975) at com.wurmonline.server.Server.run(Server.java:1911) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505) Apr 14, 2019 4:57:07 PM com.wurmonline.server.creatures.Creatures pollAllCreatures INFO: null java.lang.NullPointerException Apr 14, 2019 4:57:07 PM com.wurmonline.server.creatures.Creatures pollAllCreatures INFO: null java.lang.NullPointerException Apr 14, 2019 4:57:07 PM com.wurmonline.server.creatures.Creatures pollAllCreatures INFO: null java.lang.NullPointerException Apr 14, 2019 4:57:07 PM com.wurmonline.server.creatures.Creatures pollAllCreatures INFO: null java.lang.NullPointerException Apr 14, 2019 4:57:07 PM com.wurmonline.server.creatures.Creatures pollAllCreatures INFO: null java.lang.NullPointerException Apr 14, 2019 4:57:07 PM com.wurmonline.server.creatures.Creatures pollAllCreatures INFO: null java.lang.NullPointerException Apr 14, 2019 4:57:07 PM com.wurmonline.server.creatures.Creatures pollAllCreatures INFO: null java.lang.NullPointerException and a few 100 other NPEs.... 1 Share this post Link to post Share on other sites