Bug Reports (snapshot builds)
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Re: Bug Reports (snapshot builds)
by Myrd » 06 Nov 2016, 18:22
This should be fixed in r32491.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
Re: Bug Reports (snapshot builds)
by Fizanko » 07 Nov 2016, 13:12
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
probably outdated by now so you should avoid : Innistrad world for Forge (updated 17/11/2014)
Duel Decks for Forge - Forge custom decks (updated 25/10/2014)
Duel Decks for Forge - Forge custom decks (updated 25/10/2014)
Re: Bug Reports (snapshot builds)
by AtogMaster » 07 Nov 2016, 20:53
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)
- AtogMaster
- Posts: 21
- Joined: 16 Sep 2015, 17:52
- Has thanked: 2 times
- Been thanked: 1 time
Re: Bug Reports (snapshot builds)
by Hanmac » 07 Nov 2016, 21:16
already fixed in r32487.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)
Re: Bug Reports (snapshot builds)
by Marek14 » 09 Nov 2016, 09:16
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)
by fmartel » 09 Nov 2016, 16:01
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)
- fmartel
- Posts: 281
- Joined: 31 Dec 2013, 19:27
- Location: Québec City
- Has thanked: 8 times
- Been thanked: 4 times
Re: Bug Reports (snapshot builds)
by clockworkrobot » 09 Nov 2016, 16:12
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
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
Last edited by clockworkrobot on 09 Nov 2016, 16:18, edited 1 time in total.
- clockworkrobot
- Posts: 2
- Joined: 21 May 2015, 16:39
- Has thanked: 0 time
- Been thanked: 0 time
Re: Bug Reports (snapshot builds)
by friarsol » 09 Nov 2016, 16:12
Can you post your decklist?fmartel wrote:Description: [After modifying my Commander deck, I'm trying to play commander. At opening, before coin toss.]
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Bug Reports (snapshot builds)
by Hanmac » 09 Nov 2016, 17:10
i did run a script check and was either Sea Drake or Khalni Gem.friarsol wrote:Can you post your decklist?fmartel wrote:Description: [After modifying my Commander deck, I'm trying to play commander. At opening, before coin toss.]
i fixed them.
found a bug in Shadowborn Demon too.
Re: Bug Reports (snapshot builds)
by fmartel » 09 Nov 2016, 17:19
Hanmac wrote:i did run a script check and was either Sea Drake or Khalni Gem.friarsol wrote:Can you post your decklist?fmartel wrote:Description: [After modifying my Commander deck, I'm trying to play commander. At opening, before coin toss.]
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
- fmartel
- Posts: 281
- Joined: 31 Dec 2013, 19:27
- Location: Québec City
- Has thanked: 8 times
- Been thanked: 4 times
Re: Bug Reports (snapshot builds)
by friarsol » 09 Nov 2016, 20:21
r32522
AI cast Argothian Treefolk but instead of the stack looking like a normal description, it's "Text" was displayed.
AI cast Argothian Treefolk but instead of the stack looking like a normal description, it's "Text" was displayed.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Bug Reports (snapshot builds)
by Hanmac » 09 Nov 2016, 21:07
that was more a output bug, but i fixed it.friarsol wrote:r32522
AI cast Argothian Treefolk but instead of the stack looking like a normal description, it's "Text" was displayed.
i still do not like that Text attribute :/
Re: Bug Reports (snapshot builds)
by Hanmac » 10 Nov 2016, 10:03
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 <=> PluralTypeMarek14 wrote: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)
by Devilman06 » 10 Nov 2016, 16:45
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
- Devilman06
- Posts: 127
- Joined: 29 Jan 2010, 03:59
- Has thanked: 1 time
- Been thanked: 2 times
Who is online
Users browsing this forum: No registered users and 12 guests