It is currently 20 May 2025, 21:29
   
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 dripton » 29 Sep 2013, 20:47

andrewd13, I just commited a fix for the IndexOutOfBoundsException in r23352. And it looks like swordshine fixed that NPE in r23289. (Though that was over a week ago, so either his fix doesn't really work or you're running a snapshot that predates it.)
dripton
 
Posts: 10
Joined: 30 Aug 2013, 23:17
Has thanked: 0 time
Been thanked: 1 time

Re: Bug Reports (snapshot builds)

Postby varaxor » 29 Sep 2013, 21:26

Ordeal of purphoros fizzle whereas there is at least three valid target on the board ( A white 1/1 soldier token, a wingsteed rider and me ;) )

When played IA as reported invalid target
varaxor
 
Posts: 4
Joined: 22 May 2013, 20:16
Has thanked: 1 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby Chris H. » 30 Sep 2013, 14:37

The Forge Restart option only quits the forge app and does not relaunch. Probaby not compatible with my Macintosh.

Below is a screenshot showing how the new UI work displays on my Macintosh. With the old style title bar I could move the forge app window to the dock.

Screen Shot.jpg


Forge generated a crash report when I used the new Minimize button.


Description: used the new Minimize button.

RuntimeException | Open
Code: Select all
Forge Version:    1.5.1-SNAPSHOT-r23358
Operating System: Mac OS X 10.7.5 x86_64
Java Version:     1.7.0_21 Oracle Corporation

java.lang.RuntimeException: Unknown window state: 7
   at sun.lwawt.macosx.CPlatformWindow.setWindowState(CPlatformWindow.java:792)
   at sun.lwawt.LWWindowPeer.setState(LWWindowPeer.java:514)
   at java.awt.Frame.setExtendedState(Frame.java:753)
   at forge.view.FFrame.setExtendedState(FFrame.java:133)
   at java.awt.Frame.setState(Frame.java:692)
   at forge.view.FFrame.setMinimized(FFrame.java:111)
   at forge.view.FTitleBar$MinimizeButton.onClick(FTitleBar.java:168)
   at forge.view.FTitleBar$TitleBarButton$1.mouseReleased(FTitleBar.java:123)
   at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
   at java.awt.Component.processMouseEvent(Component.java:6505)
   at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
   at java.awt.Component.processEvent(Component.java:6270)
   at java.awt.Container.processEvent(Container.java:2229)
   at java.awt.Component.dispatchEventImpl(Component.java:4861)
   at java.awt.Container.dispatchEventImpl(Container.java:2287)
   at java.awt.Component.dispatchEvent(Component.java:4687)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
   at java.awt.Container.dispatchEventImpl(Container.java:2273)
   at java.awt.Window.dispatchEventImpl(Window.java:2719)
   at java.awt.Component.dispatchEvent(Component.java:4687)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:729)
   at java.awt.EventQueue.access$200(EventQueue.java:103)
   at java.awt.EventQueue$3.run(EventQueue.java:688)
   at java.awt.EventQueue$3.run(EventQueue.java:686)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
   at java.awt.EventQueue$4.run(EventQueue.java:702)
   at java.awt.EventQueue$4.run(EventQueue.java:700)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:699)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
User avatar
Chris H.
Forge Moderator
 
Posts: 6320
Joined: 04 Nov 2008, 12:11
Location: Mac OS X Yosemite
Has thanked: 644 times
Been thanked: 643 times

Re: Bug Reports (snapshot builds)

Postby Pande » 30 Sep 2013, 16:02

Description: Attacking with Forgotten Ancient with one counter on it, computer blocking with Abyssal Hunter.

ConcurrentModificationException | Open
Code: Select all
Forge Version:    1.5.1-SNAPSHOT-r23344
Operating System: Windows XP 5.1 x86
Java Version:     1.7.0_25 Oracle Corporation

java.util.ConcurrentModificationException
   at com.google.common.collect.AbstractMapBasedMultimap$WrappedCollection$WrappedIterator.validateIterator(AbstractMapBasedMultimap.java:471)
   at com.google.common.collect.AbstractMapBasedMultimap$WrappedCollection$WrappedIterator.hasNext(AbstractMapBasedMultimap.java:477)
   at java.util.AbstractCollection.toArray(Unknown Source)
   at java.util.ArrayList.<init>(Unknown Source)
   at com.google.common.collect.Lists.newArrayList(Lists.java:125)
   at forge.game.combat.Combat.getBlockers(Combat.java:204)
   at forge.gui.match.TargetingOverlay.assembleArcs(TargetingOverlay.java:203)
   at forge.gui.match.TargetingOverlay.access$300(TargetingOverlay.java:52)
   at forge.gui.match.TargetingOverlay$OverlayPanel.paintComponent(TargetingOverlay.java:345)
   at javax.swing.JComponent.paint(Unknown Source)
   at javax.swing.JComponent.paintChildren(Unknown Source)
   at javax.swing.JComponent.paint(Unknown Source)
   at javax.swing.JLayeredPane.paint(Unknown Source)
   at javax.swing.JComponent.paintChildren(Unknown Source)
   at javax.swing.JComponent.paint(Unknown Source)
   at javax.swing.JLayeredPane.paint(Unknown Source)
   at javax.swing.JComponent.paintChildren(Unknown Source)
   at javax.swing.JComponent.paint(Unknown Source)
   at javax.swing.JComponent.paintChildren(Unknown Source)
   at javax.swing.JComponent.paint(Unknown Source)
   at javax.swing.JLayeredPane.paint(Unknown Source)
   at javax.swing.JComponent.paintChildren(Unknown Source)
   at javax.swing.JComponent.paint(Unknown Source)
   at javax.swing.JComponent.paintToOffscreen(Unknown Source)
   at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
   at javax.swing.RepaintManager.paint(Unknown Source)
   at javax.swing.JComponent._paintImmediately(Unknown Source)
   at javax.swing.JComponent.paintImmediately(Unknown Source)
   at javax.swing.RepaintManager$3.run(Unknown Source)
   at javax.swing.RepaintManager$3.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
   at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
   at javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)
   at javax.swing.RepaintManager.access$1000(Unknown Source)
   at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
   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)
Pande
 
Posts: 25
Joined: 12 Jun 2009, 23:38
Has thanked: 8 times
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby briansama » 30 Sep 2013, 18:21

in 1.5.1 the AI will never attack anyone but the human player in multiplayer games. This makes 3+ player games impossible to play.
briansama
 
Posts: 13
Joined: 23 Sep 2013, 06:21
Has thanked: 0 time
Been thanked: 1 time

Re: Bug Reports (snapshot builds)

Postby drdev » 30 Sep 2013, 18:37

Chris H. wrote:The Forge Restart option only quits the forge app and does not relaunch. Probaby not compatible with my Macintosh.

Below is a screenshot showing how the new UI work displays on my Macintosh. With the old style title bar I could move the forge app window to the dock.

Screen Shot.jpg


Forge generated a crash report when I used the new Minimize button.


Description: used the new Minimize button.

RuntimeException | Open
Code: Select all
Forge Version:    1.5.1-SNAPSHOT-r23358
Operating System: Mac OS X 10.7.5 x86_64
Java Version:     1.7.0_21 Oracle Corporation

java.lang.RuntimeException: Unknown window state: 7
   at sun.lwawt.macosx.CPlatformWindow.setWindowState(CPlatformWindow.java:792)
   at sun.lwawt.LWWindowPeer.setState(LWWindowPeer.java:514)
   at java.awt.Frame.setExtendedState(Frame.java:753)
   at forge.view.FFrame.setExtendedState(FFrame.java:133)
   at java.awt.Frame.setState(Frame.java:692)
   at forge.view.FFrame.setMinimized(FFrame.java:111)
   at forge.view.FTitleBar$MinimizeButton.onClick(FTitleBar.java:168)
   at forge.view.FTitleBar$TitleBarButton$1.mouseReleased(FTitleBar.java:123)
   at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
   at java.awt.Component.processMouseEvent(Component.java:6505)
   at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
   at java.awt.Component.processEvent(Component.java:6270)
   at java.awt.Container.processEvent(Container.java:2229)
   at java.awt.Component.dispatchEventImpl(Component.java:4861)
   at java.awt.Container.dispatchEventImpl(Container.java:2287)
   at java.awt.Component.dispatchEvent(Component.java:4687)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
   at java.awt.Container.dispatchEventImpl(Container.java:2273)
   at java.awt.Window.dispatchEventImpl(Window.java:2719)
   at java.awt.Component.dispatchEvent(Component.java:4687)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:729)
   at java.awt.EventQueue.access$200(EventQueue.java:103)
   at java.awt.EventQueue$3.run(EventQueue.java:688)
   at java.awt.EventQueue$3.run(EventQueue.java:686)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
   at java.awt.EventQueue$4.run(EventQueue.java:702)
   at java.awt.EventQueue$4.run(EventQueue.java:700)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:699)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
I don't have access to a Mac, so could somebody with a Mac please investigate these issues? The code is all in the forge.view.FFrame class. If it's not possible to fix these, should we just make Forge use the regular decorated frame style on Mac and/or have a setting to use that frame style?
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Bug Reports (snapshot builds)

Postby spr » 30 Sep 2013, 19:18

drdev wrote:I don't have access to a Mac, so could somebody with a Mac please investigate these issues? The code is all in the forge.view.FFrame class. If it's not possible to fix these, should we just make Forge use the regular decorated frame style on Mac and/or have a setting to use that frame style?
I was having problems with combo skinning (combos are a pain!). I simply added a preference setting that let Chris and other Mac users switch off the feature while I looked into the problem. Can you not just add a similar setting?

Cheers,
Steve.
User avatar
spr
 
Posts: 213
Joined: 06 Jul 2013, 19:31
Has thanked: 28 times
Been thanked: 60 times

Re: Bug Reports (snapshot builds)

Postby drdev » 30 Sep 2013, 19:36

spr wrote:
drdev wrote:I don't have access to a Mac, so could somebody with a Mac please investigate these issues? The code is all in the forge.view.FFrame class. If it's not possible to fix these, should we just make Forge use the regular decorated frame style on Mac and/or have a setting to use that frame style?
I was having problems with combo skinning (combos are a pain!). I simply added a preference setting that let Chris and other Mac users switch off the feature while I looked into the problem. Can you not just add a similar setting?

Cheers,
Steve.
I'm fine with that. Or perhaps we just use the same setting and rename it indicate that it affects more than just combo boxes? I really wasn't sure what to do about that setting when doing my skin stuff.

And agreed about ComboBoxes being a pain to skin. Almost want to just write a custom combo box control without even using JComboBox. See FComboBoxWrapper for why. :D
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Bug Reports (snapshot builds)

Postby spr » 30 Sep 2013, 20:09

drdev wrote:I'm fine with that. Or perhaps we just use the same setting and rename it indicate that it affects more than just combo boxes? I really wasn't sure what to do about that setting when doing my skin stuff.
Feel free to re-use it - its the "Themed ComboBox" setting (UI_THEMED_COMBOBOX). In fact I added a TODO to rename it since it is now used to enabled/disable all the UIManager stuff in the ForgeLookAndFeel class but somehow have not got round to it yet.

Cheers,
Steve
User avatar
spr
 
Posts: 213
Joined: 06 Jul 2013, 19:31
Has thanked: 28 times
Been thanked: 60 times

Re: Bug Reports (snapshot builds)

Postby Doomlord » 01 Oct 2013, 11:12

Description: I get this error when starting a Commander game. This crash happened to me also on the previous version, but it apparently wasn't fixed, as it is still happening.

NullPointerException | Open
Code: Select all
Forge Version:    1.5.1-SNAPSHOT-r23344
Operating System: Linux 3.5.0-34-generic amd64
Java Version:     1.7.0_25 Oracle Corporation

java.lang.NullPointerException
   at forge.game.RegisteredPlayer.forCommander(RegisteredPlayer.java:154)
   at forge.gui.home.variant.CSubmenuCommander.startGame(CSubmenuCommander.java:154)
   at forge.gui.home.variant.CSubmenuCommander.access$100(CSubmenuCommander.java:38)
   at forge.gui.home.variant.CSubmenuCommander$2.actionPerformed(CSubmenuCommander.java:88)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
   at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
   at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
   at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
   at java.awt.Component.processMouseEvent(Component.java:6505)
   at javax.swing.JComponent.processMouseEvent(JComponent.java:3312)
   at java.awt.Component.processEvent(Component.java:6270)
   at java.awt.Container.processEvent(Container.java:2229)
   at java.awt.Component.dispatchEventImpl(Component.java:4861)
   at java.awt.Container.dispatchEventImpl(Container.java:2287)
   at java.awt.Component.dispatchEvent(Component.java:4687)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
   at java.awt.Container.dispatchEventImpl(Container.java:2273)
   at java.awt.Window.dispatchEventImpl(Window.java:2719)
   at java.awt.Component.dispatchEvent(Component.java:4687)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
   at java.awt.EventQueue.access$200(EventQueue.java:103)
   at java.awt.EventQueue$3.run(EventQueue.java:694)
   at java.awt.EventQueue$3.run(EventQueue.java:692)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
   at java.awt.EventQueue$4.run(EventQueue.java:708)
   at java.awt.EventQueue$4.run(EventQueue.java:706)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Doomlord
 
Posts: 47
Joined: 07 Dec 2011, 21:07
Has thanked: 0 time
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby felixsapiens » 01 Oct 2013, 12:21

Description:

I don't seem to be able to paste text anymore into the Deck Editor's import function. In this snapshot, the box into which one normally pastes card lists is greyed out. In v1.5.0 the box is "active" but I can't seem to paste anything there either. CMD-V does nothing.

Forge Version: 1.5.1-SNAPSHOT-r23358
Operating System: Mac OS X 10.8.5 x86_64
Java Version: 1.7.0_25 Oracle Corporation
felixsapiens
 
Posts: 12
Joined: 14 Feb 2013, 06:36
Has thanked: 5 times
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby Hellfish » 01 Oct 2013, 18:18

Doomlord wrote:Description: I get this error when starting a Commander game. This crash happened to me also on the previous version, but it apparently wasn't fixed, as it is still happening.

NullPointerException | Open
Code: Select all
Forge Version:    1.5.1-SNAPSHOT-r23344
Operating System: Linux 3.5.0-34-generic amd64
Java Version:     1.7.0_25 Oracle Corporation

java.lang.NullPointerException
   at forge.game.RegisteredPlayer.forCommander(RegisteredPlayer.java:154)
   at forge.gui.home.variant.CSubmenuCommander.startGame(CSubmenuCommander.java:154)
   at forge.gui.home.variant.CSubmenuCommander.access$100(CSubmenuCommander.java:38)
   at forge.gui.home.variant.CSubmenuCommander$2.actionPerformed(CSubmenuCommander.java:88)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
   at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
   at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
   at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
   at java.awt.Component.processMouseEvent(Component.java:6505)
   at javax.swing.JComponent.processMouseEvent(JComponent.java:3312)
   at java.awt.Component.processEvent(Component.java:6270)
   at java.awt.Container.processEvent(Container.java:2229)
   at java.awt.Component.dispatchEventImpl(Component.java:4861)
   at java.awt.Container.dispatchEventImpl(Container.java:2287)
   at java.awt.Component.dispatchEvent(Component.java:4687)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
   at java.awt.Container.dispatchEventImpl(Container.java:2273)
   at java.awt.Window.dispatchEventImpl(Window.java:2719)
   at java.awt.Component.dispatchEvent(Component.java:4687)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
   at java.awt.EventQueue.access$200(EventQueue.java:103)
   at java.awt.EventQueue$3.run(EventQueue.java:694)
   at java.awt.EventQueue$3.run(EventQueue.java:692)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
   at java.awt.EventQueue$4.run(EventQueue.java:708)
   at java.awt.EventQueue$4.run(EventQueue.java:706)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
I sent you a pm earlier, check your inbox. ;)

Looking at the trace it seems like you managed to use decks that don't have a (proper) commander section. How/where did you create/get the decks? Could you upload one for me to look at?
EDIT: Did you copy paste the dck files into the commander folder?
So now you're
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
User avatar
Hellfish
Programmer
 
Posts: 1297
Joined: 07 Jun 2009, 10:41
Location: South of the Pumphouse
Has thanked: 110 times
Been thanked: 169 times

Re: Bug Reports (snapshot builds)

Postby Dun » 01 Oct 2013, 19:55

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

ConcurrentModificationException | Open
Code: Select all
Forge Version:    1.5.1-SNAPSHOT-r23344
Operating System: Windows 7 6.1 x86
Java Version:     1.7.0_40 Oracle Corporation

java.util.ConcurrentModificationException
   at java.util.ArrayList$Itr.checkForComodification(Unknown Source)
   at java.util.ArrayList$Itr.next(Unknown Source)
   at com.google.common.collect.AbstractMapBasedMultimap$EntryIterator.next(AbstractMapBasedMultimap.java:1209)
   at com.google.common.collect.AbstractMapBasedMultimap$EntryIterator.next(AbstractMapBasedMultimap.java:1177)
   at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48)
   at forge.game.combat.Combat.getAttackers(Combat.java:195)
   at forge.gui.match.TargetingOverlay.assembleArcs(TargetingOverlay.java:238)
   at forge.gui.match.TargetingOverlay.access$300(TargetingOverlay.java:52)
   at forge.gui.match.TargetingOverlay$OverlayPanel.paintComponent(TargetingOverlay.java:345)
   at javax.swing.JComponent.paint(Unknown Source)
   at javax.swing.JComponent.paintChildren(Unknown Source)
   at javax.swing.JComponent.paint(Unknown Source)
   at javax.swing.JLayeredPane.paint(Unknown Source)
   at javax.swing.JComponent.paintChildren(Unknown Source)
   at javax.swing.JComponent.paint(Unknown Source)
   at javax.swing.JLayeredPane.paint(Unknown Source)
   at javax.swing.JComponent.paintChildren(Unknown Source)
   at javax.swing.JComponent.paint(Unknown Source)
   at javax.swing.JComponent.paintChildren(Unknown Source)
   at javax.swing.JComponent.paint(Unknown Source)
   at javax.swing.JLayeredPane.paint(Unknown Source)
   at javax.swing.JComponent.paintChildren(Unknown Source)
   at javax.swing.JComponent.paint(Unknown Source)
   at javax.swing.JComponent.paintToOffscreen(Unknown Source)
   at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
   at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
   at javax.swing.RepaintManager.paint(Unknown Source)
   at javax.swing.JComponent._paintImmediately(Unknown Source)
   at javax.swing.JComponent.paintImmediately(Unknown Source)
   at javax.swing.RepaintManager$3.run(Unknown Source)
   at javax.swing.RepaintManager$3.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
   at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
   at javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)
   at javax.swing.RepaintManager.access$1100(Unknown Source)
   at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
   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)
Dun
 
Posts: 9
Joined: 29 Sep 2013, 16:25
Has thanked: 4 times
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby Max mtg » 01 Oct 2013, 20:42

Dun, Pande
Please try any snapshot newer than code revision 23369.

I believe the concurrent modification exception be fixed with that revision
Single class for single responsibility.
Max mtg
Programmer
 
Posts: 1997
Joined: 02 Jul 2011, 14:26
Has thanked: 173 times
Been thanked: 334 times

Re: Bug Reports (snapshot builds)

Postby fatherguidos » 02 Oct 2013, 04:15

In Theros sealed I had a cavalry pegasus and an agent of the fates, opponent attacked with bronze sable, fleshmad steed, and asphodel wanderer which caused the crash.

| Open
[spoiler=ConcurrentModificationException]
Code: Select all
Forge Version:    1.4.8-SNAPSHOT-r23305
Operating System: Windows 7 6.1 x86
Java Version:     1.7.0_25 Oracle Corporation

java.util.ConcurrentModificationException
   at java.util.ArrayList$Itr.checkForComodification(Unknown Source)
   at java.util.ArrayList$Itr.next(Unknown Source)
   at forge.game.combat.Combat.getAttackers(Combat.java:206)
   at forge.gui.match.TargetingOverlay.assembleArcs(TargetingOverlay.java:238)
   at forge.gui.match.TargetingOverlay.access$300(TargetingOverlay.java:52)
   at forge.gui.match.TargetingOverlay$OverlayPanel.paintComponent(TargetingOverlay.java:345)
   at javax.swing.JComponent.paint(Unknown Source)
   at javax.swing.JComponent.paintChildren(Unknown Source)
   at javax.swing.JComponent.paint(Unknown Source)
   at javax.swing.JLayeredPane.paint(Unknown Source)
   at javax.swing.JComponent.paintChildren(Unknown Source)
   at javax.swing.JComponent.paint(Unknown Source)
   at javax.swing.JLayeredPane.paint(Unknown Source)
   at javax.swing.JComponent.paintChildren(Unknown Source)
   at javax.swing.JComponent.paint(Unknown Source)
   at javax.swing.JComponent.paintToOffscreen(Unknown Source)
   at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
   at javax.swing.RepaintManager.paint(Unknown Source)
   at javax.swing.JComponent._paintImmediately(Unknown Source)
   at javax.swing.JComponent.paintImmediately(Unknown Source)
   at javax.swing.RepaintManager$3.run(Unknown Source)
   at javax.swing.RepaintManager$3.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
   at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
   at javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)
   at javax.swing.RepaintManager.access$1000(Unknown Source)
   at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
   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)
[/spoiler]
fatherguidos
 
Posts: 3
Joined: 24 Sep 2013, 02:59
Has thanked: 1 time
Been thanked: 0 time

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 47 guests


Who is online

In total there are 47 users online :: 0 registered, 0 hidden and 47 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 47 guests

Login Form