It is currently 28 Aug 2025, 10:09
   
Text Size

Problems with updating the SVN

Post MTG Forge Related Programming Questions Here

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

Re: Problems with updating the SVN

Postby Chris H. » 06 Jul 2011, 13:42

Sloth wrote:
Corwin72 wrote:r10421
after when I start forge I receive the error

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


forge.Card.addStaticAbilityString(Ljava/lang/String;)V


Version:
Forge -- official beta: $Date: 2011-07-02 00:20:39 -0400 (Sat, 02 Jul 2011) $, SVN revision: $Revision: 10300 $

OS: Windows XP Version: 5.1 Architecture: x86

Java Version: 1.6.0_22 Vendor: Sun Microsystems Inc.

Detailed error trace:
java.lang.NoSuchMethodError: forge.Card.addStaticAbilityString(Ljava/lang/String;)V
at forge.ReadCard.loadCard(Unknown Source)
at forge.ReadCard.run(Unknown Source)
at forge.card.cardFactory.CardFactory.readCards(Unknown Source)
at forge.card.cardFactory.CardFactory.<init>(Unknown Source)
at forge.AllZone.<clinit>(Unknown Source)
at forge.Gui_NewGame$2.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(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)


This happens about 1/3 through the progress bar.
This is a new function I added to the card class. Your version of card.java must be out of date.
`
Sloth, it looks like you meant to add a new class, StaticAbility?
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: Problems with updating the SVN

Postby Sloth » 06 Jul 2011, 14:56

Oopsy. I always forget the new classes.
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

Re: Problems with updating the SVN

Postby Chris H. » 06 Jul 2011, 15:25

Sloth wrote:Oopsy. I always forget the new classes.
`
No prob.
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

Previous

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 29 guests

Main Menu

User Menu

Our Partners


Who is online

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

Login Form