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

Deck with only Double Faced Lands Causes random NPE #9742

Open
Alex-Vasile opened this issue Nov 7, 2022 · 3 comments
Open

Deck with only Double Faced Lands Causes random NPE #9742

Alex-Vasile opened this issue Nov 7, 2022 · 3 comments
Labels
bug Bugs and errors GUI

Comments

@Alex-Vasile
Copy link
Contributor

"I am playing decks with no lands and only double face land cards like belcher"

"It happens randomly." Sometimes they can play a full game before it shows up.

Top of the error:

FATAL 2022-11-04 13:13:59,689 Client error
                                                                              =>[AWT-EventQueue-0] CallbackClientImpl.handleException 
java.lang.NullPointerException
	at mage.client.remote.CallbackClientImpl.lambda$processCallback$0(CallbackClientImpl.java:230)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
	at mage.client.dialog.MageDialog.startModal(MageDialog.java:172)
	at mage.client.dialog.MageDialog.show(MageDialog.java:83)
	at java.awt.Component.show(Component.java:1671)
	at java.awt.Component.setVisible(Component.java:1623)
	at javax.swing.JComponent.setVisible(JComponent.java:2644)
	at mage.client.dialog.MageDialog.setVisible(MageDialog.java:89)
	at mage.client.dialog.UserRequestDialog.showDialog(UserRequestDialog.java:78)
	at mage.client.MageFrame.showUserRequestDialog(MageFrame.java:1241)
	at mage.client.MageFrame.showError(MageFrame.java:1515)
	at mage.client.remote.CallbackClientImpl.handleException(CallbackClientImpl.java:633)
	at mage.client.remote.CallbackClientImpl.lambda$processCallback$0(CallbackClientImpl.java:444)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
	at mage.client.dialog.MageDialog.startModal(MageDialog.java:172)
	at mage.client.dialog.MageDialog.show(MageDialog.java:83)

Full error file: npe.txt

Two decks that cause the issue to occur:
1-LAND_TWIDDLE_STORM.txt
BELCHER.txt

@Alex-Vasile Alex-Vasile added bug Bugs and errors GUI labels Nov 7, 2022
@Alex-Vasile
Copy link
Contributor Author

"The problem is usually caused by [[Recross the Paths]] and [[Goblin Charbelcher]]"

"then if i quit the match and start another one it suddenly appears the NullPointerException before I draw the initial 7"

@github-actions
Copy link

github-actions bot commented Nov 7, 2022

Recross the Paths - (Gatherer) (Scryfall) (EDHREC)

{2}{G}
Sorcery
Reveal cards from the top of your library until you reveal a land card. Put that card onto the battlefield and the rest on the bottom of your library in any order. Clash with an opponent. If you win, return Recross the Paths to its owner's hand. (Each clashing player reveals the top card of their library, then puts that card on the top or bottom. A player wins if their card had a higher mana value.)

Goblin Charbelcher - (Gatherer) (Scryfall) (EDHREC)

{4}
Artifact
{3}, {T}: Reveal cards from the top of your library until you reveal a land card. Goblin Charbelcher deals damage equal to the number of nonland cards revealed this way to any target. If the revealed land card was a Mountain, Goblin Charbelcher deals double that damage instead. Put the revealed cards on the bottom of your library in any order.

@Susucre
Copy link
Contributor

Susucre commented Aug 12, 2023

Recross the Path's issue was a MageObject being sent in a client-side message during resolution, which could not be deserialized client side, I would expect that one to be fixed in current version. Goblin Charbelcher may have a similar issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugs and errors GUI
Projects
None yet
Development

No branches or pull requests

2 participants