question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[40K] Abaddon the Despoiler throws java.lang.ClassCastException

See original GitHub issue

[[Abaddon the Despoiler]]

Game exception occurred: java.lang.ClassCastException: mage.cards.c.CourtOfIre cannot be cast to mage.game.stack.StackObject
Server version: 1.4.52-V1-beta1 (build: 2022-08-31 09:55)
mage.cards.a.AbaddonTheDespoilerPredicate.apply(AbaddonTheDespoiler.java:76)
mage.filter.predicate.Predicates$AndPredicate.lambda$apply$0(Predicates.java:152)
java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90)
java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1361)
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:499)
java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:486)
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230)
java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196)
java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
java.util.stream.ReferencePipeline.allMatch(ReferencePipeline.java:521)
mage.filter.predicate.Predicates$AndPredicate.apply(Predicates.java:152)
mage.filter.FilterImpl.match(FilterImpl.java:38)
mage.abilities.effects.GainAbilitySpellsEffect.apply(GainAbilitySpellsEffect.java:54)
mage.abilities.effects.ContinuousEffectImpl.apply(ContinuousEffectImpl.java:115)
mage.abilities.decorator.ConditionalContinuousEffect.apply(ConditionalContinuousEffect.java:100)
mage.abilities.effects.ContinuousEffects.apply(ContinuousEffects.java:1097)
mage.game.GameState.applyEffects(GameState.java:663)
mage.game.GameImpl.applyEffects(GameImpl.java:1763)
mage.players.PlayerImpl.moveCards(PlayerImpl.java:4586)
mage.players.PlayerImpl.moveCards(PlayerImpl.java:4532)
mage.game.stack.Spell.resolve(Spell.java:349)
mage.game.GameImpl.resolve(GameImpl.java:1634)
mage.game.GameImpl.playPriority(GameImpl.java:1560)
mage.game.turn.Step.priority(Step.java:61)
mage.game.turn.Phase.playStep(Phase.java:184)
mage.game.turn.Phase.play(Phase.java:89)
mage.game.turn.Turn.play(Turn.java:132)
mage.game.GameImpl.playTurn(GameImpl.java:1055)
mage.game.GameImpl.play(GameImpl.java:965)
mage.game.GameImpl.start(GameImpl.java:941)
mage.server.game.GameWorker.call(GameWorker.java:34)
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:750)

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:13 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
weirddan455commented, Sep 8, 2022

I’m assuming it’s for things like cost reduction effects and abilities like Flash that can change when you are able to cast the spell.

0reactions
weirddan455commented, Sep 8, 2022

Yea, that class probably needs to be re-worked at some point. I also don’t like how there’s GainAbilityControlledSpellsEffect that does essentially the same thing.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ZDSClient post throws java.lang.ClassCastException · Issue #82 ...
ClassCastException : class nl.haarlem.translations.zds... ... ZDSClient post throws java.lang. ... String is in module java.base of loader 'bootstrap').
Read more >
java.lang.ClassCastException: DTOObject cannot be cast to ...
Now in my spring MVC while loading all roles I am calling all permissions and since this is repetitive operation I thought of...
Read more >
Warhammer 40K: Ezekyle Abaddon - The Despoiler
Today we delve deep into the dread leader of the Traitor Legionaries – Arch-heretic Ezekyle Abaddon.
Read more >
Every Warhammer 40K Faction Leader vs Abaddon the ...
Let's put the Warmaster through his paces and try and take down the greatest heroes, villains and minor deities of Warhammer 40K.
Read more >
Abaddon the Despoiler is Back in Business With a Fearsome ...
Tzeentch's boon empowers Abaddon with the ability to pre-empt incoming blows, negating any damage caused by the first failed save.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found