Card-Forge / forge

An unofficial rules engine for the world's greatest card game.
https://card-forge.github.io/forge/
GNU General Public License v3.0
972 stars 562 forks source link

Can't finish "Event: Booster Draft" in Adventure Mode #5052

Closed MRCLVC closed 5 months ago

MRCLVC commented 6 months ago

Describe the bug In Adventure Mode after the end of a "Draft Mode" round an exception is thrown.

To Reproduce

EDT > java.lang.NullPointerException: Cannot invoke "forge.adventure.data.AdventureEventData$AdventureEventParticipant.getDeck()" because "this.eventData.nextOpponent" is null at forge.adventure.scene.DuelScene.enter(DuelScene.java:309) at forge.Forge.switchToLast(Forge.java:1074) at forge.adventure.scene.DuelScene.lambda$afterGameEnd$1(DuelScene.java:163) at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.loop(Lwjgl3Application.java:208) at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.<init>(Lwjgl3Application.java:166) at forge.app.Main.main(Main.java:134)

Expected behavior Another round of Draft should happen with the winning opponent from other pairings.

Desktop (please complete the following information):

Additional context Using the right arrow button on the bracket table show no second round pairings when you start the Tournament.

tehdiplomat commented 6 months ago

@MRCLVC What version of Forge are you on?

MRCLVC commented 6 months ago

@MRCLVC What version of Forge are you on?

Forge v.1.6.62-SNAPSHOT (forge.GuiDesktop@9597028) downloaded 4/16/24 released on 4/15

jylee4 commented 6 months ago

I've seen this before, also on latest snapshots. It doesn't seem reliably reproducible.

github-actions[bot] commented 5 months ago

This issue has not been updated in a while and has now been marked as stale. Stale messages will be auto closed.

github-actions[bot] commented 5 months ago

This issue was closed because it has been stalled for 5 days with no activity.