Page 380 of 487

Re: Bug Reports (snapshot builds)

PostPosted: 06 Nov 2016, 18:22
by Myrd
Fizanko wrote:On r32486 , without enabling the "Load card scripts lazily" in the preferences the game can launch, if i enable it , quit and launch, the games gives an error during loading :

RuntimeException | Open
Code: Select all
Forge Version:    1.5.58-SNAPSHOT-r32486
Operating System: Windows XP 5.1 x86
Java Version:     1.8.0_101 Oracle Corporation

java.lang.RuntimeException: com.thoughtworks.xstream.converters.ConversionException: null : null
---- Debugging information ----
cause-exception     : java.lang.NullPointerException
cause-message       : null
class               : forge.util.ItemPool
required-type       : forge.util.ItemPool
converter-type      : forge.quest.io.QuestDataIO$ItemPoolToXml
path                : /forge.quest.data.QuestData/assets/cardPool/card[28]
line number         : 39
class[1]            : forge.quest.data.QuestAssets
converter-type[1]   : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
class[2]            : forge.quest.data.QuestData
version             : 1.5.58-SNAPSHOT-r32486
-------------------------------
   at forge.quest.io.QuestDataIO.loadData(QuestDataIO.java:138)
   at forge.control.FControl.initialize(FControl.java:233)
   at forge.view.Main.main(Main.java:51)
Caused by: com.thoughtworks.xstream.converters.ConversionException: null : null
---- Debugging information ----
cause-exception     : java.lang.NullPointerException
cause-message       : null
class               : forge.util.ItemPool
required-type       : forge.util.ItemPool
converter-type      : forge.quest.io.QuestDataIO$ItemPoolToXml
path                : /forge.quest.data.QuestData/assets/cardPool/card[28]
line number         : 39
class[1]            : forge.quest.data.QuestAssets
converter-type[1]   : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
class[2]            : forge.quest.data.QuestData
version             : 1.5.58-SNAPSHOT-r32486
-------------------------------
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:79)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:474)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:406)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:257)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:474)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:406)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:257)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
   at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
   at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1185)
   at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1169)
   at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1040)
   at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1031)
   at forge.quest.io.QuestDataIO.loadData(QuestDataIO.java:122)
   ... 2 more
Caused by: java.lang.NullPointerException
   at forge.card.CardDb.getFoiled(CardDb.java:470)
   at forge.quest.io.QuestDataIO$ItemPoolToXml.readCardPrinted(QuestDataIO.java:902)
   at forge.quest.io.QuestDataIO$ItemPoolToXml.unmarshal(QuestDataIO.java:841)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   ... 24 more
This should be fixed in r32491.

Re: Bug Reports (snapshot builds)

PostPosted: 07 Nov 2016, 13:12
by Fizanko
I tried r32498 and with lazy script enabled, i have this during load , during the load quest section :

RuntimeException | Open
Code: Select all
Forge Version:    1.5.58-SNAPSHOT-r32498
Operating System: Windows XP 5.1 x86
Java Version:     1.8.0_101 Oracle Corporation

java.lang.RuntimeException: com.thoughtworks.xstream.converters.ConversionException: Unsupported card found in quest save: Blaze from edition 8ED : Unsupported card found in quest save: Blaze from edition 8ED
---- Debugging information ----
message             : Unsupported card found in quest save: Blaze from edition 8ED
cause-exception     : java.lang.RuntimeException
cause-message       : Unsupported card found in quest save: Blaze from edition 8ED
class               : forge.util.ItemPool
required-type       : forge.util.ItemPool
converter-type      : forge.quest.io.QuestDataIO$ItemPoolToXml
path                : /forge.quest.data.QuestData/assets/cardPool/card
line number         : 12
class[1]            : forge.quest.data.QuestAssets
converter-type[1]   : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
class[2]            : forge.quest.data.QuestData
version             : 1.5.58-SNAPSHOT-r32498
-------------------------------
   at forge.quest.io.QuestDataIO.loadData(QuestDataIO.java:138)
   at forge.control.FControl.initialize(FControl.java:233)
   at forge.view.Main.main(Main.java:51)
Caused by: com.thoughtworks.xstream.converters.ConversionException: Unsupported card found in quest save: Blaze from edition 8ED : Unsupported card found in quest save: Blaze from edition 8ED
---- Debugging information ----
message             : Unsupported card found in quest save: Blaze from edition 8ED
cause-exception     : java.lang.RuntimeException
cause-message       : Unsupported card found in quest save: Blaze from edition 8ED
class               : forge.util.ItemPool
required-type       : forge.util.ItemPool
converter-type      : forge.quest.io.QuestDataIO$ItemPoolToXml
path                : /forge.quest.data.QuestData/assets/cardPool/card
line number         : 12
class[1]            : forge.quest.data.QuestAssets
converter-type[1]   : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
class[2]            : forge.quest.data.QuestData
version             : 1.5.58-SNAPSHOT-r32498
-------------------------------
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:79)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:474)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:406)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:257)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:474)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:406)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:257)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
   at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
   at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1185)
   at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1169)
   at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1040)
   at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1031)
   at forge.quest.io.QuestDataIO.loadData(QuestDataIO.java:122)
   ... 2 more
Caused by: java.lang.RuntimeException: Unsupported card found in quest save: Blaze from edition 8ED
   at forge.quest.io.QuestDataIO$ItemPoolToXml.readCardPrinted(QuestDataIO.java:902)
   at forge.quest.io.QuestDataIO$ItemPoolToXml.unmarshal(QuestDataIO.java:841)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   ... 24 more
with LOAD_CARD_SCRIPTS_LAZILY=false there's no crash (and from looking into the deck editor, Blaze from 8th edition seems to work, i don't have it in my quest decks so i guess it was in an AI quest opponent one)

Re: Bug Reports (snapshot builds)

PostPosted: 07 Nov 2016, 20:53
by AtogMaster
Description: Casting Glint-Sleeve Artisan post-combat. Combat involved AI blocking and killing Night Street Lookout with Vedalken Blademaster and letting through two Servo's.

NullPointerException | Open
Code: Select all
Forge Version:    1.5.58-SNAPSHOT-r32481
Operating System: Mac OS X 10.12.1 x86_64
Java Version:     1.8.0_66 Oracle Corporation

java.lang.NullPointerException
   at java.util.TreeMap.getEntry(TreeMap.java:347)
   at java.util.TreeMap.containsKey(TreeMap.java:232)
   at forge.game.card.CardState.getSVar(CardState.java:324)
   at forge.game.card.Card.getSVar(Card.java:1111)
   at forge.ai.ComputerUtil.getDamageForPlaying(ComputerUtil.java:2030)
   at forge.ai.AiController.canPlaySa(AiController.java:687)
   at forge.ai.AiController.canPlayAndPayFor(AiController.java:641)
   at forge.ai.AiController.chooseCounterSpell(AiController.java:571)
   at forge.ai.AiController.getSpellAbilityToPlay(AiController.java:1125)
   at forge.ai.AiController.chooseSpellAbilityToPlay(AiController.java:1072)
   at forge.ai.PlayerControllerAi.chooseSpellAbilityToPlay(PlayerControllerAi.java:392)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:925)
   at forge.game.GameAction.startGame(GameAction.java:1462)
   at forge.game.Match.startGame(Match.java:95)
   at forge.match.HostedMatch$2.run(HostedMatch.java:220)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
   at java.lang.Thread.run(Thread.java:745)

Re: Bug Reports (snapshot builds)

PostPosted: 07 Nov 2016, 21:16
by Hanmac
AtogMaster wrote:Description: Casting Glint-Sleeve Artisan post-combat. Combat involved AI blocking and killing Night Street Lookout with Vedalken Blademaster and letting through two Servo's.

NullPointerException | Open
Code: Select all
Forge Version:    1.5.58-SNAPSHOT-r32481
Operating System: Mac OS X 10.12.1 x86_64
Java Version:     1.8.0_66 Oracle Corporation

java.lang.NullPointerException
   at java.util.TreeMap.getEntry(TreeMap.java:347)
   at java.util.TreeMap.containsKey(TreeMap.java:232)
   at forge.game.card.CardState.getSVar(CardState.java:324)
   at forge.game.card.Card.getSVar(Card.java:1111)
   at forge.ai.ComputerUtil.getDamageForPlaying(ComputerUtil.java:2030)
   at forge.ai.AiController.canPlaySa(AiController.java:687)
   at forge.ai.AiController.canPlayAndPayFor(AiController.java:641)
   at forge.ai.AiController.chooseCounterSpell(AiController.java:571)
   at forge.ai.AiController.getSpellAbilityToPlay(AiController.java:1125)
   at forge.ai.AiController.chooseSpellAbilityToPlay(AiController.java:1072)
   at forge.ai.PlayerControllerAi.chooseSpellAbilityToPlay(PlayerControllerAi.java:392)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:925)
   at forge.game.GameAction.startGame(GameAction.java:1462)
   at forge.game.Match.startGame(Match.java:95)
   at forge.match.HostedMatch$2.run(HostedMatch.java:220)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
   at java.lang.Thread.run(Thread.java:745)
already fixed in r32487.

Re: Bug Reports (snapshot builds)

PostPosted: 09 Nov 2016, 09:16
by Marek14
Artificial Evolution changed the word "Bear" on Words of Wilding to "Beasts" instead of "Beast", preventing Wirewood Savage to combo with it.

Re: Bug Reports (snapshot builds)

PostPosted: 09 Nov 2016, 16:01
by fmartel
Description: [After modifying my Commander deck, I'm trying to play commander. At opening, before coin toss.]

RuntimeException | Open
Code: Select all
Forge Version:    1.5.58-SNAPSHOT-r32522
Operating System: Windows 7 6.1 amd64
Java Version:     1.8.0_25 Oracle Corporation

java.lang.RuntimeException: TriggerFactory Parsing Error in registerTrigger() : Split length of TriggerDescription$ is not 2.
   at forge.game.trigger.TriggerHandler.parseParams(TriggerHandler.java:191)
   at forge.game.trigger.TriggerHandler.parseTrigger(TriggerHandler.java:145)
   at forge.game.card.CardFactory.readCardFace(CardFactory.java:446)
   at forge.game.card.CardFactory.readCard(CardFactory.java:406)
   at forge.game.card.CardFactory.getCard(CardFactory.java:254)
   at forge.game.card.CardFactory.getCard(CardFactory.java:249)
   at forge.game.card.Card.fromPaperCard(Card.java:6888)
   at forge.game.Match.preparePlayerLibrary(Match.java:193)
   at forge.game.Match.prepareAllZones(Match.java:257)
   at forge.game.Match.startGame(Match.java:83)
   at forge.match.HostedMatch$2.run(HostedMatch.java:220)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)

Re: Bug Reports (snapshot builds)

PostPosted: 09 Nov 2016, 16:12
by clockworkrobot
I've encountered a bug that seems to overload the system, making it go slower and slower and eventually become unresponsive.

I had Panharmonicon, Essence Warden, Champion of Lambholt, and Avenger of Zendikar in play. By repeatedly blinking AZ, I triggered many instances of both EW and CL. The stack itself never because outrageous as only one instance of AZ coming in and creating plants would resolve at a time, those would clear out, the next trigger would hit, doing the same thing. I had ~10 lands in play, so 20 plants each time it entered play, which resulted in gaining 40 life and putting 40 counters on CL.

The game became progressively slower the closer CL's power got to 100, and completely unresponsive at 101. I left it sit for over and hour to see if it would work itself out, but no luck. Not sure if the issue is related to all the triggers on the stack or the number of creatures on the field.

I have had similar problems using other methods of creating a lot of tokens, so it might be more related to the number of creatures on the board. My system wasn't out of memory (think it was about half utilized), but was pegged at 100% CPU processing. Maybe there is some N^2 (or worse) algorithm going on when creatures come in that becomes too computationally complex as creature count grows.

I'm on release 1.5.56-r-1

Re: Bug Reports (snapshot builds)

PostPosted: 09 Nov 2016, 16:12
by friarsol
fmartel wrote:Description: [After modifying my Commander deck, I'm trying to play commander. At opening, before coin toss.]
Can you post your decklist?

Re: Bug Reports (snapshot builds)

PostPosted: 09 Nov 2016, 17:10
by Hanmac
friarsol wrote:
fmartel wrote:Description: [After modifying my Commander deck, I'm trying to play commander. At opening, before coin toss.]
Can you post your decklist?
i did run a script check and was either Sea Drake or Khalni Gem.
i fixed them.

found a bug in Shadowborn Demon too.

Re: Bug Reports (snapshot builds)

PostPosted: 09 Nov 2016, 17:19
by fmartel
Hanmac wrote:
friarsol wrote:
fmartel wrote:Description: [After modifying my Commander deck, I'm trying to play commander. At opening, before coin toss.]
Can you post your decklist?
i did run a script check and was either Sea Drake or Khalni Gem.
i fixed them.

found a bug in Shadowborn Demon too.
Card List | Open
==Commander==
Trostani, Selesnya's Voice
==Creatures==
Ajani's Chosen
Angelic Field Marshal
Archangel of Thune
Argothian Enchantress
Birds of Paradise
Bloodspore Thrinax
Brimaz, King of Oreskos
Bronzebeak Moa
Champion of Lambholt
Crusader of Odric
Eidolon of Blossoms
Emeria Angel
Emrakul's Evangel
Geist-Honored Monk
Hanweir Militia Captain
Hero of Bladehold
Jazal Goldmane
Jedit Ojanen of Efrava
Karametra, God of Harvests
Kazandu Tuskcaller
Master of the Wild Hunt
Mycoloth
Nullmage Shepherd
Nylea, God of the Hunt
Precinct Captain
Rampaging Baloths
Rhys the Redeemed
Scion of Vitu-Ghazi
Sigarda, Heron's Grace
Spawnwrithe
Sylvan Caryatid
Wayfaring Temple
Wurmcoil Engine
==Sorcery==
Call of the Conclave
Cultivate
Deploy to the Front
Descend upon the Sinfull
Fungal Sprouting
Gleeful Sabotage
Hallowed Burial
Increasing Devotion
Kodama's Reach
Nomads' Assembly
==Instant==
Rootborn Defenses
Second Harvest
Selesnya Charm
Sundering Growth
==Enchantments==
Angelic Accord
Awakening Zone
Cathars' Crusade
Elemental Bound
Enchantress's Presence
From Beyond
Growing Ranks
Intangible Virtue
Keen Sense
Luminarch Ascension
Nature's Will
Overwhelming Instinct
Parallel Lives
Perilous Forays
Primal Rage
Primal Vigor
Primeval Bounty
Sigil of the Empty Throne
==Artifacts==
Captain's Claws
Phyrexian Processor
Swiftfoot Boots
Sword of Body and Mind
Sword of Feast and Famine
Sword of the Animist
==Lands==
Canopy Vista
Command Tower
Evolving Wilds
9 Forest
9 Plains
Grasslands
Grove of the Guardian
Myriad Landscape
Sunpetal Grove
Temple Garden
Terramorphic Expanse
Thawing Glaciers
Vitu-Ghazi, the City-Tree
Windswept Heath
==Optionnal Land==
Savannah
==Side Board==
All is Dust
Aura Shards
Explosive Vegetation
Final Judgment
Hour of Reckoning
Mass Calcify
Privileged Position
Return to Dust
Righteous Confluence
Spidersilk Armor
Skullclamp

Re: Bug Reports (snapshot builds)

PostPosted: 09 Nov 2016, 20:21
by friarsol
r32522

AI cast Argothian Treefolk but instead of the stack looking like a normal description, it's "Text" was displayed.

Re: Bug Reports (snapshot builds)

PostPosted: 09 Nov 2016, 21:07
by Hanmac
friarsol wrote:r32522

AI cast Argothian Treefolk but instead of the stack looking like a normal description, it's "Text" was displayed.
that was more a output bug, but i fixed it.

i still do not like that Text attribute :/

Re: Bug Reports (snapshot builds)

PostPosted: 09 Nov 2016, 21:41
by stormcat
:r32529
The version of cards in game differ from decklist.

[Example]
<in decklist>
22 Swamp|ONS|3

<in game>
4 Swamp ONS
5 Swamp ONS
5 Swamp ONS
8 Swamp ONS

Re: Bug Reports (snapshot builds)

PostPosted: 10 Nov 2016, 10:03
by Hanmac
Marek14 wrote:Artificial Evolution changed the word "Bear" on Words of Wilding to "Beasts" instead of "Beast", preventing Wirewood Savage to combo with it.
i added more plural of card types into CardUtil ... might currently not the best idea, but we might need a better way to get SingleType <=> PluralType

Re: Bug Reports (snapshot builds)

PostPosted: 10 Nov 2016, 16:45
by Devilman06
version forge-gui-desktop-1.5.58-SNAPSHOT-32530.tar Used Ugin in a Commander game to kill a False Prophet on a full battlefield. nothing happened. no exile of any creatures as there should have been. I have also noticed if it hasn't been mentioned that Panharmonicon adds 2 additional triggers to the stack