It is currently 26 Apr 2024, 06:19
   
Text Size

Forge crashes when I try to start a new game

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

Forge crashes when I try to start a new game

Postby tobideck » 25 Apr 2015, 09:28

Hello Magic / Forge community,

I'm a big fan of Forge and enjoy playing greatly. :D
A few days ago my Laptop crashed and after reboot Forge still runs, but every time I try to start a new game it gives me an error message and the game itself does not get created/started. I can continue in Forge to try starting other games, but regardless of the mode (constr./duels) no game ever starts.

This is the top part of the error message (I can post the whole if necessary):
[spoiler=NullPointerException][code]
Forge Version: 1.5.38-r-1
Operating System: Windows 8.1 6.3 amd64
Java Version: 1.8.0_31 Oracle Corporation

Is there a way to fix this?
I don't want to uninstall/reinstall for I want to keep my achievements and decks.
Thanks in advance and sorry it there's a better place on this board to post this :?
tobideck
 
Posts: 7
Joined: 25 Apr 2015, 09:17
Has thanked: 1 time
Been thanked: 0 time

Re: Forge crashes when I try to start a new game

Postby drdev » 25 Apr 2015, 13:10

The full error message would be helpful here if you can provide it. Otherwise it's hard to know what could be going wrong.

Also, you can try reinstalling without worrying about losing your achievements and decks. Those are stored in a separate directory from the application and are not touched when you uninstall.
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Forge crashes when I try to start a new game

Postby tobideck » 26 Apr 2015, 11:23

Okay, so here is the full error message

NullPointerException | Open
Code: Select all
Forge Version:    1.5.38-r-1
Operating System: Windows 8.1 6.3 amd64
Java Version:     1.8.0_31 Oracle Corporation

java.lang.NullPointerException
   at forge.screens.match.VMatchUI.populate(VMatchUI.java:135)
   at forge.screens.match.CMatchUI.updatePlayerControl(CMatchUI.java:626)
   at forge.screens.match.CMatchUI.initialize(CMatchUI.java:538)
   at forge.control.FControl.setCurrentScreen(FControl.java:308)
   at forge.control.FControl.setCurrentScreen(FControl.java:272)
   at forge.screens.match.CMatchUI.openView(CMatchUI.java:802)
   at forge.match.HostedMatch.startGame(HostedMatch.java:185)
   at forge.match.HostedMatch.startMatch(HostedMatch.java:118)
   at forge.match.HostedMatch.startMatch(HostedMatch.java:83)
   at forge.match.GameLobby.startGame(GameLobby.java:431)
   at forge.screens.home.VLobby$2.actionPerformed(VLobby.java:188)
   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$500(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)
Thanks for taking a look!
tobideck
 
Posts: 7
Joined: 25 Apr 2015, 09:17
Has thanked: 1 time
Been thanked: 0 time

Re: Forge crashes when I try to start a new game

Postby drdev » 26 Apr 2015, 14:31

Could you be more specific about what type of game you're trying to start?
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Forge crashes when I try to start a new game

Postby tobideck » 26 Apr 2015, 16:48

In the specific case that produced above message I tried to start a game of constructed Tiny Leaders with a self-constructed deck.

But an error message appears regardless of the type of game that I try to start. I tried to start a game of constructed, draft and duels using preconstructed as well as self-constructed decks and they all give me this kind of error message.
(I did not check if the error messages are 100% the same as I can't read/understand them properly, unfortunately)
tobideck
 
Posts: 7
Joined: 25 Apr 2015, 09:17
Has thanked: 1 time
Been thanked: 0 time

Re: Forge crashes when I try to start a new game

Postby tobideck » 29 Apr 2015, 14:18

I don't really know what gets stored where with Forge but I found the local and roaming appData folders containing my decks, achievements and the like.

After having found them I deleted the folder where my Forge.exe and jar executable were in (forge-gui-desktop-1.5.38).
Then I extracted Forge again from the downloaded zip file and started it again. While the program ran it unfortunately showed the same error again - not starting any games and giving the error message (nullpointerexception) that I have posted above. Any clue how to solve this?
tobideck
 
Posts: 7
Joined: 25 Apr 2015, 09:17
Has thanked: 1 time
Been thanked: 0 time

Re: Forge crashes when I try to start a new game

Postby elcnesh » 30 Apr 2015, 07:03

I suggest moving to a newer snapshot version from: http://www.krazyweb.net/forge/ (just take the latest)

Not sure what goes wrong here, but a LOT has changed since the code of the latest release, might just fix things :)
elcnesh
 
Posts: 290
Joined: 16 May 2014, 15:11
Location: Netherlands
Has thanked: 34 times
Been thanked: 92 times

Re: Forge crashes when I try to start a new game

Postby tobideck » 30 Apr 2015, 15:11

Thanks for the advice!

I downloaded the snapshot (forge-gui-desktop-1.5.39-SNAPSHOT-r29315.tar.bz2) and after unzipping the programm runs but yields the same error message when I try to start a game! :?

I just post the most recent one here, maybe there's a difference that i can't spot?

Description: [describe what you were doing when the crash occurred]

NullPointerException | Open
Code: Select all
Forge Version:    1.5.39-SNAPSHOT-r-1u
Operating System: Windows 8.1 6.3 amd64
Java Version:     1.8.0_31 Oracle Corporation

java.lang.NullPointerException
   at forge.screens.match.VMatchUI.populate(VMatchUI.java:119)
   at forge.screens.match.CMatchUI.updatePlayerControl(CMatchUI.java:604)
   at forge.screens.match.CMatchUI.initialize(CMatchUI.java:485)
   at forge.control.FControl.setCurrentScreen(FControl.java:310)
   at forge.control.FControl.setCurrentScreen(FControl.java:274)
   at forge.screens.match.CMatchUI.openView(CMatchUI.java:809)
   at forge.match.HostedMatch.startGame(HostedMatch.java:183)
   at forge.match.HostedMatch.startMatch(HostedMatch.java:116)
   at forge.quest.QuestUtil$2.run(QuestUtil.java:587)
   at forge.FThreads.invokeInEdtNowOrLater(FThreads.java:32)
   at forge.quest.QuestUtil.finishStartingGame(QuestUtil.java:584)
   at forge.quest.QuestUtil.startGame(QuestUtil.java:512)
   at forge.screens.home.quest.CSubmenuDuels$5.actionPerformed(CSubmenuDuels.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$500(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)
Can somebody "read" that error message to me, please?
tobideck
 
Posts: 7
Joined: 25 Apr 2015, 09:17
Has thanked: 1 time
Been thanked: 0 time

Re: Forge crashes when I try to start a new game

Postby friarsol » 30 Apr 2015, 15:15

Have you tried resetting your match layout? viewtopic.php?f=26&t=11720&p=131659#p131659
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Forge crashes when I try to start a new game

Postby tobideck » 30 Apr 2015, 16:17

Wow, okay, that solved it!
Thank you very much! :D
tobideck
 
Posts: 7
Joined: 25 Apr 2015, 09:17
Has thanked: 1 time
Been thanked: 0 time


Return to Forge

Who is online

Users browsing this forum: No registered users and 190 guests


Who is online

In total there are 190 users online :: 0 registered, 0 hidden and 190 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: No registered users and 190 guests

Login Form