It is currently 09 Sep 2025, 09:09
   
Text Size

New GUI error?

Post MTG Forge Related Programming Questions Here

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

New GUI error?

Postby Rob Cashwalker » 25 Oct 2010, 02:31

Has anything new added to the gui? I'm getting this when launching a match:

Code: Select all

An error has occured. You can copy/paste this message or save it to a file.
Please report this, plus what you tried to do, to:
   http://www.slightlymagic.net/forum/viewforum.php?f=26
If you don't want to register an account, you can mail it directly to
   mtgerror@yahoo.com


null


Version:
Forge -- official beta: $Date: 2010-09-14 08:34:27 -0400 (Tue, 14 Sep 2010) $, SVN revision: $Revision: 2039 $

OS: Windows XP Version: 5.1 Architecture: x86

Java Version: 1.6.0_07 Vendor: Sun Microsystems Inc.

Detailed error trace:
java.lang.NullPointerException
   at javax.swing.plaf.basic.BasicOptionPaneUI.addButtonComponents(Unknown Source)
   at javax.swing.plaf.basic.BasicOptionPaneUI.createButtonArea(Unknown Source)
   at javax.swing.plaf.basic.BasicOptionPaneUI.installComponents(Unknown Source)
   at javax.swing.plaf.basic.BasicOptionPaneUI.installUI(Unknown Source)
   at javax.swing.JComponent.setUI(Unknown Source)
   at javax.swing.JOptionPane.setUI(Unknown Source)
   at javax.swing.JOptionPane.updateUI(Unknown Source)
   at javax.swing.JOptionPane.<init>(Unknown Source)
   at javax.swing.JOptionPane.showOptionDialog(Unknown Source)
   at forge.GameAction.seeWhoPlaysFirst_CoinToss(GameAction.java:2707)
   at forge.GameAction.newGame(GameAction.java:2556)
   at forge.Gui_NewGame.startButton_actionPerformed(Gui_NewGame.java:587)
   at forge.Gui_NewGame$11.actionPerformed(Gui_NewGame.java:421)
   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.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)
The Force will be with you, Always.
User avatar
Rob Cashwalker
Programmer
 
Posts: 2167
Joined: 09 Sep 2008, 15:09
Location: New York
Has thanked: 5 times
Been thanked: 40 times

Re: New GUI error?

Postby slapshot5 » 25 Oct 2010, 02:51

nerzahd made some changes to localization in GameAction today (at GameAction:2707 in your error.)

Not sure if it's related. Are you fully synced to current source?

FWIW, I've been syncing and playing all day, and I have not seen that.
slapshot5
Programmer
 
Posts: 1391
Joined: 03 Jan 2010, 17:47
Location: Mac OS X
Has thanked: 25 times
Been thanked: 68 times

Re: New GUI error?

Postby jeffwadsworth » 25 Oct 2010, 03:27

The src from 10:30pm Central runs fine for me. Win7/64bit.
jeffwadsworth
Super Tester Elite
 
Posts: 1172
Joined: 20 Oct 2010, 04:47
Location: USA
Has thanked: 287 times
Been thanked: 70 times

Re: New GUI error?

Postby DennisBergkamp » 25 Oct 2010, 03:56

Yup, same for me... also Win7 64-bit.
User avatar
DennisBergkamp
AI Programmer
 
Posts: 2602
Joined: 09 Sep 2008, 15:46
Has thanked: 0 time
Been thanked: 0 time

Re: New GUI error?

Postby Rob Cashwalker » 25 Oct 2010, 04:08

fully synced source wise.. tried most of the usual suspects from the res folder. didn't try the localization stuff...

YAY now it's working.
Figures.. I had a few moments to actually PLAY the game instead of working on it, and I ran into this.
The Force will be with you, Always.
User avatar
Rob Cashwalker
Programmer
 
Posts: 2167
Joined: 09 Sep 2008, 15:09
Location: New York
Has thanked: 5 times
Been thanked: 40 times


Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 17 guests

Main Menu

User Menu

Our Partners


Who is online

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

Login Form