mehtank/androminion

Crash doing something with Mine card

Opened this issue · 1 comments

01-17 20:56:57.665 13414 14247 E AndroidRuntime: FATAL EXCEPTION: Thread-19
01-17 20:56:57.665 13414 14247 E AndroidRuntime: Process: com.mehtank.androminion, PID: 13414
01-17 20:56:57.665 13414 14247 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke interface method 'boolean com.vdom.api.Card.
is(com.vdom.core.Type, com.vdom.core.Player, com.vdom.core.MoveContext)' on a null object reference
01-17 20:56:57.665 13414 14247 E AndroidRuntime: at com.vdom.core.CardImplBase.mine(CardImplBase.java:388)
01-17 20:56:57.665 13414 14247 E AndroidRuntime: at com.vdom.core.CardImplBase.additionalCardActions(CardImplBase.java:63)
01-17 20:56:57.665 13414 14247 E AndroidRuntime: at com.vdom.core.CardImpl.play(CardImpl.java:844)
01-17 20:56:57.665 13414 14247 E AndroidRuntime: at com.vdom.core.CardImpl.play(CardImpl.java:734)
01-17 20:56:57.665 13414 14247 E AndroidRuntime: at com.vdom.core.CardImpl.play(CardImpl.java:730)
01-17 20:56:57.665 13414 14247 E AndroidRuntime: at com.vdom.core.Game.playerAction(Game.java:995)
01-17 20:56:57.665 13414 14247 E AndroidRuntime: at com.vdom.core.Game.start(Game.java:349)
01-17 20:56:57.665 13414 14247 E AndroidRuntime: at com.vdom.core.Game.go(Game.java:224)
01-17 20:56:57.665 13414 14247 E AndroidRuntime: at com.vdom.core.VDomServer$GameStarter.run(VDomServer.java:47)
01-17 20:56:57.665 13414 14247 E AndroidRuntime: at java.lang.Thread.run(Thread.java:919)

This also happened to me. Easy to reproduce: Play Mine but don't trash any treasures (either because you can't or by passing).