It is currently 24 Aug 2025, 22:29
   
Text Size

crashes at game start

Post MTG Forge Related Programming Questions Here

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

crashes at game start

Postby queequeg » 20 May 2013, 13:00

Description: Forge seems to have difficulty starting a game. I was wondering if there were a way to completely uninstall Forge and all related files so I could start from scratch--that would probably help me, too, as it did seem to work fine for a while. Thanks for your help!



NullPointerException | Open
Code: Select all
Forge Version:    1.3.16-r21506
Operating System: Windows 7 6.1 x86
Java Version:     1.7.0_21 Oracle Corporation

java.lang.NullPointerException
   at forge.gui.match.VMatchUI.populate(VMatchUI.java:115)
   at forge.control.FControl.changeState(FControl.java:218)
   at forge.game.MatchController.attachUiToMatch(MatchController.java:190)
   at forge.game.MatchController.startRound(MatchController.java:145)
   at forge.gui.home.sanctioned.CSubmenuConstructed$6.run(CSubmenuConstructed.java:125)
   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)
queequeg
 
Posts: 4
Joined: 20 May 2013, 12:58
Has thanked: 1 time
Been thanked: 0 time

Re: crashes at game start

Postby moomarc » 20 May 2013, 13:31

There's no single click uninstall but looking at that error, its the same one that several people have received from time to time and you don't need to uninstall anything. Its the layout files that somehow become corrupted and simply need to be deleted. Forge will then create a fresh file. Max gave a nice concise reply here (assuming you're running Windows):
Max mtg wrote:Make sure Forge is not running.
Hit Windows + R, type cmd press enter

In the black console screen that appears type:
Code: Select all
del %appdata%\Forge\preferences\match.xml
And press Enter.

Launch Forge, try starting a match


If you use a different location to store your preferences, find match.xml there.
We really need to just create a little applett that does this and ships with the Forge package.
-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

Re: crashes at game start

Postby queequeg » 20 May 2013, 13:47

Ah--terrific! This works--thanks so much.
queequeg
 
Posts: 4
Joined: 20 May 2013, 12:58
Has thanked: 1 time
Been thanked: 0 time


Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 29 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 29 users online :: 0 registered, 0 hidden and 29 guests (based on users active over the past 10 minutes)
Most users ever online was 7303 on 15 Jul 2025, 20:46

Users browsing this forum: No registered users and 29 guests

Login Form