Hi,
In a campaign using the AtB rules, on more than one occassion the game hangs when the civilians are deploying.
The error code is:
error: server got invalid deployment packet from connection 1, Entity: Crusader CRD-3R
error: server got invalid deployment packet from connection 1, Entity: Crusader CRD-3R
java.lang.NullPointerException
at megamek.client.bot.BotClient.getStartingCoordsArray(BotClient.java:497)
at megamek.client.bot.princess.Princess.calculateDeployment(Princess.java:247)
at megamek.client.bot.BotClient.calculateMyTurn(BotClient.java:390)
at megamek.client.bot.BotClient$CalculateBotTurn.run(BotClient.java:100)
at java.lang.Thread.run(Thread.java:745)
error: server got invalid deployment packet from connection 1, Entity: Griffin GRF-1N
error: server got invalid deployment packet from connection 1, Entity: Griffin GRF-1N
Exception in thread "Packet Pump" java.lang.NullPointerException
at megamek.common.TurnOrdered.rollInitAndResolveTies(TurnOrdered.java:319)
at megamek.common.TurnOrdered.rollInitiative(TurnOrdered.java:271)
at megamek.server.Server.rollInitiative(Server.java:3287)
at megamek.server.Server.prepareForPhase(Server.java:2201)
at megamek.server.Server.changePhase(Server.java:2157)
at megamek.server.Server.endCurrentPhase(Server.java:2677)
at megamek.server.Server.changeToNextTurn(Server.java:3055)
at megamek.server.Server.endCurrentTurn(Server.java:2142)
at megamek.server.Server.receiveDeployment(Server.java:11917)
at megamek.server.Server.handle(Server.java:28902)
at megamek.server.Server$PacketPump.run(Server.java:345)
Thanks, Dav
This should probably be reported on the MegaMek bug tracker as it doesn't happen in HQ. Also, see https://sourceforge.net/p/megamek/wiki/bug_report_howto/ for proper bug reporting.