It is currently 14 Sep 2025, 20:05
   
Text Size

Skin Crash

Post MTG Forge Related Programming Questions Here

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

Skin Crash

Postby friarsol » 12 Nov 2011, 03:40

Looks like I'm getting a crash at the end of the match. Doublestrike, I think this is related to your skin changes:

Detailed error trace:
java.lang.NullPointerException
at forge.view.swing.WinLoseFrame.<init>(WinLoseFrame.java:91)
at forge.GameAction.checkStateEffects(GameAction.java:801)
at forge.GameAction.checkStateEffects(GameAction.java:759)
at forge.Phase.handleBeginPhase(Phase.java:363)
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Skin Crash

Postby slowe » 12 Nov 2011, 05:52

I got the same thing. Reverting the change in forge.view.swing.ApplicationView fixes it. The reference to the skin was never being set.
slowe
 
Posts: 127
Joined: 05 Jan 2010, 14:04
Has thanked: 6 times
Been thanked: 10 times

Re: Skin Crash

Postby Doublestrike » 13 Nov 2011, 10:24

Sorry about this, my fault, just got back to the computer after being away and found it waiting for me. :(

Thanks for the quick fix - I made an adjustment to it in r11977.
---
A joke is a very serious thing.
User avatar
Doublestrike
UI Programmer
 
Posts: 715
Joined: 08 Aug 2011, 09:07
Location: Bali
Has thanked: 183 times
Been thanked: 161 times


Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 49 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 49 users online :: 0 registered, 0 hidden and 49 guests (based on users active over the past 10 minutes)
Most users ever online was 7967 on 09 Sep 2025, 23:08

Users browsing this forum: No registered users and 49 guests

Login Form