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

NPE from SaddledSourceThisTurnPredicate #13006

Open
Don-Cruz opened this issue Oct 17, 2024 · 0 comments
Open

NPE from SaddledSourceThisTurnPredicate #13006

Don-Cruz opened this issue Oct 17, 2024 · 0 comments
Labels
bug Bugs and errors

Comments

@Don-Cruz
Copy link

This occured during a game of a booster draft tournament with 3 OJT Boosters against bot competition

Error type: SERVER - game error
Client version: 1.4.54-V3 (build: 2024-09-25 12:58)

Game error occurred:

java.lang.NullPointerException
Server version: 1.4.54-V3 (build: 2024-09-25 12:58)
Stack trace:
mage.filter.predicate.permanent.SaddledSourceThisTurnPredicate.apply(SaddledSourceThisTurnPredicate.java:21)
mage.filter.predicate.permanent.SaddledSourceThisTurnPredicate.apply(SaddledSourceThisTurnPredicate.java:15)
mage.filter.FilterPermanent.lambda$match$0(FilterPermanent.java:60)
java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90)
java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1359)
java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
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:454)
mage.filter.FilterPermanent.match(FilterPermanent.java:60)
mage.target.TargetPermanent.canTarget(TargetPermanent.java:77)
mage.player.ai.ComputerPlayer.choose(ComputerPlayer.java:243)
mage.player.ai.ComputerPlayer.choose(ComputerPlayer.java:130)
mage.cards.r.RamblingPossumEffect.apply(RamblingPossum.java:88)
mage.abilities.AbilityImpl.resolveMode(AbilityImpl.java:222)
mage.abilities.AbilityImpl.resolve(AbilityImpl.java:206)
mage.abilities.TriggeredAbilityImpl.resolve(TriggeredAbilityImpl.java:205)
mage.game.stack.StackAbility.resolve(StackAbility.java:85)
mage.game.GameImpl.resolve(GameImpl.java:1805)
mage.game.GameImpl.playPriority(GameImpl.java:1728)
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:1152)
mage.game.GameImpl.play(GameImpl.java:1059)
mage.game.GameImpl.start(GameImpl.java:1035)
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)

@jeffwadsworth jeffwadsworth added the bug Bugs and errors label Oct 17, 2024
@xenohedron xenohedron changed the title SERVER - game error NPE from SaddledSourceThisTurnPredicate Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugs and errors
Projects
None yet
Development

No branches or pull requests

2 participants