Page 1 of 1

crashes at game start

PostPosted: 20 May 2013, 13:00
by queequeg
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)

Re: crashes at game start

PostPosted: 20 May 2013, 13:31
by moomarc
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.

Re: crashes at game start

PostPosted: 20 May 2013, 13:47
by queequeg
Ah--terrific! This works--thanks so much.