It is currently 24 Aug 2025, 20:46
   
Text Size

Bug Report: Load Gauntlet crash Forge version 1.5.23-r26900

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

Bug Report: Load Gauntlet crash Forge version 1.5.23-r26900

Postby shinra » 04 Aug 2014, 13:29

Hi all !

I play with the latest version of Forge on a MAC (Mavericks OS). I use Java 7 and always is fine except launch a custom Gauntlet

I can play with Quick Gauntlet function, I can create a Gauntlet but cannot load it. Forge crashes every time.
I choose custom User decks in order to create the Gauntlet

Here is the error msg:

NullPointerException | Open
Code: Select all
Forge Version:    1.5.23-r26900
Operating System: Mac OS X 10.9.4 x86_64
Java Version:     1.7.0_65 Oracle Corporation

java.lang.NullPointerException
   at forge.game.player.RegisteredPlayer.restoreDeck(RegisteredPlayer.java:177)
   at forge.game.player.RegisteredPlayer.<init>(RegisteredPlayer.java:36)
   at forge.screens.home.gauntlet.CSubmenuGauntletLoad.startGame(CSubmenuGauntletLoad.java:108)
   at forge.screens.home.gauntlet.CSubmenuGauntletLoad.access$000(CSubmenuGauntletLoad.java:28)
   at forge.screens.home.gauntlet.CSubmenuGauntletLoad$1.actionPerformed(CSubmenuGauntletLoad.java:32)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
   at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
   at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
   at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
   at java.awt.Component.processMouseEvent(Component.java:6516)
   at javax.swing.JComponent.processMouseEvent(JComponent.java:3320)
   at java.awt.Component.processEvent(Component.java:6281)
   at java.awt.Container.processEvent(Container.java:2229)
   at java.awt.Component.dispatchEventImpl(Component.java:4872)
   at java.awt.Container.dispatchEventImpl(Container.java:2287)
   at java.awt.Component.dispatchEvent(Component.java:4698)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
   at java.awt.Container.dispatchEventImpl(Container.java:2273)
   at java.awt.Window.dispatchEventImpl(Window.java:2719)
   at java.awt.Component.dispatchEvent(Component.java:4698)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
   at java.awt.EventQueue.access$200(EventQueue.java:103)
   at java.awt.EventQueue$3.run(EventQueue.java:694)
   at java.awt.EventQueue$3.run(EventQueue.java:692)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
   at java.awt.EventQueue$4.run(EventQueue.java:708)
   at java.awt.EventQueue$4.run(EventQueue.java:706)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
That crash appear with the two older versions of Forge too (I discover this soft since a few months only)

Apologies for my English :(

Any idea?
User avatar
shinra
 
Posts: 25
Joined: 20 Dec 2010, 23:30
Location: France
Has thanked: 20 times
Been thanked: 2 times

Re: Bug Report: Load Gauntlet crash Forge version 1.5.23-r26

Postby drdev » 04 Aug 2014, 15:06

This is fixed already and should be available in the next snapshot build. Meanwhile you can simply delete forge.preferences (or clear out any random type decks from the constructed players lines) to get around the bug.
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Bug Report: Load Gauntlet crash Forge version 1.5.23-r26

Postby Chris H. » 04 Aug 2014, 16:36

User avatar
Chris H.
Forge Moderator
 
Posts: 6320
Joined: 04 Nov 2008, 12:11
Location: Mac OS X Yosemite
Has thanked: 644 times
Been thanked: 643 times

Re: Bug Report: Load Gauntlet crash Forge version 1.5.23-r26

Postby shinra » 07 Aug 2014, 18:26

Thanks drdev. I try to clear forge.preferences but the problem still remain

Thanks Chris for your release too. I try it but I have a crash with a different error message...

NullPointerException | Open
Code: Select all
Forge Version:    1.5.24-SNAPSHOT-r26925 (mixed revisions detected; please update from the root directory)
Operating System: Mac OS X 10.9.4 x86_64
Java Version:     1.7.0_65 Oracle Corporation

java.lang.NullPointerException
   at forge.game.player.RegisteredPlayer.restoreDeck(RegisteredPlayer.java:177)
   at forge.game.player.RegisteredPlayer.<init>(RegisteredPlayer.java:36)
   at forge.screens.home.gauntlet.CSubmenuGauntletLoad.startGame(CSubmenuGauntletLoad.java:108)
   at forge.screens.home.gauntlet.CSubmenuGauntletLoad.access$000(CSubmenuGauntletLoad.java:28)
   at forge.screens.home.gauntlet.CSubmenuGauntletLoad$1.actionPerformed(CSubmenuGauntletLoad.java:32)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
   at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
   at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
   at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
   at java.awt.Component.processMouseEvent(Component.java:6516)
   at javax.swing.JComponent.processMouseEvent(JComponent.java:3320)
   at java.awt.Component.processEvent(Component.java:6281)
   at java.awt.Container.processEvent(Container.java:2229)
   at java.awt.Component.dispatchEventImpl(Component.java:4872)
   at java.awt.Container.dispatchEventImpl(Container.java:2287)
   at java.awt.Component.dispatchEvent(Component.java:4698)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
   at java.awt.Container.dispatchEventImpl(Container.java:2273)
   at java.awt.Window.dispatchEventImpl(Window.java:2719)
   at java.awt.Component.dispatchEvent(Component.java:4698)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
   at java.awt.EventQueue.access$200(EventQueue.java:103)
   at java.awt.EventQueue$3.run(EventQueue.java:694)
   at java.awt.EventQueue$3.run(EventQueue.java:692)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
   at java.awt.EventQueue$4.run(EventQueue.java:708)
   at java.awt.EventQueue$4.run(EventQueue.java:706)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
I simply use the dmg and replace old Forge version with the new one, and reboot my Mac for safety. Where I'm doing wrong?
User avatar
shinra
 
Posts: 25
Joined: 20 Dec 2010, 23:30
Location: France
Has thanked: 20 times
Been thanked: 2 times

Re: Bug Report: Load Gauntlet crash Forge version 1.5.23-r26

Postby drdev » 07 Aug 2014, 18:45

Actually, I just saw this last night myself. I must not have fixed the issue for every case. I'll investigate tonight.
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Bug Report: Load Gauntlet crash Forge version 1.5.23-r26

Postby shinra » 07 Aug 2014, 18:48

What a quick answer !! Wow thank you drdev, I appreciate the support :)
User avatar
shinra
 
Posts: 25
Joined: 20 Dec 2010, 23:30
Location: France
Has thanked: 20 times
Been thanked: 2 times

Re: Bug Report: Load Gauntlet crash Forge version 1.5.23-r26

Postby drdev » 07 Aug 2014, 23:39

I just finished committing some enhancements and fixes for gauntlets that includes fixing the crash you're seeing. The problem is that we weren't saving the deck you picked for the gauntlet, and we didn't provide any way to select a deck for an existing gauntlet.

I've alleviated that by fixing it so the deck chosen for quick gauntlets is saved, showing your chosen deck (or "(none)") in a column of the gauntlet loader, and by making it so if you try to start a gauntlet from the Load Gauntlets screen that doesn't have a deck set, you'll be prompted to select one.

For more details about these changes, you can check out this post.

Once a new build is released, please update and let me know if that resolves the issues you were seeing.

Thanks for the feedback.
-Dan
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Bug Report: Load Gauntlet crash Forge version 1.5.23-r26

Postby Chris H. » 08 Aug 2014, 15:20

User avatar
Chris H.
Forge Moderator
 
Posts: 6320
Joined: 04 Nov 2008, 12:11
Location: Mac OS X Yosemite
Has thanked: 644 times
Been thanked: 643 times

Re: Bug Report: Load Gauntlet crash Forge version 1.5.23-r26

Postby shinra » 08 Aug 2014, 18:57

Hi drdev !

I've just try the latest snapshot gave by Chris and awesome! It works perfectly ! :)

I understand your explanation for the error and both of your work are really amazing

Thanks for all and see you soon, not only for bug spying but for all discussions around the Forge community
User avatar
shinra
 
Posts: 25
Joined: 20 Dec 2010, 23:30
Location: France
Has thanked: 20 times
Been thanked: 2 times


Return to Forge

Who is online

Users browsing this forum: No registered users and 36 guests

Main Menu

User Menu

Our Partners


Who is online

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

Login Form