magefree / magefree/mage

Twinblade Geist Disturb ability fails

Open
#16,071 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
2.4k
Forks
940
Avg merge
2d 12h
Merged PRs (30d)
160

Description

Automated error message below.
I cast Twinblade Geist for its Disturb cost. Plenty of targets were available, but instead of asking me to pick one it generated this message.

Error type: SERVER - game error

Client version: 1.4.61-V1 (build: 2026-08-14 16:25)
Java version: 1.8.0_201
Default charset: UTF-8
Time: 2026-08-30T17:55:41Z

Game error occurred:

java.lang.IllegalArgumentException: Something wrong, found etb aura with empty spell ability or without any targets: Twinblade Invocation [a75] (DoubleFacedCardHalf -> TransformingDoubleFacedCardHalf), source: Cast Twinblade Invocation using Disturb
Server version: 1.4.61-V1 (build: 2026-08-14 16:25)

Game state:
Freeform Unlimited Commander; T15.M1; active: DirtKing; stack: 0

Stack trace:
```
mage.players.PlayerImpl.moveCards(PlayerImpl.java:5068)
mage.players.PlayerImpl.moveCards(PlayerImpl.java:5022)
mage.game.stack.Spell.resolve(Spell.java:361)
mage.game.GameImpl.resolve(GameImpl.java:1859)
mage.game.GameImpl.playPriority(GameImpl.java:1780)
mage.game.turn.Step.priority(Step.java:73)
mage.game.turn.Phase.playStep(Phase.java:205)
mage.game.turn.Phase.play(Phase.java:91)
mage.game.turn.Turn.play(Turn.java:132)
mage.game.GameImpl.playTurn(GameImpl.java:1197)
mage.game.GameImpl.play(GameImpl.java:1104)
mage.game.GameImpl.start(GameImpl.java:1080)
mage.server.game.GameWorker.call(GameWorker.java:35)
mage.server.game.GameWorker.call(GameWorker.java:16)
java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
java.base/java.lang.Thread.run(Thread.java:829)
```

Last game logs:
5:51 PM, T14.M1: Computer 2 puts Plateau [ab6] from hand onto the Battlefield
5:51 PM, T14.M1: Computer 2 plays Plateau [ab6]
5:51 PM, T14.M1: Computer 2 casts Loot, Exuberant Explorer [9c0] from hand
5:51 PM, T14.M1: Computer 2 puts Loot, Exuberant Explorer [9c0] from stack onto the Battlefield
5:51 PM, T14.M1: Computer 2 puts Underground Sea [db2] from hand onto the Battlefield
5:51 PM, T14.M1: Computer 2 plays Underground Sea [db2]
5:51 PM, T14.DA: Computer 2 skip attack
5:51 PM: TURN 15 for DirtKing (20 - 47)
5:51 PM, T15.DR: DirtKing draws a card
5:52 PM, T15.M1: DirtKing casts Twinblade Invocation [37e] using Disturb from graveyard from graveyard
5:52 PM, T15.M1: DirtKing - Ability triggers: Kor Spiritdancer [e7c] - Whenever you cast an Aura spell, you may draw a card.
5:52 PM, T15.M1: DirtKing draws a card
5:52 PM, T15.M1: Auto-restored to T15.M1 due game error: java.lang.IllegalArgumentException: Something wrong, found etb aura with empty spell ability or without any targets: Twinblade Invocation [a75] (DoubleFacedCardHalf -> TransformingDoubleFacedCardHalf), source: Cast Twinblade Invocation using Disturb
5:52 PM, T15.M1: DirtKing casts Twinblade Invocation [37e] using Disturb from graveyard from graveyard
5:52 PM, T15.M1: DirtKing - Ability triggers: Kor Spiritdancer [e7c] - Whenever you cast an Aura spell, you may draw a card.
5:52 PM, T15.M1: DirtKing draws a card

Contributor guide

No contributing guide indexed for this repository

Research direction

Trace the reported path through PlayerImpl.moveCards, Spell.resolve, and GameImpl.resolve, starting with the Disturb cast of Twinblade Invocation. Inspect why the transformed ETB Aura has an empty spell ability or no targets when valid targets exist. Done means casting Twinblade Geist with Disturb prompts for a target and resolves without the reported server error.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.