Page 1 of 1

Crashing on Draft Edit?

PostPosted: 06 Mar 2011, 22:30
by bane221
I am having a crash when editing a drafted deck every single time (and yes, I emailed in my crash report). THOUGH! I did do something that may have caused it and I wanted to see what others have done. I wanted to draft using a cube and loaded three rarity files that were a cube set. I can draft without error and save the draft. When I try to load the draft deck for editing, however, it always crashes. Thoughts?

Re: Crashing on Draft Edit?

PostPosted: 06 Mar 2011, 22:40
by friarsol
Can you post your saved deck to the forums? There may be something funky going on that the deck editor is not happy about.

Re: Crashing on Draft Edit?

PostPosted: 06 Mar 2011, 22:50
by bane221

Re: Crashing on Draft Edit?

PostPosted: 06 Mar 2011, 23:19
by timmermac
If you've got a WinZip/WinRar equivalent, you can zip up your deck file and post it that way.

Re: Crashing on Draft Edit?

PostPosted: 06 Mar 2011, 23:26
by bane221
This is the draft in question (though any draft I do now errors out in editing).

Re: Crashing on Draft Edit?

PostPosted: 07 Mar 2011, 04:59
by tchiseen
I'm getting a crash on edit: I've tried drafting on two different computers and they both error when trying to edit.

I am ALSO trying the CUBE DRAFT from this forum.

I get this:


| Open
Code: Select all
An error has occured. You can copy/paste this message or save it to a file.
Please report this, plus what you tried to do, to:
   http://www.slightlymagic.net/forum/viewforum.php?f=26
If you don't want to register an account, you can mail it directly to
   mtgerror@yahoo.com


Index: 0, Size: 0


Version:
Forge -- official beta: $Date: 2011-01-06 11:34:48 -0500 (Thu, 06 Jan 2011) $, SVN revision: $Revision: 4891 $

OS: Windows 7 Version: 6.1 Architecture: x86

Java Version: 1.6.0_24 Vendor: Sun Microsystems Inc.

Detailed error trace:
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
   at java.util.ArrayList.RangeCheck(Unknown Source)
   at java.util.ArrayList.get(Unknown Source)
   at forge.Deck.getMain(Deck.java:91)
   at forge.Gui_DeckEditor_Menu.showDraftDeck(Gui_DeckEditor_Menu.java:941)
   at forge.Gui_DeckEditor_Menu.openDraft(Gui_DeckEditor_Menu.java:933)
   at forge.Gui_DeckEditor_Menu.access$10(Gui_DeckEditor_Menu.java:921)
   at forge.Gui_DeckEditor_Menu$23$1.run(Gui_DeckEditor_Menu.java:1372)
   at java.awt.event.InvocationEvent.dispatch(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$000(Unknown Source)
   at java.awt.EventQueue$1.run(Unknown Source)
   at java.awt.EventQueue$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$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)

Re: Crashing on Draft Edit?

PostPosted: 08 Mar 2011, 02:56
by Professor
I can't remember whether or not this issue began for me before or since I tried the Cube deck, but I am starting to see the connection...

Edit: I replaced everything in the draft folder with the January version, but I still got the error. Dang!

Re: Crashing on Draft Edit?

PostPosted: 08 Mar 2011, 02:58
by bane221
Any luck from anyone?

Re: Crashing on Draft Edit?

PostPosted: 08 Mar 2011, 06:06
by slowe
I've had this problem too, didn't realize it was linked to using cubes. As a weak solution, you can edit the deck file in a text editor and move the cards you want to the maindeck, but it's kind of time-consuming and even afterward you can't edit the deck. It does allow you to play the games though, which is all that really matters. :)

Re: Crashing on Draft Edit?

PostPosted: 12 Mar 2011, 19:53
by bane221
Now I can't edit any draft deck regardless of cube or not. What am I/are we missing?

Re: Crashing on Draft Edit?

PostPosted: 13 Mar 2011, 02:31
by Rob Cashwalker
I have begun revising the draft code to enable block/set and custom draft (leaving "Full Cardpool" as an option). As I encounter bugs, I will attempt to fix them. Understand, that existing drafts may continue to have problems.

The custom draft option will open up cube draft to all players, since it will read a standard constructed mode deck file as the cardpool. No more rarity.txt files.

Re: Crashing on Draft Edit?

PostPosted: 30 Mar 2011, 20:15
by tchiseen
Niiice!

Re: Crashing on Draft Edit?

PostPosted: 30 Mar 2011, 21:47
by zebra
Is there a fix for this I'm missing? I'm new to Forge and every time I load my draft in deck editor it immediately crashes, using the 3/18 release.

Re: Crashing on Draft Edit?

PostPosted: 13 Apr 2011, 05:53
by tchiseen
Still crashing in 4/1 even in a new install...

Re: Crashing on Draft Edit?

PostPosted: 13 Apr 2011, 12:51
by Rob Cashwalker
still re-writing the entire draft experience...