mehtank/androminion

null reference: discardAttackCardsToKeep(BasePlayer.java:590)

Opened this issue · 1 comments

Version 9.06

01-27 10:30:59.901 3272 32471 E AndroidRuntime: Process: com.mehtank.androminion, PID: 3272
01-27 10:30:59.901 3272 32471 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'com.vdom.core.CardList com.vdom.core.Player.getHand()' on a null object reference
01-27 10:30:59.901 3272 32471 E AndroidRuntime: at com.vdom.core.BasePlayer.discardAttackCardsToKeep(BasePlayer.java:590)
01-27 10:30:59.901 3272 32471 E AndroidRuntime: at com.vdom.core.BasePlayer.militia_attack_cardsToKeep(BasePlayer.java:582)
01-27 10:30:59.901 3272 32471 E AndroidRuntime: at com.vdom.core.BasePlayer.poverty_attack_cardsToKeep(BasePlayer.java:4891)
01-27 10:30:59.901 3272 32471 E AndroidRuntime: at com.vdom.core.CardImplNocturne.poverty(CardImplNocturne.java:986)
01-27 10:30:59.901 3272 32471 E AndroidRuntime: at com.vdom.core.CardImplNocturne.additionalCardActions(CardImplNocturne.java:135)
01-27 10:30:59.901 3272 32471 E AndroidRuntime: at com.vdom.core.CardImpl.play(CardImpl.java:844)
01-27 10:30:59.901 3272 32471 E AndroidRuntime: at com.vdom.core.Game.receiveNextHex(Game.java:2810)
01-27 10:30:59.901 3272 32471 E AndroidRuntime: at com.vdom.core.CardImplNocturne.leprechaun(CardImplNocturne.java:692)
01-27 10:30:59.901 3272 32471 E AndroidRuntime: at com.vdom.core.CardImplNocturne.additionalCardActions(CardImplNocturne.java:99)
01-27 10:30:59.901 3272 32471 E AndroidRuntime: at com.vdom.core.CardImpl.play(CardImpl.java:844)
01-27 10:30:59.901 3272 32471 E AndroidRuntime: at com.vdom.core.CardImpl.play(CardImpl.java:734)
01-27 10:30:59.901 3272 32471 E AndroidRuntime: at com.vdom.core.CardImpl.play(CardImpl.java:730)
01-27 10:30:59.901 3272 32471 E AndroidRuntime: at com.vdom.core.Game.playerAction(Game.java:995)
01-27 10:30:59.901 3272 32471 E AndroidRuntime: at com.vdom.core.Game.start(Game.java:349)
01-27 10:30:59.901 3272 32471 E AndroidRuntime: at com.vdom.core.Game.go(Game.java:224)
01-27 10:30:59.901 3272 32471 E AndroidRuntime: at com.vdom.core.VDomServer$GameStarter.run(VDomServer.java:47)
01-27 10:30:59.901 3272 32471 E AndroidRuntime: at java.lang.Thread.run(Thread.java:919)

Problem with leprechaun played by AI