Gauntlet Mode
I was poking around in my Forge cave, turned over a rock, and...Gauntlet Mode!

Please report issues here.
Please report issues here.
High Quality Resources for Collectible Card Games and Home of the CCGHQ Team
https://www.slightlymagic.net/forum/
https://www.slightlymagic.net/forum/viewtopic.php?f=52&t=8301
java.lang.ExceptionInInitializerError
at forge.gui.framework.EDocID.<clinit>(EDocID.java:79)
at forge.gui.match.VMatchUI.<init>(VMatchUI.java:36)
at forge.gui.match.VMatchUI.<clinit>(VMatchUI.java:32)
at forge.view.FView.cacheUIStates(FView.java:215)
at forge.view.FView.initialize(FView.java:102)
at forge.control.FControl$6.run(FControl.java:178)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:705)
at java.awt.EventQueue.access$000(EventQueue.java:101)
at java.awt.EventQueue$3.run(EventQueue.java:666)
at java.awt.EventQueue$3.run(EventQueue.java:664)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:675)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: java.lang.IllegalArgumentException: No enum constant forge.properties.ForgePreferences.FPref.SUBMENU_GAUNTLET
at java.lang.Enum.valueOf(Enum.java:236)
at forge.properties.ForgePreferences$FPref.valueOf(ForgePreferences.java:1)
at forge.gui.home.VMainMenu.<init>(VMainMenu.java:154)
at forge.gui.home.VMainMenu.<clinit>(VMainMenu.java:75)
... 20 more
Error loading Gauntlet Data
java.io.FileNotFoundException: res\gauntlet\.svn (Access is denied)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at forge.gauntlet.GauntletIO.loadGauntlet(GauntletIO.java:105)
at forge.gui.home.gauntlet.CSubmenuGauntletLoad.updateData(CSubmenuGauntletLoad.java:72)
at forge.gui.home.gauntlet.CSubmenuGauntletLoad.initialize(CSubmenuGauntletLoad.java:57)
at forge.view.FView.initialize(FView.java:107)
at forge.control.FControl$6.run(FControl.java:178)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:705)
at java.awt.EventQueue.access$000(EventQueue.java:101)
at java.awt.EventQueue$3.run(EventQueue.java:666)
at java.awt.EventQueue$3.run(EventQueue.java:664)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:675)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
I am getting the same exception when I try to start Forge.Hellfish wrote:Got an exception after the splash disappears.Adding the constant to FPref let's it go on to another exception
- Code: Select all
java.lang.ExceptionInInitializerError
at forge.gui.framework.EDocID.<clinit>(EDocID.java:79)
at forge.gui.match.VMatchUI.<init>(VMatchUI.java:36)
at forge.gui.match.VMatchUI.<clinit>(VMatchUI.java:32)
at forge.view.FView.cacheUIStates(FView.java:215)
at forge.view.FView.initialize(FView.java:102)
at forge.control.FControl$6.run(FControl.java:178)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:705)
at java.awt.EventQueue.access$000(EventQueue.java:101)
at java.awt.EventQueue$3.run(EventQueue.java:666)
at java.awt.EventQueue$3.run(EventQueue.java:664)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:675)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: java.lang.IllegalArgumentException: No enum constant forge.properties.ForgePreferences.FPref.SUBMENU_GAUNTLET
at java.lang.Enum.valueOf(Enum.java:236)
at forge.properties.ForgePreferences$FPref.valueOf(ForgePreferences.java:1)
at forge.gui.home.VMainMenu.<init>(VMainMenu.java:154)
at forge.gui.home.VMainMenu.<clinit>(VMainMenu.java:75)
... 20 more
- Code: Select all
Error loading Gauntlet Data
java.io.FileNotFoundException: res\gauntlet\.svn (Access is denied)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at forge.gauntlet.GauntletIO.loadGauntlet(GauntletIO.java:105)
at forge.gui.home.gauntlet.CSubmenuGauntletLoad.updateData(CSubmenuGauntletLoad.java:72)
at forge.gui.home.gauntlet.CSubmenuGauntletLoad.initialize(CSubmenuGauntletLoad.java:57)
at forge.view.FView.initialize(FView.java:107)
at forge.control.FControl$6.run(FControl.java:178)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:705)
at java.awt.EventQueue.access$000(EventQueue.java:101)
at java.awt.EventQueue$3.run(EventQueue.java:666)
at java.awt.EventQueue$3.run(EventQueue.java:664)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:675)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
I saw this one as wellArsenalNut wrote:
- Code: Select all
java.lang.ExceptionInInitializerError
at forge.gui.framework.EDocID.<clinit>(EDocID.java:79)
at forge.gui.match.VMatchUI.<init>(VMatchUI.java:36)
at forge.gui.match.VMatchUI.<clinit>(VMatchUI.java:32)
at forge.view.FView.cacheUIStates(FView.java:215)
at forge.view.FView.initialize(FView.java:102)
at forge.control.FControl$6.run(FControl.java:178)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:705)
at java.awt.EventQueue.access$000(EventQueue.java:101)
at java.awt.EventQueue$3.run(EventQueue.java:666)
at java.awt.EventQueue$3.run(EventQueue.java:664)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:675)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: java.lang.IllegalArgumentException: No enum constant
Gauntlet mode is not adding games played to FMatchState (method addGamePlayed). If he did, the list from Singletons.getModel().getMatchState().getGamesPlayed() would have contained a game and there would be no OoBfriarsol wrote:I just played a Gauntlet Match. It looks like Gauntlet mode is only half ignoring the ante checkbox. No cards are ante-d in the beginning of the game, but at the end of the game it tries to add the blank cards to your deck. Providing this error:
Detailed error trace:
java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.ArrayList.get(Unknown Source)
at forge.gui.match.ControlWinLose.executeAnte(ControlWinLose.java:115)
at forge.gui.match.ControlWinLose.startNextRound(ControlWinLose.java:99)
at forge.gui.match.ControlWinLose.actionOnContinue(ControlWinLose.java:71)
at forge.gui.match.ControlWinLose$1.actionPerformed(ControlWinLose.java:48)
Now now. Gauntlet mode has easily been the top of the list of reasonable feature requests, I just want to make sure everything runs smoothly. Looked awesome before it died on meDoublestrike wrote:Wow, tough crowd
Doublestrike wrote:Wow, tough crowd![]()

I added a check in the GauntletIO methods that will ignore .svn directories. I was able to start forge without any errors after that.