Page 1 of 1

getting this message whenever i try playing with a new deck

PostPosted: 14 Sep 2013, 15:09
by thevisi0nary
Description: [describe what you were doing when the crash occurred]

NullPointerException | Open
Code: Select all
Forge Version:    1.4.7-r23046M
Operating System: Windows 7 6.1 x86
Java Version:     1.7.0_40 Oracle Corporation

java.lang.NullPointerException
   at forge.deck.DeckgenUtil.getConstructedDeck(DeckgenUtil.java:117)
   at forge.gui.toolbox.special.FDeckChooser.getDeck(FDeckChooser.java:286)
   at forge.gui.toolbox.special.FDeckChooser.getPlayer(FDeckChooser.java:308)
   at forge.gui.home.sanctioned.CSubmenuConstructed.startGame(CSubmenuConstructed.java:102)
   at forge.gui.home.sanctioned.CSubmenuConstructed.access$100(CSubmenuConstructed.java:30)
   at forge.gui.home.sanctioned.CSubmenuConstructed$2.actionPerformed(CSubmenuConstructed.java:59)
   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 the card list

9 forest
7 plains
4 sunpetal grove
3 turntimber grove
3 windsweapt heath
4 savannah lions
4 loyal sentry
4 isamaru, hound of blahblah
2 green sun;s zenith
4 sylvan tutor
4 stoneforge mystic
3 behemoth sledge
4 wilt leaf vavalier
2 triumph of ferocity
2 loxodon gatekeeper
2 wilt leaf liege
2 harmonize
2 mirari's wake
2 privileged position
2 hymm of rebirth
2 kalonian behemoth
4 phantom nishoba

Re: getting this message whenever i try playing with a new d

PostPosted: 15 Sep 2013, 15:47
by crystalkeeper
I have the same problem, I though it might be because my decks were made when forge was in 1.4.5, so I remade one of them but it still didn't work. Also there are some decks that I made a long time ago, but it still works:
| Open
Curse

Main:
2 Curse of Oblivion
1 Cathedral Sanctifier
4 Mox Emerald
2 Darksteel Ingot
2 Curse of Bloodletting
4 Bitterheart Witch
2 Curse of Misfortunes
4 Mox Jet
4 Curse of Stalked Prey
4 Mox Sapphire
4 Black Lotus
2 Curse of Exhaustion
4 Mox Ruby
4 Mox Pearl
2 Gilded Lotus
1 Curse of the Nightly Hunt
2 Witchbane Orb
2 Curse of Thirst
2 Curse of Death's Hold
2 Curse of Echoes
1 Curse of the Pierced Heart
1 Curse of the Bloody Tome
4 Black Cat


Then here is one I made a few days ago:
| Open
Goblins Red

Main:
4 Dragon Fodder
1 Squee, Goblin Nabob
4 Mogg Flunkies
2 Guttersnipe
4 Rummaging Goblin
2 Goblin Assault
1 Krenko, Mob Boss
4 Goblin Offensive
4 Arms Dealer
26 Mountain
4 Krenko's Command
4 Goblin Battle Jester


Hope someone can help resolve the problem.

Re: getting this message whenever i try playing with a new d

PostPosted: 16 Sep 2013, 05:08
by thevisi0nary
please help!!

Re: getting this message whenever i try playing with a new d

PostPosted: 16 Sep 2013, 08:06
by gos
Could you please post the .dck file, with no alterations?

Re: getting this message whenever i try playing with a new d

PostPosted: 16 Sep 2013, 08:36
by moomarc
As gos said, please post either the actual dck file (located in <Forge/User>/decks/constructed - see end of post for location of your decks folder) or open the deck file in a text editor and paste the unmodified data here. The most likely reasons for the crash are a problem with the deck formatting or an issue with the deck name (some recent changes to allow reading of subfolders made decks with "/" in the name throw this error for instance).

To locate the decks folder, look in the Forge user folder which is found here by default (depending on your OS):
• Windows: <your application data directory>/Forge/
(usually, C:/Users/<your username>/Application Data/Roaming/Forge/ and may be a hidden folder)
• OSX: <your home directory>/Library/Application Support/Forge/
• Linux: <your home directory>/.forge/