magefree / magefree/mage

SERVER - game error

Open
#13,198 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
2.4k
Forks
940
Avg merge
2d 12h
Merged PRs (30d)
160

Description

This is the automated error report that was generated when the game crashed when the AI had [[Drakusaw, Maw of Flames]] attack me.

Error type: SERVER - game error

Client version: 1.4.55-V3 (build: 2024-12-16 20:14)
Java version: 1.8.0_201
Default charset: UTF-8

Game end on critical error: mage.MageException: Too many errors, game will be end. Last error: java.lang.IllegalStateException: Target wasn't handled in computer's chooseTarget method: mage.target.common.TargetPermanentOrPlayer

mage.MageException: Too many errors, game will be end. Last error: java.lang.IllegalStateException: Target wasn't handled in computer's chooseTarget method: mage.target.common.TargetPermanentOrPlayer
Server version: 1.4.55-V3 (build: 2024-12-16 20:14)
Stack trace:
mage.game.GameImpl.playPriority(GameImpl.java:1763)
mage.game.turn.Step.priority(Step.java:67)
mage.game.turn.Phase.playStep(Phase.java:205)
mage.game.turn.Phase.play(Phase.java:91)
mage.game.turn.Turn.play(Turn.java:137)
mage.game.GameImpl.playTurn(GameImpl.java:1153)
mage.game.GameImpl.play(GameImpl.java:1060)
mage.game.GameImpl.start(GameImpl.java:1036)
mage.server.game.GameWorker.call(GameWorker.java:35)
mage.server.game.GameWorker.call(GameWorker.java:16)
java.util.concurrent.FutureTask.run(FutureTask.java:266)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
java.lang.Thread.run(Thread.java:748)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at mage.GameImpl.playPriority in the supplied stack trace and trace the AI target-selection path for Drakusaw, Maw of Flames and TargetPermanentOrPlayer. Reproduce the attack scenario and confirm that the game no longer ends with the reported IllegalStateException.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.