It is currently 16 May 2025, 20:44
   
Text Size

getting this message whenever i try playing with a new deck

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

getting this message whenever i try playing with a new deck

Postby thevisi0nary » 14 Sep 2013, 15:09

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
thevisi0nary
 
Posts: 10
Joined: 22 Apr 2012, 22:10
Has thanked: 0 time
Been thanked: 0 time

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

Postby crystalkeeper » 15 Sep 2013, 15:47

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.
crystalkeeper
 
Posts: 4
Joined: 15 Aug 2013, 14:56
Has thanked: 0 time
Been thanked: 0 time

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

Postby thevisi0nary » 16 Sep 2013, 05:08

please help!!
thevisi0nary
 
Posts: 10
Joined: 22 Apr 2012, 22:10
Has thanked: 0 time
Been thanked: 0 time

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

Postby gos » 16 Sep 2013, 08:06

Could you please post the .dck file, with no alterations?
gos
 
Posts: 4369
Joined: 03 Mar 2011, 15:21
Location: Reykjavík, Iceland
Has thanked: 231 times
Been thanked: 232 times

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

Postby moomarc » 16 Sep 2013, 08:36

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/
-Marc
User avatar
moomarc
Pixel Commander
 
Posts: 2091
Joined: 04 Jun 2010, 15:22
Location: Johannesburg, South Africa
Has thanked: 371 times
Been thanked: 372 times


Return to Forge

Who is online

Users browsing this forum: Bing [Bot] and 32 guests


Who is online

In total there are 33 users online :: 1 registered, 0 hidden and 32 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: Bing [Bot] and 32 guests

Login Form