It is currently 19 Jul 2025, 09:01
   
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 Fizanko » 16 May 2014, 20:44

I had checked before report if there was some enchantment going or if any creature ( Concordia Pegasus , Deathrite Shaman ,
Dryad Sophisticate , Crowned Ceratok , Golgari Brownscale ) had some ability interfering but nothing was related to increasing card costs .

All the AI did on that turn was playing Arrest to block my Golgari Brownscale

edit : and not shown on screenshot, the AI had played Inaction Injunction to block my Crowned Ceratok too as he was basically disabled on this turn) but still nothing related to card cost increase.
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 Fizanko » 17 May 2014, 10:06

It's been a while i didn't experienced this bug (got it in previous version too), but looks like it's still in , got that error when i right click -> buy a booster pack in spellshop :

Image

NullPointerException | Open
Code: Select all
Forge Version:    1.5.18-SNAPSHOT-r25856 (mixed revisions detected; please update from the root directory)
Operating System: Windows XP 5.1 x86
Java Version:     1.7.0_10 Oracle Corporation

java.lang.NullPointerException
   at forge.screens.deckeditor.CDeckEditorUI.addSelectedCards(CDeckEditorUI.java:159)
   at forge.screens.deckeditor.controllers.ACEditorBase$EditorContextMenuBuilder$4.run(ACEditorBase.java:469)
   at forge.gui.GuiUtils$1.actionPerformed(GuiUtils.java:125)
   at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
   at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
   at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
   at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
   at javax.swing.AbstractButton.doClick(Unknown Source)
   at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
   at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
   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$200(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$1.doIntersectionPrivilege(Unknown Source)
   at java.security.ProtectionDomain$1.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$1.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)
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 Fizanko » 19 May 2014, 12:26

On my attack phase Utvara Scalper ( afflicted by Agoraphobia and enhanced by Fencer's Magemark that is on my Ape Pet ) is attacking automatically.
As it deals no damage (due to being in negative power ), so far the AI has not even tried to block it.

But for some reason this turn the AI decided to block it with Crocanura

Image

And just after the AI assigned that blocker :

ConcurrentModificationException | Open
Code: Select all
Forge Version:    1.5.18-SNAPSHOT-r25856 (mixed revisions detected; please update from the root directory)
Operating System: Windows XP 5.1 x86
Java Version:     1.7.0_10 Oracle Corporation

java.util.ConcurrentModificationException
   at java.util.ArrayList$Itr.checkForComodification(Unknown Source)
   at java.util.ArrayList$Itr.next(Unknown Source)
   at forge.game.card.Card.getHiddenExtrinsicKeyword(Card.java:4610)
   at forge.game.card.Card.getKeyword(Card.java:4317)
   at forge.game.card.Card.getAmountOfKeyword(Card.java:5181)
   at forge.game.card.Card.getNetAttack(Card.java:4013)
   at forge.view.arcane.CardPanel.setText(CardPanel.java:627)
   at forge.view.arcane.CardPanel.setCard(CardPanel.java:664)
   at forge.view.arcane.PlayArea.updateCard(PlayArea.java:700)
   at forge.view.arcane.PlayArea.updateSingleCard(PlayArea.java:360)
   at forge.screens.match.CMatchUI.updateSingleCard(CMatchUI.java:384)
   at forge.screens.match.CMatchUI.updateCards(CMatchUI.java:376)
   at forge.GuiDesktop.updateCards(GuiDesktop.java:363)
   at forge.control.FControlGameEventHandler$9.run(FControlGameEventHandler.java:225)
   at java.awt.event.InvocationEvent.dispatch(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$200(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$1.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)
That didn't prevented me to continue playing (unlike some errors that usually kills the game) , and on the next turn, Utvara Scalper attacked again (as it does each turn) and again the AI blocked it with Crocanura despite it didn't needed to do so.

But this time, no error appeared, very strange considering the same conditions were there as i had not played anything this new turn and neither did the AI.
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 fmartel » 20 May 2014, 02:35

'got this error when trying to load a fresh made gauntlet.

Description: Loading a new Gautlet

NullPointerException | Open
Code: Select all
Forge Version:    1.5.15-r25277
Operating System: Windows 7 6.1 x64
Java Version:     1.7.0_45 Oracle Corporation

java.lang.NullPointerException
   at forge.game.player.RegisteredPlayer.restoreDeck(RegisteredPlayer.java:165)
   at forge.game.player.RegisteredPlayer.<init>(RegisteredPlayer.java:33)
   at forge.gui.home.gauntlet.CSubmenuGauntletLoad.startGame(CSubmenuGauntletLoad.java:108)
   at forge.gui.home.gauntlet.CSubmenuGauntletLoad.access$000(CSubmenuGauntletLoad.java:28)
   at forge.gui.home.gauntlet.CSubmenuGauntletLoad$1.actionPerformed(CSubmenuGauntletLoad.java:32)
   at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
   at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
   at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
   at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
   at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
   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$200(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$1.doIntersectionPrivilege(Unknown Source)
   at java.security.ProtectionDomain$1.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$1.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)
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)

Postby oskarolw » 23 May 2014, 11:58

fmartel wrote:'got this error when trying to load a fresh made gauntlet.

Description: Loading a new Gautlet

NullPointerException | Open
Code: Select all
Forge Version:    1.5.15-r25277
Operating System: Windows 7 6.1 x64
Java Version:     1.7.0_45 Oracle Corporation

java.lang.NullPointerException
   at forge.game.player.RegisteredPlayer.restoreDeck(RegisteredPlayer.java:165)
   at forge.game.player.RegisteredPlayer.<init>(RegisteredPlayer.java:33)
   at forge.gui.home.gauntlet.CSubmenuGauntletLoad.startGame(CSubmenuGauntletLoad.java:108)
   at forge.gui.home.gauntlet.CSubmenuGauntletLoad.access$000(CSubmenuGauntletLoad.java:28)
   at forge.gui.home.gauntlet.CSubmenuGauntletLoad$1.actionPerformed(CSubmenuGauntletLoad.java:32)
   at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
   at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
   at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
   at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
   at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
   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$200(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$1.doIntersectionPrivilege(Unknown Source)
   at java.security.ProtectionDomain$1.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$1.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 on 1.5.15 though...
oskarolw
 
Posts: 39
Joined: 06 Jul 2012, 08:51
Has thanked: 0 time
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby goonjamin » 24 May 2014, 14:13

I was playing my quest against the hard Patrick Stewart deck. I won the 1st game and clicked on continue and got the error below. I clicked continue on the error but the duels tab was blank and clicking on it just brought up the error again. I've re-started and have 3 new duels now but no way to continue where I was. Is this an issue with a corrupted image somewhere in my collection or something else?

Code: Select all
Description: [describe what you were doing when the crash occurred]

[spoiler=UncheckedExecutionException][code]
Forge Version:    1.5.19-SNAPSHOT-r25943 (mixed revisions detected; please update from the root directory)
Operating System: Windows 7 6.1 x86
Java Version:     1.7.0_51 Oracle Corporation

com.google.common.util.concurrent.UncheckedExecutionException: java.awt.color.CMMException: Invalid image format
   at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2201)
   at com.google.common.cache.LocalCache.get(LocalCache.java:3934)
   at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3938)
   at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4821)
   at forge.ImageCache.getImage(ImageCache.java:204)
   at forge.ImageCache.getOriginalImage(ImageCache.java:139)
   at forge.ImageCache.scaleImage(ImageCache.java:169)
   at forge.ImageCache.getIcon(ImageCache.java:107)
   at forge.screens.home.quest.PnlEvent.<init>(PnlEvent.java:48)
   at forge.screens.home.quest.CSubmenuDuels.update(CSubmenuDuels.java:121)
   at forge.screens.home.CHomeUI.itemClick(CHomeUI.java:55)
   at forge.screens.home.CHomeUI.selectPrevious(CHomeUI.java:137)
   at forge.screens.home.CHomeUI.initialize(CHomeUI.java:83)
   at forge.control.FControl.setCurrentScreen(FControl.java:304)
   at forge.view.FNavigationBar.closeTab(FNavigationBar.java:158)
   at forge.view.FNavigationBar.closeTab(FNavigationBar.java:146)
   at forge.control.FControl.endCurrentGame(FControl.java:449)
   at forge.screens.match.ControlWinLose.actionOnContinue(ControlWinLose.java:61)
   at forge.screens.match.ControlWinLose$1.actionPerformed(ControlWinLose.java:36)
   at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
   at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
   at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
   at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
   at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
   at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
   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$200(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$1.doIntersectionPrivilege(Unknown Source)
   at java.security.ProtectionDomain$1.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$1.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)
Caused by: java.awt.color.CMMException: Invalid image format
   at sun.java2d.cmm.kcms.CMM.checkStatus(Unknown Source)
   at sun.java2d.cmm.kcms.CMM.createTransform(Unknown Source)
   at java.awt.image.ColorConvertOp.filter(Unknown Source)
   at com.sun.imageio.plugins.jpeg.JPEGImageReader.acceptPixels(Unknown Source)
   at com.sun.imageio.plugins.jpeg.JPEGImageReader.readImage(Native Method)
   at com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(Unknown Source)
   at com.sun.imageio.plugins.jpeg.JPEGImageReader.read(Unknown Source)
   at javax.imageio.ImageIO.read(Unknown Source)
   at javax.imageio.ImageIO.read(Unknown Source)
   at forge.ImageLoader._findFile(ImageLoader.java:92)
   at forge.ImageLoader.load(ImageLoader.java:56)
   at forge.ImageLoader.load(ImageLoader.java:17)
   at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3524)
   at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2317)
   at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2280)
   at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2195)
   ... 55 more
[/code][/spoiler]
goonjamin
 
Posts: 133
Joined: 19 Aug 2010, 19:51
Has thanked: 39 times
Been thanked: 5 times

Re: Bug Reports (snapshot builds)

Postby timmermac » 24 May 2014, 17:25

First of the 1.5.19 snapshots. I don't know if this a bug or an undocumented feature, but the card shop has only had 1 booster box for sale when there should be 3 of them.
"I just woke up, haven't had coffee, let alone a pee in 7 days, and I find out you stole my ass and made a ...mini-me! Carter, I should be irked currently, yes?" - Jack O'Neill
User avatar
timmermac
Tester
 
Posts: 1512
Joined: 17 May 2010, 20:36
Has thanked: 18 times
Been thanked: 95 times

Re: Bug Reports (snapshot builds)

Postby KrazyTheFox » 24 May 2014, 18:02

timmermac wrote:First of the 1.5.19 snapshots. I don't know if this a bug or an undocumented feature, but the card shop has only had 1 booster box for sale when there should be 3 of them.
I changed up the number of boxes a bit, but also adjusted the selection algorithm. It's 1/2 the number of packs you have in the store at the moment, rounded down. You'll get fewer boxes earlier on, but they'll outnumber fat packs, etc with more packs available. I'm all for changing this up if it needs it.

The problem was when I used the same code as is used for picking fat packs, the boxes didn't appear to be random at all. Despite having nearly every set unlocked, I was getting the same X boxes nearly every time the shop was refreshed, making it almost impossible to collect certain sets. The new method is completely random and works much better when I tested it, but it also resulted in many more boxes being added to the store than were before.
User avatar
KrazyTheFox
Programmer
 
Posts: 725
Joined: 18 Mar 2014, 23:51
Has thanked: 66 times
Been thanked: 226 times

Re: Bug Reports (snapshot builds)

Postby Devilman06 » 25 May 2014, 03:09

Forge version 1.5.8 newest snapshot it seems that Intet, the dreamer's ability does not work properly it will exile the top card but does not allow you to play it. if this has already been reported or even fixed i apologize
Devilman06
 
Posts: 127
Joined: 29 Jan 2010, 03:59
Has thanked: 1 time
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby swordshine » 27 May 2014, 05:51

This might be a UI-related issue: I cannot see the card picture while Scrying 1 (e.g. Temple of Deceit).
swordshine
 
Posts: 682
Joined: 11 Jul 2010, 02:37
Has thanked: 116 times
Been thanked: 87 times

Re: Bug Reports (snapshot builds)

Postby Zempar » 27 May 2014, 23:52

Got a crash report!

Description: I was doing a quest against a Mono Green Devotion deck and I clicked out of the game when assigning block damage.

ConversionException | Open
Code: Select all
Forge Version:    1.5.14-r25182
Operating System: Windows 7 6.1 x86
Java Version:     1.7.0_55 Oracle Corporation

main > Error loading Quest Data
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[186]
line number         : 207
class[1]            : forge.quest.data.QuestAssets
converter-type[1]   : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
class[2]            : forge.quest.data.QuestData
version             : 1.5.14-r25182
-------------------------------
   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:115)
   at forge.control.FControl.initialize(FControl.java:210)
   at forge.view.Main.main(Main.java:42)
Caused by: java.lang.NullPointerException
   at java.util.Hashtable.hash(Unknown Source)
   at java.util.Hashtable.get(Unknown Source)
   at forge.util.ItemPool.count(ItemPool.java:153)
   at forge.util.ItemPool.add(ItemPool.java:267)
   at forge.quest.io.QuestDataIO$ItemPoolToXml.unmarshal(QuestDataIO.java:618)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   ... 24 more
Zempar
 
Posts: 36
Joined: 02 Apr 2014, 21:47
Has thanked: 5 times
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby KrazyTheFox » 28 May 2014, 06:37

AI played Leveler. Happened as it resolved.

| Open
Code: Select all
(ThreadUtil first call): Running on a machine with 4 cpu core(s)
Read cards: 13840 archived files in 27694 ms (25 parts) using thread pool
Read decks (28245 ms): 1731 constructed, 0 sealed, 0 draft, 3 cubes, 0 scheme, 0 planar, 0 commander.
AI profile Default was chosen for the lobby player Picon.
Send countered spell to Graveyard
Send countered spell to Graveyard
Send countered spell to Hand
Send countered spell to Graveyard
Send countered spell to Hand
AI profile Reckless was chosen for the lobby player Picon.
Game-0 > java.lang.NullPointerException: Attempt to invoke interface method 'boolean java.util.List.isEmpty()' on a null object reference
   at forge.ai.AiCostDecision.visit(AiCostDecision.java:449)
   at forge.ai.AiCostDecision.visit(AiCostDecision.java:1)
   at forge.game.cost.CostReturn.accept(CostReturn.java:127)
   at forge.game.cost.CostPayment.payComputerCosts(CostPayment.java:164)
   at forge.ai.ComputerUtil.handlePlayingSpellAbility(ComputerUtil.java:103)
   at forge.ai.PlayerControllerAi.playChosenSpellAbility(PlayerControllerAi.java:420)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:979)
   at forge.game.GameAction.startGame(GameAction.java:1532)
   at forge.game.Match.startGame(Match.java:81)
   at forge.screens.match.FControl$1.run(FControl.java:160)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
   at java.lang.Thread.run(Thread.java:811)
EDT > java.lang.IllegalStateException: forge.FThreads.assertExecutedByEdt may not be accessed from the event dispatch thread.
   at forge.FThreads.assertExecutedByEdt(FThreads.java:23)
   at forge.util.WaitCallback.invokeAndWait(WaitCallback.java:22)
   at forge.GuiMobile.showOptionDialog(GuiMobile.java:116)
   at forge.util.gui.SOptionPane.showOptionDialog(SOptionPane.java:60)
   at forge.util.gui.SOptionPane.showMessageDialog(SOptionPane.java:30)
   at forge.error.BugReporter.saveToFile(BugReporter.java:222)
   at forge.error.BugReportDialog.setResult(BugReportDialog.java:43)
   at forge.toolbox.FOptionPane$3.handleEvent(FOptionPane.java:170)
   at forge.toolbox.FButton.tap(FButton.java:150)
   at forge.Forge$MainInputProcessor.tap(Forge.java:414)
   at forge.toolbox.FGestureAdapter.touchUp(FGestureAdapter.java:214)
   at forge.toolbox.FGestureAdapter.touchUp(FGestureAdapter.java:178)
   at com.badlogic.gdx.backends.android.AndroidInput.processEvents(AndroidInput.java:360)
   at com.badlogic.gdx.backends.android.AndroidGraphics.onDrawFrame(AndroidGraphics.java:498)
   at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1525)
   at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1242)
EDT > java.lang.IllegalStateException: forge.FThreads.assertExecutedByEdt may not be accessed from the event dispatch thread.
   at forge.FThreads.assertExecutedByEdt(FThreads.java:23)
   at forge.util.WaitCallback.invokeAndWait(WaitCallback.java:22)
   at forge.GuiMobile.showOptionDialog(GuiMobile.java:116)
   at forge.util.gui.SOptionPane.showOptionDialog(SOptionPane.java:60)
   at forge.util.gui.SOptionPane.showMessageDialog(SOptionPane.java:30)
   at forge.error.BugReporter.saveToFile(BugReporter.java:222)
   at forge.error.BugReportDialog.setResult(BugReportDialog.java:43)
   at forge.toolbox.FOptionPane$3.handleEvent(FOptionPane.java:170)
   at forge.toolbox.FButton.tap(FButton.java:150)
   at forge.Forge$MainInputProcessor.tap(Forge.java:414)
   at forge.toolbox.FGestureAdapter.touchUp(FGestureAdapter.java:214)
   at forge.toolbox.FGestureAdapter.touchUp(FGestureAdapter.java:178)
   at com.badlogic.gdx.backends.android.AndroidInput.processEvents(AndroidInput.java:360)
   at com.badlogic.gdx.backends.android.AndroidGraphics.onDrawFrame(AndroidGraphics.java:498)
   at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1525)
   at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1242)
Attachments
Screenshot_2014-05-28-02-35-21.png
User avatar
KrazyTheFox
Programmer
 
Posts: 725
Joined: 18 Mar 2014, 23:51
Has thanked: 66 times
Been thanked: 226 times

Re: Bug Reports (snapshot builds)

Postby drdev » 28 May 2014, 14:40

Krazy, do you mind if I ask how you obtained that stack trace and screenshot?
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Bug Reports (snapshot builds)

Postby KrazyTheFox » 28 May 2014, 18:06

drdev wrote:Krazy, do you mind if I ask how you obtained that stack trace and screenshot?
The stack trace is printed to the log file and the screenshot is a Cyanogenmod feature:
Image
User avatar
KrazyTheFox
Programmer
 
Posts: 725
Joined: 18 Mar 2014, 23:51
Has thanked: 66 times
Been thanked: 226 times

Re: Bug Reports (snapshot builds)

Postby KrazyTheFox » 30 May 2014, 17:43

Some guy decided he needed to do the equivalent of lightning bolt me. I had two planeswalkers out (Jace Beleren and Venser, the Sojourner) and the AI did not target them. The game then asked me to pick a replacement effect to redirect the damage, but did not offer me the option to take the damage and redirect none. AFAIK I should be able to not redirect it and take the damage myself.
User avatar
KrazyTheFox
Programmer
 
Posts: 725
Joined: 18 Mar 2014, 23:51
Has thanked: 66 times
Been thanked: 226 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 7 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 7 users online :: 0 registered, 0 hidden and 7 guests (based on users active over the past 10 minutes)
Most users ever online was 7303 on 15 Jul 2025, 20:46

Users browsing this forum: No registered users and 7 guests

Login Form