magefree / mage

Magic Another Game Engine
http://xmage.today
MIT License
1.8k stars 746 forks source link

I get this error when anything happens in a game. #647

Closed ghost closed 9 years ago

ghost commented 9 years ago

MAGE Client UI Error java.lang.nullpointerexpection

LevelX2 commented 9 years ago

You have to add the complete messages from the log. With this information we can do nothing. Which version do you use? To which server are you connected? What game do you start? When exactly happens the problem?

ghost commented 9 years ago

how do i get the log?

LevelX2 commented 9 years ago

Look to the file .../mage-client/mageclient.log

ghost commented 9 years ago
19:02: exile has joined the game 19:02: usdsquare has joined the game :
Match score:
exile - 0 wins
usdsquare - 1 win

You have to win 2 games to win the complete match

Game has started

19:02: usdsquare shuffles his or her library. 19:02: exile shuffles his or her library. 19:02: exile chooses that he or she takes the first turn 19:02: exile draws seven cards 19:02: usdsquare draws seven cards 19:02: exile keeps hand 19:02: usdsquare decides to take mulligan 19:02: usdsquare shuffles his or her library. 19:02: usdsquare mulligans down to 6 cards 19:02: usdsquare draws six cards 19:02: usdsquare keeps hand 19:02: Turn 1 exile (20 - 20) 19:03: exile plays Scalding Tarn 19:03: exile attacks with 0 creatures 19:03: Turn 2 usdsquare (20 - 20) 19:03: usdsquare draws a card 19:03: usdsquare plays Windswept Heath 19:03: usdsquare attacks with 0 creatures 19:03: exile loses 1 life 19:03: exile sacrificed Scalding Tarn 19:03: exile activates: search your library for a Island or Mountain and put it onto the battlefield. Then shuffle your library. from Scalding Tarn 19:03: usdsquare loses 1 life 19:03: usdsquare sacrificed Windswept Heath 19:03: usdsquare activates: search your library for a Forest or Plains and put it onto the battlefield. Then shuffle your library. from Windswept Heath 19:03: usdsquare searches his or her library 19:03: usdsquare puts Overgrown Tomb from library onto the Battlefield 19:03: usdsquare shuffles his or her library. 19:03: exile searches his or her library 19:03: exile puts Blood Crypt from library onto the Battlefield 19:03: exile shuffles his or her library. 19:03: Turn 3 exile (19 - 19) 19:03: exile draws a card 19:03: exile plays Bloodstained Mire 19:04: exile attacks with 0 creatures 19:04: Turn 4 usdsquare (19 - 19) 19:04: usdsquare draws a card 19:04: usdsquare loses 2 life 19:04: usdsquare plays Temple Garden 19:04: usdsquare casts Qasali Pridemage 19:04: usdsquare attacks with 0 creatures 19:04: exile casts Lightning Bolt targeting Qasali Pridemage 19:04: Qasali Pridemage died 19:04: exile loses 1 life 19:04: exile sacrificed Bloodstained Mire 19:04: exile activates: search your library for a Swamp or Mountain and put it onto the battlefield. Then shuffle your library. from Bloodstained Mire 19:04: exile searches his or her library 19:05: exile puts Steam Vents from library onto the Battlefield 19:05: exile shuffles his or her library. 19:05: Turn 5 exile (17 - 18) 19:05: exile draws a card 19:05: exile plays Watery Grave 19:05: exile attacks with 0 creatures 19:05: Turn 6 usdsquare (17 - 18) 19:05: usdsquare draws a card 19:05: usdsquare plays Gavony Township 19:05: usdsquare loses 2 life 19:05: usdsquare casts Birthing Pod 19:05: usdsquare attacks with 0 creatures 19:05: Turn 7 exile (15 - 18) 19:05: exile draws a card 19:05: exile loses 2 life 19:05: exile plays Watery Grave 19:06: exile casts Slaughter Games targeting usdsquare 19:06: Slaughter Gamesnamed card: [Murderous Redcap] 19:06: usdsquare shuffles his or her library. 19:07: exile attacks with 0 creatures 19:07: Turn 8 usdsquare (15 - 16) 19:07: usdsquare draws a card 19:07: usdsquare plays Verdant Catacombs 19:07: usdsquare loses 1 life 19:07: usdsquare sacrificed Verdant Catacombs 19:07: usdsquare activates: search your library for a Forest or Swamp and put it onto the battlefield. Then shuffle your library. from Verdant Catacombs 19:07: usdsquare searches his or her library 19:07: usdsquare loses 2 life 19:07: usdsquare puts Overgrown Tomb from library onto the Battlefield 19:07: usdsquare shuffles his or her library. 19:07: usdsquare casts Entomber Exarch 19:08: Ability triggers: Entomber Exarch - When Entomber Exarch enters the battlefield, choose one -
• Return target creature card from your graveyard to it's owner's hand.
• Target opponent reveals his or her hand, you choose a noncreature card from it, then that player discards that card.
\- targeting exile
19:08: exile reveals Terminate, Dreadbore, Cruel Ultimatum, Treasure Cruise 19:08: exile discards Treasure Cruise 19:08: usdsquare attacks with 0 creatures 19:08: Turn 9 exile (12 - 16) 19:08: exile draws a card 19:09: exile announces a value of 2 for X 19:09: exile casts Rakdos's Return targeting usdsquare 19:09: usdsquare loses 2 life 19:09: usdsquare discards Godless Shrine 19:09: usdsquare discards Chord of Calling 19:09: exile attacks with 0 creatures 19:09: Turn 10 usdsquare (10 - 16) 19:09: usdsquare draws a card 19:09: usdsquare casts Voice of Resurgence 19:09: usdsquare attacks with 1 creature 19:10: Attacker: Entomber Exarch (2/2) unblocked 19:10: exile loses 2 life 19:10: usdsquare sacrificed Voice of Resurgence 19:10: usdsquare activates: Search your library for a creature card with converted mana cost equal to 1 plus the sacrificed creature's converted mana cost, put that card onto the battlefield, then shuffle your library. from Birthing Pod 19:10: Ability triggers: Voice of Resurgence - Whenever an opponent casts a spell during your turn or when Voice of Resurgence dies, put a green and white Elemental creature token onto the battlefield with "This creature's power and toughness are each equal to the number of creatures you control. 19:10: usdsquare puts a Elemental token onto the battlefield 19:10: usdsquare searches his or her library 19:10: usdsquare puts Sin Collector from library onto the Battlefield 19:10: usdsquare shuffles his or her library. 19:10: Ability triggers: Sin Collector - When Sin Collector enters the battlefield, Target opponent reveals his or her hand. You choose an instant or sorcery card from it and exile that card. - targeting exile 19:10: exile reveals Terminate, Dreadbore, Cruel Ultimatum 19:10: usdsquare moves Terminate from hand to exile 19:11: Turn 11 exile (10 - 14) 19:11: exile draws a card 19:11: exile plays Polluted Delta 19:11: exile casts Dreadbore targeting Elemental 19:11: Elemental died 19:11: exile loses 1 life 19:11: exile sacrificed Polluted Delta 19:11: exile activates: search your library for a Island or Swamp and put it onto the battlefield. Then shuffle your library. from Polluted Delta 19:11: exile searches his or her library 19:11: exile puts Blood Crypt from library onto the Battlefield 19:11: exile shuffles his or her library. 19:11: exile attacks with 0 creatures 19:11: Turn 12 usdsquare (10 - 13) 19:11: usdsquare draws a card 19:11: usdsquare attacks with 2 creatures 19:11: Attacker: Entomber Exarch (2/2) unblocked 19:11: Attacker: Sin Collector (2/1) unblocked 19:11: exile loses 2 life 19:11: exile loses 2 life 19:12: usdsquare sacrificed Sin Collector 19:12: usdsquare activates: Search your library for a creature card with converted mana cost equal to 1 plus the sacrificed creature's converted mana cost, put that card onto the battlefield, then shuffle your library. from Birthing Pod 19:12: usdsquare searches his or her library 19:12: usdsquare puts Restoration Angel from library onto the Battlefield 19:12: usdsquare shuffles his or her library. 19:12: Ability triggers: Restoration Angel - When Restoration Angel enters the battlefield, you may exile target non-Angel creature you control, then return that card to the battlefield under your control. - targeting Entomber Exarch 19:12: usdsquare moves Entomber Exarch from battlefield to exile 19:12: usdsquare puts Entomber Exarch from exiled onto the Battlefield 19:12: Ability triggers: Entomber Exarch - When Entomber Exarch enters the battlefield, choose one -
• Return target creature card from your graveyard to it's owner's hand.
• Target opponent reveals his or her hand, you choose a noncreature card from it, then that player discards that card.
\- targeting exile
19:12: exile reveals Cruel Ultimatum 19:12: exile discards Cruel Ultimatum 19:12: usdsquare casts Avacyn's Pilgrim 19:12: Turn 13 exile (10 - 9) 19:12: exile draws a card 19:12: exile casts Grixis Charm (mode 2) targeting Restoration Angel 19:12: Restoration Angel is put into graveyard from battlefield 19:12: exile attacks with 0 creatures 19:12: Turn 14 usdsquare (10 - 9) 19:13: usdsquare draws a card 19:13: usdsquare attacks with 1 creature 19:13: Attacker: Entomber Exarch (2/2) unblocked 19:13: exile loses 2 life 19:13: usdsquare loses 2 life 19:13: usdsquare plays Temple Garden 19:13: Turn 15 exile (8 - 7) 19:13: exile draws a card 19:13: exile attacks with 0 creatures 19:13: Turn 16 usdsquare (8 - 7) 19:14: usdsquare draws a card 19:14: usdsquare attacks with 2 creatures 19:14: Attacker: Entomber Exarch (2/2) unblocked 19:14: Attacker: Avacyn's Pilgrim (1/1) unblocked 19:14: usdsquare activates: put a +1/+1 counter on each creature you control. from Gavony Township 19:14: Gavony Township: usdsquare puts 1 +1/+1 counter on Entomber Exarch 19:14: Gavony Township: usdsquare puts 1 +1/+1 counter on Avacyn's Pilgrim 19:14: exile loses 3 life 19:14: exile loses 2 life 19:14: Turn 17 exile (8 - 2) 19:14: exile draws a card 19:14: exile plays Polluted Delta 19:15: exile has conceded. 19:15: usdsquare has won the game 19:15: exile has lost the game.
ghost commented 9 years ago

the error happens every time a card is played or a trigger happens

ghost commented 9 years ago

i'm on 1.3.0dev2014-11-29v4 server:176.31.186.181

ghost commented 9 years ago

ive tried installing the launcher but it says it can't find xmage so it doesn't update or check versions

LevelX2 commented 9 years ago

Please post the related error log from ../mage-client/mageclient.log file. The log you posted is a game log and not the java error log, that shows in which part of the code the problem is located.

LevelX2 commented 9 years ago

Probaly the server was in buggy state. So I close those issue, because it's not related to the cause of the problem.