It is currently 16 Apr 2024, 10:41
   
Text Size

Bug Reports (snapshot builds)

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Re: Bug Reports (snapshot builds)

Postby Xyx » 10 Sep 2017, 13:53

Description: Started a quest battle (against Keranos, God of Storms, quest world in development--let me know if it's a problem with the deck.) I could continue.

RuntimeException | Open
Code: Select all
Forge Version:    1.6.3-SNAPSHOT-r-1
Operating System: Windows 10 10.0 x86
Java Version:     1.8.0_121 Oracle Corporation

java.lang.RuntimeException: java.util.ConcurrentModificationException
   at forge.quest.io.QuestDataIO.saveData(QuestDataIO.java:385)
   at forge.quest.data.QuestData.saveData(QuestData.java:132)
   at forge.quest.QuestController.save(QuestController.java:239)
   at forge.quest.QuestUtil$1.run(QuestUtil.java:527)
   at java.lang.Thread.run(Unknown Source)
Caused by: java.util.ConcurrentModificationException
   at java.util.LinkedHashMap$LinkedHashIterator.nextNode(Unknown Source)
   at java.util.LinkedHashMap$LinkedEntryIterator.next(Unknown Source)
   at java.util.LinkedHashMap$LinkedEntryIterator.next(Unknown Source)
   at forge.quest.io.QuestDataIO$ItemPoolToXml.marshal(QuestDataIO.java:812)
   at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
   at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
   at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshallField(AbstractReflectionConverter.java:250)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:226)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.<init>(AbstractReflectionConverter.java:189)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMarshal(AbstractReflectionConverter.java:135)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:83)
   at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
   at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
   at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshallField(AbstractReflectionConverter.java:250)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:226)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.<init>(AbstractReflectionConverter.java:189)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMarshal(AbstractReflectionConverter.java:135)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:83)
   at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
   at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
   at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)
   at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:82)
   at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:37)
   at com.thoughtworks.xstream.XStream.marshal(XStream.java:1022)
   at com.thoughtworks.xstream.XStream.marshal(XStream.java:1011)
   at com.thoughtworks.xstream.XStream.toXML(XStream.java:999)
   at forge.quest.io.QuestDataIO.savePacked(QuestDataIO.java:392)
   at forge.quest.io.QuestDataIO.saveData(QuestDataIO.java:380)
   ... 4 more
User avatar
Xyx
Tester
 
Posts: 524
Joined: 23 Feb 2014, 23:01
Has thanked: 38 times
Been thanked: 32 times

Re: Bug Reports (snapshot builds)

Postby Agetian » 10 Sep 2017, 15:01

Hmm, this appears to be some kind of an issue with an operation responsible for saving quest progress :/ If it repeats again, please send the quest save file, I'll take a look and see if anything's out of place...

- Agetian
Agetian
Programmer
 
Posts: 3471
Joined: 14 Mar 2011, 05:58
Has thanked: 676 times
Been thanked: 561 times

Re: Bug Reports (snapshot builds)

Postby Xyx » 10 Sep 2017, 22:36

Will do!

Here's another crash. Had to close the match tab but I could start a new match after that.

Description: Assigned Forlorn Pseudamma as attacker. I may have accidentally double-clicked it.

NullPointerException | Open
Code: Select all
Forge Version:    1.6.3-SNAPSHOT-r-1
Operating System: Windows 10 10.0 x86
Java Version:     1.8.0_121 Oracle Corporation

java.lang.NullPointerException
   at java.util.concurrent.ConcurrentHashMap.putVal(Unknown Source)
   at java.util.concurrent.ConcurrentHashMap.put(Unknown Source)
   at forge.game.combat.CombatView.addAttackingBand(CombatView.java:178)
   at forge.game.GameView.updateCombat(GameView.java:151)
   at forge.game.Game.updateCombatForView(Game.java:404)
   at forge.game.card.Card.updateAttackingForView(Card.java:604)
   at forge.game.combat.Combat.addAttacker(Combat.java:265)
   at forge.match.input.InputAttack.declareAttacker(InputAttack.java:261)
   at forge.match.input.InputAttack.onCardSelected(InputAttack.java:223)
   at forge.match.input.InputBase.selectCard(InputBase.java:110)
   at forge.match.input.InputProxy.selectCard(InputProxy.java:145)
   at forge.player.PlayerControllerHuman.selectCard(PlayerControllerHuman.java:1736)
   at forge.view.arcane.PlayArea.selectCard(PlayArea.java:564)
   at forge.view.arcane.PlayArea.mouseLeftClicked(PlayArea.java:536)
   at forge.view.arcane.CardPanelContainer$2.mouseReleased(CardPanelContainer.java:168)
   at java.awt.Component.processMouseEvent(Unknown Source)
   at javax.swing.JComponent.processMouseEvent(Unknown Source)
   at java.awt.Component.processEvent(Unknown Source)
   at java.awt.Container.processEvent(Unknown Source)
   at java.awt.Component.dispatchEventImpl(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Window.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$500(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
   at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.run(Unknown Source)
User avatar
Xyx
Tester
 
Posts: 524
Joined: 23 Feb 2014, 23:01
Has thanked: 38 times
Been thanked: 32 times

Re: Bug Reports (snapshot builds)

Postby stormcat » 11 Sep 2017, 04:52

:r35508
In Commander Game, AI had activated second ability of Olivia Voldaren in my graveyard by Necrotic Ooze.
The target was my Vampire creature A.
In response to it, activated ability of Captivating Vampire.
The target was Necrotic Ooze.
After all stack dissolve, the opponent controlled Vampire A, I controlled Necrotic Ooze.
But this is wrong.
By conditions of ability, control change of Vampire A shouldn't occur.
stormcat
 
Posts: 361
Joined: 17 Jun 2015, 05:32
Has thanked: 0 time
Been thanked: 6 times

Re: Bug Reports (snapshot builds)

Postby Agetian » 11 Sep 2017, 09:52

Xyx wrote:Will do!

Here's another crash. Had to close the match tab but I could start a new match after that.

Description: Assigned Forlorn Pseudamma as attacker. I may have accidentally double-clicked it.

NullPointerException | Open
Code: Select all
Forge Version:    1.6.3-SNAPSHOT-r-1
Operating System: Windows 10 10.0 x86
Java Version:     1.8.0_121 Oracle Corporation

java.lang.NullPointerException
   at java.util.concurrent.ConcurrentHashMap.putVal(Unknown Source)
   at java.util.concurrent.ConcurrentHashMap.put(Unknown Source)
   at forge.game.combat.CombatView.addAttackingBand(CombatView.java:178)
   at forge.game.GameView.updateCombat(GameView.java:151)
   at forge.game.Game.updateCombatForView(Game.java:404)
   at forge.game.card.Card.updateAttackingForView(Card.java:604)
   at forge.game.combat.Combat.addAttacker(Combat.java:265)
   at forge.match.input.InputAttack.declareAttacker(InputAttack.java:261)
   at forge.match.input.InputAttack.onCardSelected(InputAttack.java:223)
   at forge.match.input.InputBase.selectCard(InputBase.java:110)
   at forge.match.input.InputProxy.selectCard(InputProxy.java:145)
   at forge.player.PlayerControllerHuman.selectCard(PlayerControllerHuman.java:1736)
   at forge.view.arcane.PlayArea.selectCard(PlayArea.java:564)
   at forge.view.arcane.PlayArea.mouseLeftClicked(PlayArea.java:536)
   at forge.view.arcane.CardPanelContainer$2.mouseReleased(CardPanelContainer.java:168)
   at java.awt.Component.processMouseEvent(Unknown Source)
   at javax.swing.JComponent.processMouseEvent(Unknown Source)
   at java.awt.Component.processEvent(Unknown Source)
   at java.awt.Container.processEvent(Unknown Source)
   at java.awt.Component.dispatchEventImpl(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Window.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$500(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
   at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.run(Unknown Source)
This is also not specific to the deck or to particular cards, I'll try to patch it up upstream. :)

- Agetian
Agetian
Programmer
 
Posts: 3471
Joined: 14 Mar 2011, 05:58
Has thanked: 676 times
Been thanked: 561 times

Re: Bug Reports (snapshot builds)

Postby stormcat » 13 Sep 2017, 08:01

:r35530
In commander game, I activated Chainer, Dementia Master's ability targeting Channeler Initiate in opponent graveyard.
Then Channeler Initiate's ability is triggered, but it couldn't choose itself to target.
This is wrong behavior.
Attachment is the situation.
Attachments
capture_001_13092017_164820.jpg
stormcat
 
Posts: 361
Joined: 17 Jun 2015, 05:32
Has thanked: 0 time
Been thanked: 6 times

Re: Bug Reports (snapshot builds)

Postby stormcat » 14 Sep 2017, 17:08

:r33564
AI try Sasaya, Orochi Ascendant's flip ability infinite in spite of failure.
stormcat
 
Posts: 361
Joined: 17 Jun 2015, 05:32
Has thanked: 0 time
Been thanked: 6 times

Re: Bug Reports (snapshot builds)

Postby Fizanko » 17 Sep 2017, 00:13

I am not sure if it is a bug or an AI problem, i was playing on the r35534 snapshot and :

Image

I was testing some of the AKH and KLD planeswalker deck and i used the Gideon Martial Paragon vs Chandra Pyrogenius.

At some point, the AI had Weldfast Monitor in the field.
From then on each of his turn, the AI would trigger Weldfast Monitor multiple times , gaining then a bunch of Menace (while i think one would be enough) and tapping all its lands.
And additionally after doing that, the AI would never actually attack to benefit from Menace.

Unfortunately as i won the game thanks to the Gideon planeswalker card i picked a couple of turns later, i didn't had the time to see if the AI was indeed completely wasting its mana into the Menace spam or if it was doing that because he had no other creature to play on his turn or spell to cast on mine.
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)
User avatar
Fizanko
Tester
 
Posts: 780
Joined: 07 Feb 2014, 11:24
Has thanked: 155 times
Been thanked: 94 times

Re: Bug Reports (snapshot builds)

Postby Agetian » 17 Sep 2017, 04:08

Fixed both the Sasaya issue and the Weldfast Monitor issue :)

- Agetian
Agetian
Programmer
 
Posts: 3471
Joined: 14 Mar 2011, 05:58
Has thanked: 676 times
Been thanked: 561 times

Re: Bug Reports (snapshot builds)

Postby fiend123 » 18 Sep 2017, 09:28

River Heralds' Boon mana cost is G in Forge instead of 1G.

r35659
Attachments
River Herald's Boon.png
fiend123
 
Posts: 70
Joined: 05 Mar 2012, 17:26
Has thanked: 2 times
Been thanked: 1 time

Re: Bug Reports (snapshot builds)

Postby tjtillman » 21 Sep 2017, 20:32

r35688

Lightning-Rig Crew should not have Defender
tjtillman
 
Posts: 202
Joined: 16 Sep 2013, 17:47
Has thanked: 0 time
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby Ringthane2 » 23 Sep 2017, 22:33

Forge 1.6.3.001 Android, randomly crashes and forced out of app when drafting. No error shown. Let me know how I can provide additional info to troubleshoot, thanks.
Ringthane2
 
Posts: 15
Joined: 04 Jul 2017, 13:51
Has thanked: 0 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby Agetian » 24 Sep 2017, 04:48

Ringthane2 wrote:Forge 1.6.3.001 Android, randomly crashes and forced out of app when drafting. No error shown. Let me know how I can provide additional info to troubleshoot, thanks.
Providing the contents of your Forge.log after that happens would help immensely (you can find it under "data" in the Forge installation folder).

- Agetian
Agetian
Programmer
 
Posts: 3471
Joined: 14 Mar 2011, 05:58
Has thanked: 676 times
Been thanked: 561 times

Re: Bug Reports (snapshot builds)

Postby Ringthane2 » 24 Sep 2017, 10:23

Agetian wrote:]

Providing the contents of your Forge.log after that happens would help immensely (you can find it under "data" in the Forge installation folder).

- Agetian
Here are the logs. Oddly when it crashes out, the softkeys no longer work on the phone and I need to reboot to make them work again.

(ThreadUtil first call): Running on a machine with 4 cpu core(s)
Language 'java.util.PropertyResourceBundle@569297' loaded successfully.
Read cards: 17244 archived files in 14115 ms (25 parts) using thread pool
Upcoming set Ixalan (XLN) dated in the future. All unaccounted cards will be added to this set with unknown rarity.
Upcoming set Ixalan (XLN) dated in the future. All unaccounted cards will be added to this set with unknown rarity.
Ringthane2
 
Posts: 15
Joined: 04 Jul 2017, 13:51
Has thanked: 0 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby stormcat » 24 Sep 2017, 12:16

:r35733
Mana Reflection has any bug.
I don't know condition, it produced quadruple mana instead of twice.
I confirmed this bug by Cavern of Souls.(I used second ability at cast my general.)
And When I used Nykthos, Shrine to Nyx, Mana did not increase.
stormcat
 
Posts: 361
Joined: 17 Jun 2015, 05:32
Has thanked: 0 time
Been thanked: 6 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 50 guests


Who is online

In total there are 50 users online :: 0 registered, 0 hidden and 50 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 50 guests

Login Form