Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Battlecry crash in Sandbox Mode #5

Open
demilich1 opened this issue Sep 24, 2015 · 1 comment
Open

[Bug] Battlecry crash in Sandbox Mode #5

demilich1 opened this issue Sep 24, 2015 · 1 comment
Labels

Comments

@demilich1
Copy link
Owner

Clicking "Stop" while being prompted to select a Battlecry target in Sandbox Mode crashes the program.

demilich1 pushed a commit that referenced this issue Nov 12, 2015
@demilich1 demilich1 added the bug label Nov 26, 2015
@akoscz
Copy link
Contributor

akoscz commented Jul 17, 2016

Here's a stacktrace of this crash

22:00:05 ERROR - ERROR while playing card [MINION 'Abusive Sergeant' Manacost:1] reference: [CardReference playerId:0 cardName:Abusive Sergeant cardLocation:HAND cardId:70]
22:00:05 ERROR - =========PANIC DUMP=========
java.lang.NullPointerException
    at net.demilich.metastone.game.logic.GameLogic.performGameAction(GameLogic.java:1174)
    at net.demilich.metastone.game.logic.GameLogic.resolveBattlecry(GameLogic.java:1468)
    at net.demilich.metastone.game.logic.GameLogic.summon(GameLogic.java:1615)
    at net.demilich.metastone.game.actions.PlayMinionCardAction.play(PlayMinionCardAction.java:41)
    at net.demilich.metastone.game.actions.PlayCardAction.execute(PlayCardAction.java:44)
    at net.demilich.metastone.game.logic.GameLogic.performGameAction(GameLogic.java:1183)
    at net.demilich.metastone.game.GameContext.performAction(GameContext.java:327)
    at net.demilich.metastone.game.GameContext.playTurn(GameContext.java:366)
    at net.demilich.metastone.game.GameContext.play(GameContext.java:336)
    at net.demilich.metastone.gui.sandboxmode.commands.CreateNewSandboxCommand$1.run(CreateNewSandboxCommand.java:46)
    at java.lang.Thread.run(Thread.java:745)
22:00:05 INFO  - Shutting down!
:app:run FAILED

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants